:root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #d4af37;
    /* Antique Gold */
    --secondary-color: #8a3324;
    /* Deep Red */
    --font-heading: 'Cinzel Decorative', cursive;
    --font-subheading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100vw;
}

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor REMOVED */

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-text span {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    opacity: 0;
    transform: translateY(20px);
    text-transform: uppercase;
    font-weight: 700;
}

.loader-progress {
    width: 0;
    height: 2px;
    background: var(--accent-color);
    margin-top: 20px;
}

/* Top Bar Layout */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
}

.menu-toggle {
    font-family: var(--font-subheading);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

/* Adjust Main Layout */
.scroll-container {
    padding-top: 80px;
    /* Push content down */
    padding-right: 0;
    /* Reset sidebar padding */
}

/* Typography Utilities */
h1,
h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.9;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    /* Adjust height for top bar */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    width: 60%;
    height: 80%;
    opacity: 0.6;
    filter: sepia(0.5) contrast(1.2);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    position: relative;
    z-index: 2;
    font-size: 8vw;
    color: var(--text-color);
    mix-blend-mode: overlay;
    text-align: center;
}

.hero-title .line {
    display: block;
}

.line-3 {
    font-size: 2vw;
    font-family: var(--font-subheading);
    letter-spacing: 5px;
    margin-top: 1rem;
    color: var(--accent-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background: var(--text-color);
}

/* Manifesto Section */
.manifesto {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10vh 10vw;
    position: relative;
}

.outline-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    z-index: 0;
    white-space: nowrap;
}

.manifesto-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    font-family: var(--font-subheading);
    font-size: 2rem;
    line-height: 1.4;
    text-align: justify;
}

.drop-cap {
    float: left;
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0.8;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.floating-img {
    position: absolute;
    right: 10%;
    bottom: 10%;
    width: 25vw;
    z-index: 2;
    filter: brightness(0.8);
    transform: rotate(5deg);
}

/* Horizontal Menu Section */
.menu-horizontal {
    height: 100vh;
    overflow: hidden;
    /* Important for ScrollTrigger pin */
    background: #111;
    display: flex;
    align-items: center;
    position: relative;
}

/* Scrollbar hidden on desktop, shown on mobile */
.menu-scrollbar-container {
    position: absolute;
    bottom: 5vh;
    left: 10vw;
    width: 60vw;
    z-index: 100;
    display: none;
    /* Hidden by default (Desktop) */
    flex-direction: column;
    gap: 10px;
}



.menu-scrollbar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: height 0.3s;
}

.menu-scrollbar-track:hover {
    height: 8px;
}

/* Menu Section - Split Window Layout */
/* Menu Section - Split Window Layout */
#menu-section {
    background-color: var(--secondary-color);
    background: radial-gradient(circle at center, #2e2e2e 0%, #151515 100%);
    /* Professional subtle gradient */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    /* Allow expanding if needed */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 10vh;
    padding-bottom: 10vh;
    gap: 15vh;
    /* Significant gap for separation */
}

.menu-intro {
    position: absolute;
    top: 5vh;
    left: 10vw;
    z-index: 10;
    pointer-events: none;
}

/* Individual Scrolling Window */
.menu-window {
    width: 100%;
    min-height: 40vh;
    height: auto;
    padding: 3rem 0;
    /* Prevent cutting off heights */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle separator */
    z-index: 20;
}

.menu-track {
    display: flex;
    padding-left: 10vw;
    gap: 4vw;
    width: max-content;
    touch-action: pan-y;
    will-change: transform;
}

/* Hide old scrollbar elements */
.menu-scrollbar-container,
.menu-scrollbar-track,
.menu-scrollbar-thumb {
    display: none !important;
}

.scroll-label {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.menu-card {
    flex: 0 0 22vw;
    min-width: 300px;
    height: auto;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.title-card {
    border: none;
    flex: 0 0 18vw;
    justify-content: center;
}

.title-card h2 {
    font-size: 4vw;
    color: var(--accent-color);
}

.title-card .smaller {
    font-size: 1.5vw;
    font-family: var(--font-subheading);
    color: var(--text-color);
    font-style: italic;
    text-transform: none;
}

.dish-card .card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    /* Slightly softer corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
        0 10px 15px rgba(0, 0, 0, 0.3);
    /* Professional diffused shadow */
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dish-card:hover .card-image {
    transform: perspective(1000px) rotateY(0deg) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
        0 15px 25px rgba(0, 0, 0, 0.4);
}

.dish-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.1);
    transition: filter 0.5s;
}

.dish-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0) contrast(1);
}

.card-content {
    opacity: 0.9;
    /* Higher opacity for readability */
    transition: opacity 0.3s;
}

.dish-card:hover .card-content {
    opacity: 1;
}

.card-content h3 {
    font-size: 1.6rem;
    /* Slightly smaller */
    margin-bottom: 0.6rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.card-content p {
    font-size: 1.1rem;
    /* Slightly smaller */
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    /* Brighter text */
}

.price {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.3rem;
    /* Slightly smaller */
    font-family: var(--font-heading);
    color: var(--accent-color);
}

/* Mobile Hint */
.mobile-only {
    display: none;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 20;
}

@media (max-width: 768px) {
    .menu-card {
        flex: 0 0 85vw;
        /* Wider cards on mobile */
        height: auto;
        /* Improved height for content visibility */
        margin-right: 15px;
        /* Add explicit margin for spacing */
    }

    .mobile-only {
        display: block;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 20vw !important;
        /* Slightly smaller for balance */
    }

    .manifesto {
        padding: 10vh 2rem;
    }

    .manifesto-text {
        font-size: 1.2rem;
        text-align: left;
    }

    .drop-cap {
        font-size: 4rem;
        margin-top: 5px;
    }

    .floating-img {
        width: 50vw;
        opacity: 0.4;
    }

    .menu-scrollbar-container {
        width: 80vw;
        left: 10vw;
        bottom: 15vh;
        background: rgba(255, 255, 255, 0.1);
        /* Subtle background */
        padding: 8px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        /* Modern touch */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .email-link {
        font-size: 8vw;
    }

    /* Reservation Title Mobile Override */
    .reservation-content h2 {
        font-size: 12vw !important;
        /* Match impact of other titles */
    }

    /* Menu Section Titles Mobile Override */
    /* Menu Section Titles Mobile Override */
    .title-card {
        flex: 0 0 auto !important;
        /* Restore auto width */
        height: auto;
        min-height: 50vh;
        /* Match other cards */
        aspect-ratio: auto;
        /* Remove square constraint */
        width: auto !important;
        justify-content: center;
        align-items: center;
        align-self: auto;
        margin-right: 15px;
    }

    .title-card h2 {
        font-size: 10vw !important;
        /* Significantly reduced font size as requested */
        line-height: 1.2;
        word-break: normal;
    }

    .title-card .smaller {
        font-size: 4vw !important;
        display: block;
        margin-top: 1rem;
    }
}

/* Reservation Section */
.reservation {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary-color);
}

.reservation-content h2 {
    font-size: 6vw;
    margin-bottom: 2rem;
}

.email-link {
    font-family: var(--font-subheading);
    font-size: 2vw;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 10px;
    color: var(--text-color);
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--bg-color);
}

.footer-info {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Animations (Helper classes) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}