/* Production Page Specific Styles */

.page-header {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.page-header .container {
    position: relative;
    z-index: 10;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
}

/* Ensure navigation is readable over light hero images */
header {
    background-color: rgba(249, 248, 246, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: #ffffff !important;
}

.page-header p {
    text-shadow: 1px 1px 8px rgba(0,0,0,0.5);
    font-size: 1.2rem;
    color: #ffffff !important;
}

.production-section {
    padding: 8rem 0 0 0;
    position: relative;
}

.production-section.bg-light {
    background-color: #f9f9f9;
}

.production-grid {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.production-grid.reverse-layout {
    grid-template-columns: 1fr 1fr 100px;
}

.vertical-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--dark);
    text-transform: uppercase;
    font-weight: 600;
}

.media-column {
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.large-vertical-img {
    width: 85%;
    padding-bottom: 120%; /* Vertical aspect ratio */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 1.5s ease;
}

.large-vertical-img:hover {
    transform: scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.small-square-img {
    width: 50%;
    padding-bottom: 50%; /* Square aspect ratio */
    background-size: cover;
    background-position: center;
    position: absolute;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 8px solid var(--white);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 1.5s ease;
}

.small-square-img:hover {
    transform: scale(1.04);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.offset-right {
    right: -5%;
    bottom: 15%;
}

.offset-left {
    left: -10%;
    top: 15%;
    z-index: 2;
}

.production-grid.reverse-layout .large-vertical-img {
    margin-left: auto;
}

.text-column {
    padding: 2rem;
}

.text-column.text-right {
    text-align: right;
}

.production-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Cinematic Parallax Dividers */
.parallax-divider {
    width: 100%;
    height: 60vh;
    min-height: 450px;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    transform: translateZ(0);
    will-change: transform;
}

@media (max-width: 768px) {
    .parallax-divider {
        background-attachment: scroll; /* Fix for iOS Safari parallax bugs */
        height: 30vh;
        min-height: 250px;
    }
}

.cinematic-video-container .hero-video {
    position: absolute; /* absolute position for full coverage */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .production-grid,
    .production-grid.reverse-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vertical-title-container {
        justify-content: flex-start;
        height: auto;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: none;
        margin-bottom: 1rem;
    }

    .offset-left,
    .offset-right {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        margin-top: -10%;
        border-width: 4px;
    }

    .large-vertical-img {
        width: 100%;
    }

    .text-column,
    .text-column.text-right {
        text-align: left;
        padding: 0;
    }

    .sites-info,
    .sites-info.align-right {
        border-left: 2px solid var(--primary);
        border-right: none;
        padding-left: 1rem;
        padding-right: 0;
    }
}
