/* ==========================================================================
   BILGIN 263 LEONA - SCROLL-TRIGGERED WEBP SEQUENCE & CINEMATIC SECTION
   ========================================================================== */

#scroll-sequence-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #02070d;
    overflow: hidden;
    z-index: 10;
}

#scroll-sequence-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* Canvas Preloader Overlay */
#seq-preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #02070d;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(196, 177, 140, 0.2);
    border-top-color: #c4b18c;
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #dfd7c5;
}

/* Atmospheric Gradients */
#scroll-sequence-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(180deg, rgba(2, 7, 13, 0.95) 0%, rgba(2, 7, 13, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

#scroll-sequence-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, #02070d 0%, rgba(2, 7, 13, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating Overlay Story Cards */
.sequence-overlays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sequence-overlay-text {
    position: absolute;
    max-width: 900px;
    padding: 40px;
    text-align: center;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    background: radial-gradient(circle at center, rgba(2, 7, 13, 0.65) 0%, rgba(2, 7, 13, 0) 80%);
    border-radius: 20px;
}

.sequence-overlay-text.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sequence-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.seq-gold-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c4b18c;
    background: rgba(196, 177, 140, 0.12);
    border: 1px solid rgba(196, 177, 140, 0.4);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.seq-red-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ff5252;
    background: rgba(178, 34, 34, 0.2);
    border: 1px solid rgba(178, 34, 34, 0.5);
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sequence-overlay-text h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.sequence-overlay-text h2 {
    font-family: 'GT Super Ds Trial Rg', 'GT Super Ds Trial Lt', 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.8);
}

.sequence-overlay-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(240, 244, 248, 0.95);
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Sequence Progress Indicator Dots */
.sequence-progress-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 6;
    padding: 8px 16px;
    background: rgba(2, 7, 13, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sequence-progress-dot {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.sequence-progress-dot.active {
    background: #c4b18c;
    box-shadow: 0 0 10px rgba(196, 177, 140, 0.8);
    width: 50px;
}

/* Scroll Hint */
.sequence-scroll-hint {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.sequence-scroll-hint i {
    font-size: 12px;
    animation: seqBounce 2s infinite ease-in-out;
}

@keyframes seqBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------------------------------------------------- */
/* RELOCATED CINEMATIC FILM SECTION (BOTTOM OF PAGE)   */
/* ---------------------------------------------------- */
.leona-cinematic-showcase {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    background: #02070d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(196, 177, 140, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leona-cinematic-showcase video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.75) contrast(1.08);
}

.leona-cinematic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(2, 7, 13, 0.4) 0%, rgba(2, 7, 13, 0.85) 100%);
    z-index: 2;
}

.leona-cinematic-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 850px;
    padding: 80px 24px;
}

.leona-cinematic-content .cinematic-badge {
    display: inline-block;
    padding: 7px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c4b18c;
    background: rgba(196, 177, 140, 0.15);
    border: 1px solid rgba(196, 177, 140, 0.4);
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.leona-cinematic-content h2 {
    font-family: 'GT Super Ds Trial Rg', 'Cormorant Garamond', serif;
    font-size: 46px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.leona-cinematic-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sequence-overlay-text h2 {
        font-size: 38px;
    }
    .sequence-overlay-text p {
        font-size: 14px;
    }
    .leona-cinematic-content h2 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .sequence-overlay-text h2 {
        font-size: 28px;
    }
    .sequence-overlay-text h6 {
        font-size: 11px;
        letter-spacing: 3px;
    }
    .sequence-overlay-text p {
        font-size: 13px;
    }
    .leona-cinematic-content h2 {
        font-size: 26px;
    }
}
