/* ============================================
   MAGNETATE - Project Page Styles
   ============================================ */

/* Header Override for Project Pages */
.header {
    background-color: var(--black) !important;
}

/* Project Hero */
.project-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

.project-hero-content {
    text-align: center;
    z-index: 10;
}

.project-title {
    font-family: var(--font-sans);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
}

.project-subtitle {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    opacity: 0.9;
}

/* Project Sections */
.project-section {
    padding: 6rem 2rem;
    background-color: var(--black);
}

.project-section.dark-section {
    background-color: var(--dark-gray);
}

.project-container {
    max-width: 1400px;
    margin: 0 auto;
}

.project-container.center {
    text-align: center;
}

/* Split Content Layout */
.project-content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-content-split.reverse {
    direction: rtl;
}

.project-content-split.reverse > * {
    direction: ltr;
}

/* Project Text */
.project-text h2 {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.2;
}

.project-text p {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--white);
    opacity: 0.9;
}

/* Project Images */
.project-image {
    width: 100%;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.image-placeholder span {
    font-family: var(--font-sans);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Full Width Image Section */
.project-full-image {
    width: 100%;
    padding: 0;
    margin: 0;
}

.project-full-image .image-placeholder {
    border-radius: 0;
    aspect-ratio: auto;
}

/* Back to Work Link */
.back-to-work {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: #999;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 2px solid #999;
    transition: all 0.3s ease;
    margin: 2rem 0;
}

.back-to-work:hover {
    background-color: #999;
    color: var(--white);
    transform: translateX(-5px);
}

/* Footer Override for Project Pages */
.footer {
    border-top-color: #999 !important;
}

.footer-tagline {
    color: #999 !important;
}

/* Responsive Design */
@media (max-width: 900px) {
    .project-title {
        font-size: 3rem;
    }

    .project-subtitle {
        font-size: 1.25rem;
    }

    .project-content-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-content-split.reverse {
        direction: ltr;
    }

    .project-text h2 {
        font-size: 2rem;
    }

    .project-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .project-text h2 {
        font-size: 1.5rem;
    }

    .project-text p {
        font-size: 1rem;
    }

    .project-section {
        padding: 3rem 1rem;
    }
}
