/* Title Section - Specific overrides */
.productions-title {
    text-transform: uppercase;
}

/* Video Section */
.productions-video {
    margin-bottom: 100px;
}

.video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

/* Sections */

.section-content {
    display: flex;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.productions-container .section-text-inner {
    max-width: 600px;
}

.productions-container .section-image img {
    width: 500px;
}

/*
.section-left .section-image {
    margin-right: -60px;
}

.section-right .section-image {
    margin-left: -60px;
}
*/

/* Gallery Section */
.productions-gallery {
    width: 100vw;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 100px;
    background-color: var(--bg);
    aspect-ratio: 16 / 9;
}

.gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Thumbnails */
.gallery-thumbnails {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
    z-index: 10;
}

.gallery-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-left: -15px;
    opacity: 0.7;
    box-sizing: border-box;
}

.gallery-thumb:first-child {
    margin-left: 0;
}

.gallery-thumb.active {
    border: 1px solid var(--white);
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
    position: relative;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .productions-container .section-image img {
        width: 300px;
    }

    .gallery-thumbnails {
        bottom: 30px;
    }

    .gallery-thumb {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 800px) {
    .section-content {
        flex-direction: column;
        gap: 20px;
    }

    .section-right .section-content {
        flex-direction: column-reverse;
    }

    .section-content .section-image img {
        margin: auto;
    }
}

@media (max-width: 720px) {
    .productions-gallery {
        margin-top: 20px;
        margin-bottom: 20px;
        overflow: visible;
        display: flex;
        flex-direction: column;
        max-height: none;
        gap: 20px;
    }

    .gallery-main {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .gallery-thumbnails {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        justify-content: center;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 15px;
    }

    .gallery-thumb {
        width: 40px;
        height: 40px;
        margin-left: 0;
        flex-shrink: 0;
    }

    .gallery-thumb.active {
        transform: scale(1.2);
    }

    .gallery-thumb:hover {
        transform: scale(1.1);
    }
}