/* === MENU LAYOUT: SIDE-BY-SIDE WITH LIGHTBOX === */
.menu-interface {
    display: block;
    width: 100%;
    min-height: 100vh;
    padding-top: 5rem;
    /* Space for Navbar */
    background: var(--bg-dark);
}

/* 1. STICKY SUB-NAV (Keep this, it's good) */
.menu-sub-nav {
    position: sticky;
    top: 80px;
    /* Below main header */
    z-index: 50;
    background: rgba(10, 10, 10, 0.95);
    /* Glass dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 0;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.sub-nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: all 0.3s;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--text-accent);
}

/* 2. SECTION LAYOUT */
.menu-content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.menu-category-section {
    margin-bottom: 8rem;
    scroll-margin-top: 180px;
}

/* Header is just text now */
.section-text-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-text-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.section-text-header p {
    color: var(--text-accent);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* 3. SIDE-BY-SIDE GRID */
.menu-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Items Wider / Image Narrower */
    gap: 4rem;
    align-items: start;
}

/* The List of Items */
.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.menu-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-white);
}

.item-price {
    font-family: 'Outfit', sans-serif;
    color: var(--text-accent);
    font-weight: 600;
}

.item-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    max-width: 90%;
    line-height: 1.5;
}

/* The Side Image */
.menu-side-image-wrapper {
    position: sticky;
    top: 160px;
    /* Below Nav */
    height: 380px;
    /* Reduced from 500px */
    border-radius: 4px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
    background: #050505;
    /* Background for contained image */
}

.menu-side-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures full image visibility */
    transition: transform 0.5s ease;
}

.menu-side-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Hint Overlay */
.click-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-side-image-wrapper:hover .click-hint {
    opacity: 1;
    transform: translateY(0);
}

/* === LIGHTBOX STYLES === */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* MOBILE RESPONSIVE */
@media (max-width: 968px) {
    .menu-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-side-image-wrapper {
        height: 250px;
        position: relative;
        /* Not sticky on mobile */
        top: 0;
        margin-bottom: 2rem;
        order: -1;
        /* Image TOP */
    }
}

@media (max-width: 768px) {
    .menu-sub-nav {
        top: 60px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-left: 1.5rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .menu-content-wrapper {
        padding: 0 1.5rem 6rem;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === QUICK NAV (Side Dots) === */
.menu-quick-nav {
    position: fixed;
    top: 50%;
    left: 2rem;
    /* Stick to left edge */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;
}

.quick-nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    opacity: 0.5;
    transition: all 0.3s;
}

.quick-nav-btn:hover,
.quick-nav-btn.active {
    opacity: 1;
}

.nav-dot {
    width: 6px;
    height: 6px;
    background: var(--text-gray);
    border-radius: 50%;
    transition: all 0.3s;
}

.quick-nav-btn.active .nav-dot {
    background: var(--text-accent);
    transform: scale(1.5);
}

.nav-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-white);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    pointer-events: none;
    /* Let click pass to dot if needed, primarily visual */
}

/* Show label on hover or active */
.quick-nav-btn:hover .nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* Keep label active? Maybe too cluttered. Let's keep it hover only for cleanness */

@media (max-width: 1200px) {
    .menu-quick-nav {
        display: none;
    }

    /* Hide on smaller desktops if crowded */
    .menu-scroll-area {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* === NAVIGATION ADJUSTMENT === */
/* Since we have a customized Full-Screen Layout, we need to ensure the Fixed Header sits on top nicely */
.main-header {
    background: rgba(1, 1, 1, 0.9);
    /* More solid for this page */
    backdrop-filter: blur(10px);
}