* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #f5f0e6;
    overflow-x: hidden;
}

#video-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 0;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.top-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 110;
    background: rgba(245, 240, 230, 0.15);
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #f5f0e6 0%, #d4c29b 50%, #a66d38 100%);
    box-shadow: 0 0 20px rgba(245, 240, 230, 0.35);
    transition: width 0.08s linear;
}

#nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    mix-blend-mode: difference;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    color: #f5f0e6;
    margin-left: 2rem;
    white-space: nowrap;
}

#scroll-container {
    position: relative;
    z-index: 2;
    height: 500vh; /* 5 viewports – gives enough scroll room */
}

.content-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.9);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-layer.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* HERO */
.hero {
    justify-content: space-between;
    padding: 0 10%;
}

.hero-left {
    max-width: 50%;
    text-align: left;
    transform: translateX(-80px) rotate(-3deg);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.1s;
}

.hero-right {
    max-width: 40%;
    text-align: right;
    transform: translateX(80px) rotate(3deg);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.25s;
}

.hero.active .hero-left,
.hero.active .hero-right {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.6;
    text-transform: uppercase;
    opacity: 0.9;
}

/* TECH */
.tech {
    justify-content: space-between;
    padding: 0 10%;
}

.tech-left {
    max-width: 40%;
    text-align: left;
    transform: translateY(60px) scale(0.85);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.15s;
}

.tech-right {
    max-width: 40%;
    text-align: right;
    position: relative;
    height: 100vh;
}

.tech.active .tech-left {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.tech h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1rem;
}

.tech p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #d0c9b8;
    line-height: 1.7;
}

.label {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: #f5f0e6;
    opacity: 0;
    transform: translateY(20px) scale(0.7);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.tech.active .label {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tech.active .label:nth-of-type(1) { transition-delay: 0.1s; }
.tech.active .label:nth-of-type(2) { transition-delay: 0.2s; }
.tech.active .label:nth-of-type(3) { transition-delay: 0.3s; }
.tech.active .label:nth-of-type(4) { transition-delay: 0.4s; }

/* RESERVATION */
.reserve {
    justify-content: center;
    text-align: center;
}

.reserve h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 1rem;
    transform: translateY(40px) scale(0.9);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.1s;
}

.reserve p {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #d0c9b8;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.25s;
}

.reserve.active h2,
.reserve.active p {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.btn-reserve {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    color: #0a0a0a;
    background: #f5f0e6;
    border: 2px solid #f5f0e6;
    border-radius: 50px;
    transform: translateY(40px) scale(0.8);
    opacity: 0;
    transition: color 0.3s, background 0.3s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transition-delay: 0.4s;
}

.reserve.active .btn-reserve {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.btn-reserve:hover {
    background: transparent;
    color: #f5f0e6;
    transform: scale(1.05);
}

.footer {
    position: relative;
    z-index: 3;
    background: #0a0a0a;
    padding: 2rem;
    text-align: center;
    margin-top: 100vh;
}

.footer p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    #nav {
        padding: 1rem 1.25rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-links a {
        font-size: 0.75rem;
        margin-left: 1rem;
        letter-spacing: 1px;
    }

    .hero, .tech {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 5rem 1.25rem 2rem;
        overflow: hidden;
    }

    .hero-left, .hero-right, .tech-left, .tech-right {
        max-width: 100%;
        margin: 0.75rem 0;
        transform: none !important;
    }

    .hero.active .hero-left,
    .hero.active .hero-right,
    .tech.active .tech-left {
        transform: none !important;
    }

    .tech-right {
        height: 45vh;
        width: 100%;
    }

    .label {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero h1, .tech h2, .reserve h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .tech p, .reserve p {
        font-size: 1rem;
    }

    .btn-reserve {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    .footer-inner p {
        font-size: 0.8rem;
    }
}

@media (max-width: 420px) {
    .hero h1, .tech h2, .reserve h2 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
    }

    .label {
        font-size: 0.85rem;
    }
}