/* =========================================
   1. GLOBAL RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%; 
    background-color: #193819; 
    color: #E5D3B3; 
    font-family: 'League Spartan', sans-serif;
    
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   2. THE SLIDE STRUCTURE
   ========================================= */
.slide {
    width: 100vw;
    height: 100vh; 
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center center; 
    background-repeat: no-repeat;
    overflow: hidden;
}

.slide-content {
    z-index: 2;
    padding: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.slide-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-text {
    font-size: 2rem;
    font-weight: 300; 
    line-height: 1.4;
    letter-spacing: 0.05em;
    max-width: 900px;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.95), 0px 0px 4px rgba(0, 0, 0, 0.85);
}
.small-text { 
    font-size: 1.2rem; 
}

.gallery-footnote {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.8;
    z-index: 3;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.95), 0px 0px 4px rgba(0, 0, 0, 0.85);
}

/* =========================================
   3. UNIVERSAL LUXURY GREEN FILTERS 
   ========================================= */
#slide-hero { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/hero.jpg'); }
#slide-welcome { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/welcome.jpg'); }
#slide-amuse { background-image: linear-gradient(rgba(25, 56, 25, 0.3), rgba(25, 56, 25, 0.6)), url('images/amuse.jpg'); } 
#slide-duck { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/duck.jpg'); }
#slide-wine-duck { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/wine-duck.jpg'); }
#slide-outro { background-color: #193819; }

/* =========================================
   4. VIDEO SECTION 
   ========================================= */
.video-slide {
    position: relative;
    background-color: #193819; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.video-bg-cover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    z-index: 1;
}
.text-on-video { z-index: 4; }

.video-bg-blur {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    filter: blur(35px); 
    opacity: 0.7;
    z-index: 1;
}
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(25, 56, 25, 0.5); 
    z-index: 2;
    pointer-events: none;
}
.video-fg-framed {
    position: relative;
    width: 85%; 
    height: 75%; 
    object-fit: contain; 
    z-index: 3;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.8));
}

/* =========================================
   5. HORIZONTAL SPLITS & DIVIDERS
   ========================================= */
.split-horizontal {
    flex-direction: column;
    position: relative;
}
.split-horizontal::after {
    content: '';
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 2px;
    background-color: rgba(229, 211, 179, 0.6); 
    z-index: 10;
    transform: translateY(-50%);
}
.split-half-h {
    width: 100%;
    height: 50%;
    position: relative;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#split-starter-food { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/starter.jpg'); }
#split-starter-wine { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/wine-starter.jpg'); }
#split-fish-food { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/fish.jpg'); }
#split-fish-wine { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/wine-fish.jpg'); }
#split-prep-score { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/prep-score.jpg'); }
#split-prep-pan { background-image: linear-gradient(rgba(25, 56, 25, 0.4), rgba(25, 56, 25, 0.7)), url('images/prep-pan.jpg'); }

/* =========================================
   6. SPLIT SCREENS (Left & Right - FOR PEOPLE ONLY)
   ========================================= */
.split-vertical {
    flex-direction: row; 
    position: relative;
}
.split-vertical::after {
    content: '';
    position: absolute;
    top: 0; left: 50%; width: 2px; height: 100%;
    background-color: rgba(229, 211, 179, 0.6);
    z-index: 10;
    transform: translateX(-50%);
}
.split-half-v {
    width: 50%;
    height: 100%;
    position: relative;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    padding-bottom: 40px;
}

#host-lars { 
    background-position: center center;
    background-image: linear-gradient(to top, rgba(25, 56, 25, 0.95) 0%, rgba(25, 56, 25, 0.2) 40%), url('images/lars.jpg'); 
}

/* JODY'S PORTRAIT FIX (The "Joystick") */
#host-jody { 
    /* 
       THE FIRST NUMBER (80%) controls Left/Right. 
       (0% = far left, 100% = far right). 
       
       THE SECOND NUMBER (15%) controls Top/Bottom. 
       (0% = top of the photo, 100% = bottom of the photo).
       
       Play with these two numbers until you see his face and the plate perfectly!
    */
    background-position: 80% 15%; 
    background-image: linear-gradient(to top, rgba(25, 56, 25, 0.95) 0%, rgba(25, 56, 25, 0.2) 40%), url('images/jody.jpg'); 
}

.host-title { 
    font-size: 1.2rem; 
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.95), 0px 0px 4px rgba(0, 0, 0, 0.85);
}

/* =========================================
   7. CUSTOM LOGO
   ========================================= */
.custom-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
}
.logo-stagger { display: grid; grid-template-columns: max-content max-content; }
.logo-top { grid-column: 1 / 2; grid-row: 1 / 2; font-size: 5rem; font-weight: 700; line-height: 0.85; }
.logo-bottom { grid-column: 2 / 3; grid-row: 2 / 3; font-size: 5rem; font-weight: 700; line-height: 0.85; }
.logo-line { width: 100%; height: 2px; background-color: #E5D3B3; margin: 1.5rem 0 1rem 0; }
.logo-sub { font-size: 1rem; font-weight: 300; letter-spacing: 0.5em; text-transform: uppercase; }

.outro-logo { transform: scale(0.6); opacity: 0.8; }

/* =========================================
   NEW: SCROLL INDICATOR ANIMATIONS
   ========================================= */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Starts completely invisible */
    animation: fadeIn 1.5s ease 1.5s forwards; /* Waits 1.5s, then fades in! */
    z-index: 5;
}

.scroll-indicator-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 2.5s ease-in-out infinite; /* A soft, elegant bounce */
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.95);
}

.scroll-line {
    width: 1px;
    height: 35px;
    background-color: #E5D3B3;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* =========================================
   8. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .slide-text { font-size: 1.5rem; padding: 0 15px; }
    .small-text { font-size: 1.1rem; }
    .logo-top, .logo-bottom { font-size: 4rem; }
    .logo-sub { font-size: 0.8rem; }
    .host-title { font-size: 1rem; }
}