/* Base Variables & Reset */
:root {
    --color-bg: #fdfbf7;
    --color-primary: #461616;
    --color-accent-gold: #c5a572;
    --color-text: #3b1d1d;
    --color-text-muted: #6d5e5e;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --font-menu: 'Alegreya', serif;

    --spacing-container: 2rem;
    --transition: all 0.4s ease;
    --header-height: 90px;
    --tabs-height: 60px;
}

/* ... (skipping unchanged parts) ... */

/* Menu Item Typography Updates */
.item-name {
    font-family: var(--font-menu);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    padding-right: 15px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.complex-header h3 {
    font-family: var(--font-menu);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-desc {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 5px;
    line-height: 1.5;
}

/* Modern Minimal Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: calc(var(--header-height) + var(--tabs-height) + 20px);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    color: var(--color-primary);
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Header */
.header {
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    height: var(--header-height);
    display: flex;
    align-items: center;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    /* Ensure dropdowns are not clipped */
    overflow: visible;
    /* Create isolated stacking context for all header children */
    isolation: isolate;
}

/* Solid header (after scrolling past hero) */
.header.header-solid {
    background: var(--color-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(197, 165, 114, 0.2);
}

/* Hidden header (scroll down) */
.header.header-hidden {
    transform: translateY(-100%);
}

/* Mobile Nav Drawer (Compact Dropdown) */
.nav-left.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 1rem;
    width: 180px;
    height: auto;
    background-color: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
    /* Reduced padding */
    border: 2px solid var(--color-accent-gold);
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 3001;
    /* Boosted from 999 */
    transform-origin: top left;
    animation: menuPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #fdfbf7;
    /* Light text for dark header */
    position: relative;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--color-accent-gold);
}

.mobile-only-link {
    display: none;
}

.logo-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.logo-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Composite Logo (Icon + Text) */
.logo-composite {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.logo-icon-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.logo-text-main {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-text-sub {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    color: #f4f1ea;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Logo Toggling */
.logo-mobile {
    display: none;
}

.logo-desktop {
    display: flex;
}

/* Header Button Specifics */
.header .btn {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    padding: 0.6rem 1.5rem;
}

.header .btn:hover {
    background: var(--color-accent-gold);
    color: var(--color-primary);
}

/* Default Mobile Button State (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Selector */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between globe and text */
}

.lang-current {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-primary);
    border: 1px solid var(--color-accent-gold);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 60px;
    display: none;
    /* High z-index ensures dropdown appears above all page content including hero sections */
    z-index: 10000;
    flex-direction: column;
}

.lang-dropdown:hover .lang-menu {
    display: flex;
}

.lang-menu li {
    text-align: center;
}

.lang-menu a {
    display: block;
    padding: 5px 10px;
    color: #fdfbf7;
    /* Light color for visibility on dark background */
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-menu a:hover,
.lang-menu a.active {
    background-color: rgba(197, 165, 114, 0.2);
    color: var(--color-accent-gold);
}

.section-desc {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}



/* Typography */
.marhaba {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1;
    text-transform: capitalize;
}

.section-desc {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Container Widths - Redefining to fix "Too Wide" look */
.container.small {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container.wide {
    max-width: 1000px;
    /* Reduced from 1400px/1200px */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation Tabs (Anchors) - STICKY BELOW HEADER */
.menu-tabs-wrapper {
    position: sticky;
    top: var(--header-height);
    z-index: 990;
    background: var(--color-bg);
    padding: 1rem 0;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(59, 29, 29, 0.05);
    display: flex;
    justify-content: center;
    transition: top 0.3s ease;
}

/* Tab bar moves up when header is hidden */
.menu-tabs-wrapper.tabs-at-top {
    top: 0;
}

.menu-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.menu-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.tab-link {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem 0;
    transform: scale(1);
}

.tab-link:hover {
    color: var(--color-primary);
}

.tab-link.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent-gold);
    padding-bottom: 0.2rem;
}

/* Mobile: Improved touch targets and visual emphasis */
@media (max-width: 768px) {
    .tab-link {
        padding: 0.5rem 0.75rem;
        /* Reduced padding */
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        /* Smaller font */
    }

    .tab-link.active {
        transform: scale(1.08);
        /* Subtle scale (was 1.15) */
        font-weight: 700;
    }
}


/* --- SECTIONS --- */

/* Hero Section - Fullscreen with Background Image */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Pull hero up behind the sticky header */
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(var(--header-height) + 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    box-sizing: border-box;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark at top (header area), lighter in middle, dark at bottom */
    background: linear-gradient(to bottom,
            rgba(30, 10, 10, 0.85) 0%,
            rgba(30, 10, 10, 0.6) 15%,
            rgba(70, 22, 22, 0.2) 40%,
            rgba(70, 22, 22, 0.15) 60%,
            rgba(30, 10, 10, 0.7) 90%,
            rgba(30, 10, 10, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-accent-gold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    font-weight: 300;
    color: #f4f1ea;
    line-height: 1.7;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 480px;
    margin: 0 auto;
    /* Subtle semi-transparent background */
    background: rgba(30, 10, 10, 0.25);
    padding: 1rem 1.25rem;
    border-radius: 6px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent-gold);
    animation: heroFloat 2s ease-in-out infinite;
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
}

.hero-scroll-indicator span {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Mobile Hero Adjustments */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        /* Fix for mobile performance */
        min-height: 100svh;
        /* Use small viewport height for mobile */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-scroll-indicator {
        bottom: 2rem;
    }
}

/* Story Section */
.story-section {
    padding: 6rem 1rem;
    background-color: var(--color-bg);
    position: relative;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.story-paragraph {
    font-family: var(--font-menu);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.story-highlight {
    color: var(--color-accent-gold);
    font-style: italic;
    font-weight: 500;
}

.category-section {
    margin-bottom: 8rem;
    /* scroll-margin handled by html padding now */
}

.category-header-clean {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.category-title {
    font-size: 2.5rem;
    color: var(--color-primary);
}

/* Layout Items - Flexbox */
.menu-area {
    display: flex;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.menu-area.reverse {
    flex-direction: row-reverse;
}

.menu-list-side {
    flex: 1.4;
    min-width: 0;
}

.menu-image-side {
    flex: 0.9;
    display: flex;
    justify-content: center;
    position: relative;
}

/* The Organic Blob Shape */
.menu-img-organic {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 64% 36% 24% 76% / 57% 35% 65% 43%;
    box-shadow: 15px 15px 40px rgba(59, 29, 29, 0.1);
    transition: var(--transition);
}

.menu-img-organic:hover {
    transform: scale(1.02);
    border-radius: 50%;
}

/* Feature Image for Highlights (Different Effect) */
.menu-img-highlight {
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    /* Clean rounded corners, not blob */
    box-shadow: 0 10px 40px rgba(197, 165, 114, 0.4);
    /* Gold glow shadow */
    border: 3px solid var(--color-accent-gold);
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.menu-img-highlight:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 50px rgba(197, 165, 114, 0.5);
}

/* Vertical Image (Coffee) - Seamless Background Style */
.menu-img-vertical {
    width: 100%;
    max-width: 350px;
    /* Restrict width for vertical images */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.4s ease;
}

.menu-img-vertical:hover {
    transform: translateY(-5px);
}

/* Plate Image - Rotates on Hover */
.menu-img-plate {
    width: 100%;
    max-width: 450px;
    /* Slightly larger for plates */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy smooth rotation */
}

.menu-img-plate:hover {
    transform: rotate(45deg) scale(1.05);
}

/* Starters: Perspective Reveal (Interactive 3D) */
/* Starters: Perspective Reveal (Interactive 3D) */
.menu-img-perspective {
    width: 100%;
    max-width: 550px;
    /* Bigger to fill the column */
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/10;
    /* Nice rectangular proportion */
    display: block;
    margin: 0 auto;
    border-radius: 12px;

    /* Initial state: Subtle tilt */
    transform: perspective(1000px) rotateY(10deg) scale(0.98);
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-img-perspective:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* Dips: Pulse & Glow (Highlighting extras) */
.menu-img-pulse {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    /* Start round-ish */
    border: 2px solid transparent;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* Bouncy */
}

.menu-img-pulse:hover {
    transform: scale(1.1);
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 30px rgba(197, 165, 114, 0.4);
}

/* Desserts: Dreamy Morph (Playful shape change) */
.menu-img-dreamy {
    width: 100%;
    max-width: 380px;
    border-radius: 50px 0 50px 0;
    /* Leaf shape */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
}

.menu-img-dreamy:hover {
    border-radius: 0 50px 0 50px;
    /* Swaps visual diagonal */
    transform: rotate(3deg) scale(1.05);
}

/* Circle Image (Top-Down Drinks) */
.menu-img-circle {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    /* Perfect Circle */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.menu-img-circle:hover {
    transform: scale(1.05) rotate(5deg);
    /* Playful spin */
}

/* Magic Luminance Mask (Pro Transparency) */
.menu-img-magic {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;

    /* Masking: Image brightness defines opacity */
    /* Bright pixels = Visible. Dark pixels = Transparent */
    -webkit-mask-image: url('cold-drinks-menu.jpg');
    mask-image: url('cold-drinks-menu.jpg');

    -webkit-mask-mode: luminance;
    mask-mode: luminance;

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;

    /* Fallback/Enhancer: Screen blending removes any residual darks */
    mix-blend-mode: screen;

    transition: transform 0.4s ease;
}

.menu-img-magic:hover {
    transform: scale(1.05);
    /* Gentle zoom */
}

/* Menu Items */
.menu-list-side {
    padding: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.2rem;
    /* Tighter spacing */
}

.item-info {
    flex: 1;
    display: flex;
    align-items: baseline;
    overflow: hidden;
}

.item-name {
    font-family: var(--font-menu);
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    padding-right: 15px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(59, 29, 29, 0.2);
    margin: 0 10px;
    position: relative;
    top: -5px;
    min-width: 50px;
    /* Ensure visibility */
}

.item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.item-subtext {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

/* Complex items (Main Dishes) */
.menu-item-complex {
    margin-bottom: 2rem;
}

.complex-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* Aligns text nicely on the baseline */
    width: 100%;
    /* Border removed for consistency with simple items */
    margin-bottom: 0.5rem;
}

.complex-header h3 {
    font-family: var(--font-menu);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    padding-right: 1rem;
    background: var(--color-bg);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ensure price stays on the right */
.complex-header .item-price {
    white-space: nowrap;
    background: var(--color-bg);
    padding-left: 10px;
}

.item-desc {
    font-family: var(--font-menu);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 5px;
    line-height: 1.5;
}





/* Footer */
.footer {
    background: var(--color-primary);
    /* Match header */
    color: #f4f1ea;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer h4 {
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 900px) {

    .menu-area,
    .menu-area.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        /* Switch to flex column for easy ordering */
        flex-direction: column;
    }

    /* Put Image ON TOP for all sections on mobile */
    .menu-image-side {
        order: -1;
        margin-bottom: 1rem;
    }

    .container.wide {
        padding: 0 1.5rem;
    }

    /* Reduce huge titles on mobile */
    .section-title {
        font-size: 2.5rem;
    }

    /* Tabs Horizontal Scroll */
    .menu-tabs-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        padding-left: 1rem;
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll iOS */
    }

    .menu-tabs {
        gap: 2rem;
        padding-bottom: 5px;
        /* Space for scrollbar if visible */
    }

    .tab-link {
        white-space: nowrap;
        /* Prevent breaking */
    }

    .menu-img-organic {
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    /* Mobile Header Layout - Flex with Absolute Center for Logo */
    .header-container {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        /* Context for absolute logo */
        height: 100%;
    }

    /* Force Logo Center Absolutely */
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        height: 70px;
        width: auto;
        margin: 0;
        z-index: 1;
        /* Below dropdowns if needed */
    }

    /* Logo Toggling Mobile */
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        max-height: 100%;
    }

    /* Keep buttons on top */
    .mobile-menu-btn,
    .nav-right {
        z-index: 10;
        position: relative;
    }

    /* Cart/Lang Right */
    .nav-right {
        gap: 1rem;
    }

    /* Hide Desktop Elements */
    .nav-left,
    .desktop-only {
        display: none;
    }

    /* Show Mobile Button */
    .mobile-menu-btn {
        display: flex;
        /* Flex to center icon */
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        color: var(--color-accent-gold);
        font-size: 1.4rem;
        cursor: pointer;
        padding: 5px;
        width: 40px;
        /* Touch target */
    }

    /* Mobile Nav Drawer (Compact Dropdown) */
    /* Mobile Burger Menu Dropdown */
    .nav-left.mobile-active {
        display: flex;
        /* Fixed positioning breaks out of header's stacking context, essential for overlay */
        position: fixed;
        top: var(--header-height);
        left: 1rem;
        width: 180px;
        height: auto;
        background-color: var(--color-primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 1rem;
        border: 2px solid var(--color-accent-gold);
        border-radius: 8px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        /* High z-index ensures menu appears above all page content */
        z-index: 10000;
        transform-origin: top left;
        animation: menuPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-left.mobile-active .nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        /* Tighter gap */
        font-size: 1rem;
        width: 100%;
    }

    /* Menu Links "Alive" Feel */
    .nav-left.mobile-active .nav-link {
        display: block;
        width: 100%;
        padding: 0.6rem 0.8rem;
        /* Smaller touch target padding */
        border-radius: 6px;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    /* Active state (While pressing) - Strong Feedback */
    .nav-left.mobile-active .nav-link:active {
        background-color: var(--color-accent-gold);
        color: var(--color-primary);
        transform: scale(0.98);
        /* Slight press-in effect */
    }

    /* Hover (Desktop testing or sticky touch) */
    .nav-left.mobile-active .nav-link:hover {
        background: rgba(197, 165, 114, 0.15);
        color: var(--color-accent-gold);
        padding-left: 1.5rem;
        /* Slide text right */
    }

    .mobile-only-link {
        display: block;
    }

    /* Scroll Hint for Tabs */
    .menu-tabs-wrapper {
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }

    @keyframes menuPop {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(-10px);
        }

        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent-gold);
    color: var(--color-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #dcb374;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- MOBILE LAYOUT CRITICAL FIXES (Global Uniformity) --- */
@media (max-width: 768px) {

    /* 1. Force Column Layout Everywhere */
    .menu-area,
    .menu-area.reverse {
        flex-direction: column !important;
        gap: 2rem;
        align-items: stretch !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* 2. Unified Text Container - EXACT SAME PADDING EVERYWHERE */
    .menu-list-side {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        /* Global side padding (24px) */
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. Unified Image Container */
    .menu-image-side {
        flex: 1 1 auto !important;
        width: 100% !important;
        padding: 0 1.5rem !important;
        /* Match text padding visually */
        margin: 0 0 1.5rem 0 !important;
        box-sizing: border-box !important;
        order: -1;
        /* Image always on top */
    }

    /* 4. Ensure Typography doesn't overflow */
    .menu-item,
    .menu-item-complex {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 5. Section Headers - Keep Centered */
    .category-header-clean {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    /* 6. OVERFLOW SAFETY VALVE (Granular) */
    /* Ensure no single element exceeds screen width */
    /* IMPORTANT: Header excluded to prevent dropdown clipping */
    section,
    footer,
    .menu-area,
    .story-section {
        max-width: 100vw !important;
        overflow-x: clip;
        /* Modern clean cut without scrollbars */
        box-sizing: border-box;
    }

    /* Ensure burger menu and language dropdown appear above all content */
    .nav-left.mobile-active,
    .lang-menu {
        z-index: 99999 !important;
    }

    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    /* 7. TEXT/PRICE COLLISION FIX */
    /* Hide dots on mobile to save space */
    .item-dots {
        display: none !important;
    }

    /* Allow items to break into new lines if too tight */
    .menu-item,
    .complex-header,
    .item-info {
        flex-wrap: wrap !important;
        gap: 0.5rem;
        /* Add space when wrapping */
    }

    /* Ensure name takes full available width before breaking */
    .item-name,
    .complex-header h3 {
        flex: 1 1 auto;
        /* Grow to fill space */
        white-space: normal !important;
        /* Allow breaking words */
        max-width: 100%;
        /* Prevent overflow */
        margin-right: 0.5rem;
    }

    /* Price stays robust */
    .item-price {
        flex: 0 0 auto;
        /* Don't shrink */
        margin-left: auto;
        /* Push to right */
        white-space: nowrap;
        background: var(--color-bg);
        /* Opaque bg just in case */
    }
}

/* Reservation Popup Modal */
.reservation-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.reservation-popup-overlay.active {
    display: flex;
}

.reservation-popup {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reservation-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.reservation-popup-close:hover {
    opacity: 1;
}

.reservation-popup-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.reservation-popup-icon i {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
}

.reservation-popup h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.reservation-popup p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.6;
}

.reservation-popup-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-accent-gold);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reservation-popup-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.reservation-popup-phone i {
    font-size: 1rem;
}
/* Footer Attribution Styles */
.footer-attribution {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0.4;
    font-size: 0.8rem;
    transition: opacity 0.3s ease;
}

.footer-attribution:hover {
    opacity: 0.8;
}

.attribution-link {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.attribution-icon {
    width: 20px;
    height: auto;
    border-radius: 4px;
}
