/* --- LAYOUT CONTAINER (DESKTOP DEFAULT) --- */
.cinematic-slider-wrapper {
    position: relative;
    width: 100%;
    /* DESKTOP: Banner Style (85% height, minimum 600px) */
    height: 85vh; 
    min-height: 600px; 
    background-color: #000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    display: flex;
    cursor: none; 
}

/* --- 1. LEFT SIDEBAR --- */
.slider-sidebar {
    width: 100px;
    height: 100%;
    background: #fff;
    color: #000;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
}
.sidebar-inner, .sidebar-tagline-area { width: 100%; height: 100%; position: relative; }

.vertical-tagline {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform-origin: 0 0;
    transform: rotate(-90deg) translate(0, -50%);
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.vertical-tagline.active { opacity: 1; }

/* --- 2. IMAGE SLIDER --- */
.image-swiper {
    position: absolute; top: 0; left: 100px;
    width: calc(100% - 100px); height: 100%; z-index: 1;
}
.slide-image-inner {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.5s ease-out;
}
.slide-overlay { position: absolute; inset: 0; }
@keyframes cinematicZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.cinematic-slider-wrapper.has-zoom .swiper-slide-active .slide-image-inner {
    animation: cinematicZoom 10s linear forwards;
}

/* --- 3. CONTENT SLIDER --- */
.content-swiper {
    position: absolute; top: 0; left: 100px;
    width: calc(100% - 100px); height: 100%; z-index: 10; pointer-events: none;
}
.swiper-slide { overflow: hidden; }

.slide-content-container {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    width: 75%;
    max-width: 1000px;
    color: #fff;
    pointer-events: auto;
}

/* --- DECO & TEXT LAYOUT --- */
/* --- DECO & TEXT LAYOUT --- */
.slide-main-block {
    display: flex;
    /* FIX: Center vertically so text floats in middle of shape */
    align-items: center; 
    gap: 25px;
}

.deco-container {
    flex-shrink: 0;
    width: 90px;
    display: flex;
    /* Center the SVG inside its own container too */
    align-items: center; 
    /* Remove padding-top so it centers perfectly */
    padding-top: 0; 
}

.slide-deco-shape {
    display: block;
    width: 100%;
    height: auto; 
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}
.swiper-slide-active .slide-deco-shape { opacity: 1; transform: translateY(0); }

.text-block {
    display: flex;
    flex-direction: column;
    /* Ensures internal content centers if block gets forced height */
    justify-content: center; 
    flex-grow: 1;
}

.slide-location {
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    opacity: 0.8; 
    margin-bottom: 15px; 
    display: block;
    font-weight: 600;
}


/* --- TYPOGRAPHY COLORS FIX --- */

/* Location */
.slide-location {
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    opacity: 0.8; 
    margin-bottom: 15px; 
    display: block;
    font-weight: 600;
    /* FIX: Force inheritance */
    color: inherit; 
}

.slide-title {
    font-size: 4.5rem; 
    line-height: 1; 
    font-weight: 700;
    margin: 0 0 20px 0;
    opacity: 0; 
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
    /* FIX: Force inheritance so it uses the ACF color */
    color: inherit; 
}

.slide-subtitle {
    font-size: 1.2rem; 
    line-height: 1.5; 
    margin-bottom: 30px;
    opacity: 0; 
    transform: translateY(30px);
    transition: all 0.6s ease 0.4s;
    max-width: 90%;
    /* FIX: Force inheritance */
    color: inherit; 
}

/* Button Wrapper */
.btn-wrapper {
    opacity: 0; 
    transform: translateY(20px);
    transition: all 0.3s ease 0.5s;
}

/* Slide Active State Animations */
.swiper-slide-active .slide-title, 
.swiper-slide-active .slide-subtitle, 
.swiper-slide-active .btn-wrapper {
    opacity: 1; 
    transform: translateY(0);
}

/* Button Styling */
.slide-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid currentColor; /* Use the text color for the border */
    border-radius: 50px;
    color: inherit; /* Use text color */
    text-decoration: none; 
    text-transform: uppercase;
    font-size: 14px; 
    letter-spacing: 1px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.slide-btn:hover { 
    background: #fff; 
    color: #000; 
    border-color: #fff;
}
/* --- CONTROLS BAR (DESKTOP) --- */
.slider-controls-bar {
    position: absolute; 
    bottom: 50px; 
    left: calc(100px + 6%); 
    right: 50px;
    display: flex; 
    justify-content: flex-start; 
    align-items: center;
    gap: 40px;
    z-index: 50; 
    pointer-events: none;
}

.slide-counter-display {
    font-size: 24px; font-weight: 700; color: #fff; font-family: monospace;
    pointer-events: auto; display: flex; align-items: baseline;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1;
}
.slide-counter-display span { margin: 0 2px; }
.slide-counter-display .curr { font-size: 36px; }

.slider-dots { display: flex; pointer-events: auto; gap: 12px; display: none;}
.slider-dots .swiper-pagination-bullet {
    width: 12px; height: 12px; margin: 0 !important;
    background: transparent; border: 2px solid rgba(255,255,255,0.5);
    opacity: 1; cursor: pointer; transition: all 0.3s; border-radius: 50%;
}
.slider-dots .swiper-pagination-bullet-active {
    background: #f29220; border-color: #f29220; transform: scale(1.2);
}

/* --- CURSOR --- */
.slider-cursor {
    position: fixed; top: 0; left: 0; pointer-events: none;
    width: 80px; height: 80px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05); backdrop-filter: blur(2px);
    border-radius: 50%; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; text-transform: uppercase;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, width 0.3s ease, height 0.3s ease;
}
.cursor-text { display: none; }
.slider-cursor.is-left .prev { display: block; }
.slider-cursor.is-right .next { display: block; }
.slider-cursor.is-hidden { opacity: 0 !important; width: 20px; height: 20px; }


/* --- MOBILE SPECIFIC STYLES --- */
@media (max-width: 768px) {
    /* 1. Main Wrapper: STRICT MOBILE VIEWPORT (100dvh) */
    .cinematic-slider-wrapper { 
        cursor: default; 
        height: 100vh;
        height: 80dvh; /* Confine strictly to mobile screen */
        min-height: 0;  /* Remove minimum height constraint */
        display: block; 
        position: relative;
    }

    /* 2. Sidebar: Bottom Strip */
    .slider-sidebar { 
        display: block; 
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        z-index: 60;        
        padding: 0 20px;
    }
    .sidebar-inner, .sidebar-tagline-area { width: 100%; height: 100%; }

    /* Tagline: Horizontal */
    .vertical-tagline {
        transform: none;
        left: 20px; top: 50%; bottom: auto;
        transform: translateY(-50%);
        font-size: 12px; letter-spacing: 1px;
    }

    /* 3. Sliders: Fit exactly above sidebar */
    .image-swiper, .content-swiper { 
        left: 0; 
        width: 100%; 
        height: calc(100% - 60px); 
        top: 0;
    }
    
    /* 4. Content Layout */
    .slide-content-container { 
        left: 5%; 
        width: 90%; 
        text-align: center; 
        top: 45%; 
    }

    .slide-main-block { 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }

    .text-block { align-items: center; text-align: center; }

    .deco-container {
        flex-shrink: 0;
        width: 90px;
        display: flex;
        align-items: flex-start;
        padding-top: 5px;
        padding-left: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    .slide-title { font-size: 2.5rem; margin-bottom: 15px; }
    .slide-subtitle { font-size: 1rem; margin-bottom: 25px; }
    
    /* 5. Controls: Stacked & Centered */
    .slider-controls-bar { 
        position: absolute;
        left: 0; 
        right: 0; 
        width: 100%; 
        bottom: 80px; 
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
        gap: 15px;
        z-index: 50;
    }
    
    .slide-counter-display { justify-content: center; }
    
    .slider-cursor { display: none !important; }
}