/* 
 * Aden Yemeni Restaurant - Main Stylesheet
 * Luxury / Cinematic / Authentic
 */

/* =========================================
   1. TOKENS & RESET
   ========================================= */
:root {
    /* Colors - STRICT TOKENS */
    --color-bg-olive: #665E3A;
    --color-gold-main: #D6AD45;
    --color-gold-highlight: #FBEEA8;
    --color-gold-shadow: #74561E;
    --color-emerald-deep: #004225;

    --color-text-dark: #111111;
    --color-text-light: #F5F5F5;
    --color-text-muted: #e0e0e0;

    --color-bg-dark: #2E2617;
    /* Approximated dark fill */

    /* Fonts */
    --font-en-header: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    --font-en-body: 'Myriad Pro', 'Segoe UI', system-ui, sans-serif;

    --font-ar-header: 'Hacen Saudi Arabia', 'Amiri', serif;
    --font-ar-body: 'Hacen Liner', 'Amiri', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 120px;

    /* Layout */
    --nav-height: 80px;
    --container-width: 1200px;
}

/* Anti-bot honeypot: hidden from users, must stay empty */
.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Font loading optimization */
@font-face {
    font-family: 'Work Sans';
    font-display: swap;
}

@font-face {
    font-family: 'Amiri';
    font-display: swap;
}

body {
    background-color: var(--color-bg-olive);
    color: var(--color-text-light);
    font-family: var(--font-en-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-gold-main);
    color: var(--color-text-dark);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 4px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--color-gold-highlight);
    outline-offset: 2px;
}

/* Ensure all elements maintain layout direction from parent */
* {
    direction: inherit;
}

/* =========================================
   CUSTOM SCROLLBAR DESIGN
   ========================================= */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(46, 38, 23, 0.8);
    border-left: 1px solid rgba(214, 173, 69, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        var(--color-gold-main) 0%, 
        rgba(214, 173, 69, 0.8) 50%,
        var(--color-gold-shadow) 100%);
    border-radius: 6px;
    border: 2px solid rgba(46, 38, 23, 0.8);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        var(--color-gold-highlight) 0%, 
        var(--color-gold-main) 50%,
        rgba(214, 173, 69, 0.9) 100%);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4),
                0 0 10px rgba(214, 173, 69, 0.3);
    border-color: rgba(214, 173, 69, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, 
        var(--color-gold-shadow) 0%, 
        var(--color-gold-main) 50%,
        var(--color-gold-highlight) 100%);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-gold-main) rgba(46, 38, 23, 0.8);
}

/* Smooth scrollbar animation */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--color-gold-main) rgba(46, 38, 23, 0.8);
    }
    
    *:hover {
        scrollbar-color: var(--color-gold-highlight) rgba(46, 38, 23, 0.9);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* =========================================
   2. TYPOGRAPHY UTILITIES
   ========================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-en-header);
    font-weight: 700;
    color: var(--color-gold-main);
}

.ar-text,
.logo-title-ar,
.hero-logo-ar,
.body-ar,
.dish-desc-ar {
    font-family: var(--font-ar-body);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-main);
}

.body-en {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.body-ar {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* =========================================
   3. COMPONENTS
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-gold {
    background: var(--color-gold-main);
    color: var(--color-text-dark);
    border: 1px solid var(--color-gold-main);
    box-shadow: 0 4px 15px rgba(214, 173, 69, 0.3);
}

.btn-gold:hover {
    background: var(--color-gold-highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 173, 69, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--color-gold-main);
    border: 1px solid var(--color-gold-main);
}

.btn-ghost:hover {
    background: rgba(214, 173, 69, 0.1);
    color: var(--color-gold-highlight);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

/* =========================================
   4. NAVIGATION
   ========================================= */
#global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

#global-nav.scrolled {
    background-color: rgba(102, 94, 58, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0;
    height: 100%;
    padding: 0;
    padding-right: var(--spacing-sm);
}

.logo-container {
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding-left: var(--spacing-sm);
}

.logo-img {
    height: 87px;
    width: auto;
    max-width: 234px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold-main);
    opacity: 1;
}

/* =========================================
   LANGUAGE SWITCHER (dropdown)
   ========================================= */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(46, 38, 23, 0.6);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(214, 173, 69, 0.2);
    backdrop-filter: blur(10px);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--color-text-light);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    min-width: 52px;
    justify-content: center;
}

.lang-toggle-btn:hover,
.lang-toggle-btn:focus-visible {
    background: rgba(214, 173, 69, 0.15);
    color: var(--color-gold-highlight);
    outline: none;
}

.lang-chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
    opacity: 0.75;
}

.lang-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: min(320px, 92vw);
    max-height: min(70vh, 440px);
    display: flex;
    flex-direction: column;
    background: rgba(22, 19, 12, 0.98);
    border: 1px solid rgba(214, 173, 69, 0.35);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    z-index: 5000;
    overflow: hidden;
}

.lang-panel[hidden] {
    display: none !important;
}

.lang-search-wrap {
    padding: 10px 10px 6px;
    display: block;
}

.lang-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(214, 173, 69, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.lang-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.lang-search-input:focus {
    outline: 2px solid var(--color-gold-main);
    outline-offset: 1px;
}

.lang-list {
    list-style: none;
    margin: 0;
    padding: 4px 6px 8px;
    overflow-y: auto;
    flex: 1;
    max-height: 360px;
}

.lang-option {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    margin: 2px 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-light);
    font-size: 0.88rem;
    line-height: 1.35;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
    background: rgba(214, 173, 69, 0.12);
    outline: none;
}

.lang-option.is-active {
    background: linear-gradient(135deg, var(--color-gold-main), var(--color-gold-highlight));
    color: var(--color-bg-olive);
    font-weight: 700;
}

.lang-option .lang-option-native {
    display: block;
    font-weight: 600;
}

.lang-option .lang-option-meta {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 2px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(102, 94, 58, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

/* Mobile Language Switcher */
.mobile-lang-switcher {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 2px;
    background: rgba(46, 38, 23, 0.95);
    border-radius: 8px;
    margin: 0 2px;
    position: relative;
}

.mobile-lang-switcher .lang-toggle-btn {
    padding: 6px 8px;
    font-size: 0.65rem;
    min-width: 40px;
}

.mobile-lang-switcher .lang-panel--mobile {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: 72px;
    top: auto;
    max-height: min(55vh, 380px);
    z-index: 6000;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--color-gold-main);
    display: block;
    transition: all 0.3s ease;
    margin: 3px 0;
}

/* =========================================
   5. HERO - PREMIUM SIGNATURE PLATE
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-olive);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 35% 50%, #7a6a3a 0%, var(--color-bg-olive) 50%, #3d3520 100%);
    opacity: 1;
}

.hero__inner {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 var(--spacing-md);
    padding-top: var(--nav-height);
    z-index: 10;
    min-height: 100vh;
}

/* --- The Scene (Left) --- */
.hero__scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
}

.hero-main-image {
    width: auto;
    max-width: 700px;
    height: 100vh;
    object-fit: contain;
    object-position: top center;
    z-index: 10;
    position: relative;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    animation: heroImageFadeIn 1.2s ease-out;
}

@keyframes heroImageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scene Layers - Cleaned up */

/* --- Content (Right) --- */
.hero__content {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 40;
    position: relative;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-sm);
    padding-top: var(--spacing-md);
}

/* Typography */
.hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero__content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: var(--color-gold-highlight);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    margin-bottom: 1rem;
}

.hero-description .hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

html[dir="rtl"] .hero-description .hero-desc {
    font-size: 1.1rem;
    font-family: var(--font-ar-body);
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}


/* --- Tablet & Mobile Hero --- */
@media (max-width: 1100px) {
    .hero__inner {
        padding: 0 var(--spacing-sm);
    }

    .hero__scene {
        width: 45%;
    }

    .hero__content {
        flex: 0 0 50%;
        padding-left: var(--spacing-sm);
    }

    .hero-main-image {
        max-width: 100%;
        height: 100vh;
    }

    .logo-img {
        height: 78px;
        max-width: 215px;
    }
}

@media (max-width: 900px) {
    .nav-container {
        padding-right: var(--spacing-sm);
    }

    .logo-container {
        padding-left: var(--spacing-sm);
    }

    .logo-img {
        height: 89px;
        max-width: 247px;
    }

    .language-switcher {
        padding: 3px;
    }

    .lang-toggle-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
        min-width: 32px;
    }

    .hero {
        min-height: 100vh;
        position: relative;
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        min-height: 100vh;
        padding-top: var(--nav-height);
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        justify-content: flex-end;
        align-items: stretch;
        max-width: 100%;
    }

    .hero__scene {
        order: 1;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        padding-top: 0;
        z-index: 1;
    }

    .hero-main-image {
        height: 100vh;
        max-width: 100%;
        width: auto;
        opacity: 0.85;
    }

    .hero__content {
        order: 2;
        flex: none;
        width: 100%;
        max-width: 100%;
        align-items: center;
        padding: var(--spacing-md) var(--spacing-sm);
        padding-bottom: calc(var(--spacing-md) + 60px);
        position: relative;
        z-index: 20;
        background: linear-gradient(to top, rgba(102, 94, 58, 0.98) 0%, rgba(102, 94, 58, 0.9) 30%, rgba(102, 94, 58, 0.75) 60%, transparent 100%);
        margin: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
}

/* =========================================
   6. ABOUT (STORY)
   ========================================= */
.split-layout {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.text-column,
.image-column {
    flex: 1;
}

.golden-frame {
    position: relative;
    padding: 10px;
    border: 1px solid var(--color-gold-main);
    box-shadow: 20px 20px 0 rgba(214, 173, 69, 0.1);
}

.interior-image-placeholder {
    width: 100%;
    height: 400px;
    background: #333;
    background-image: linear-gradient(45deg, #2E2617, #3E321E);
    /* In real implementation, this would contain an <img> */
}

.interior-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* =========================================
   7. GALLERY - ADEN HERITAGE
   ========================================= */
#gallery {
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: var(--spacing-md);
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    border: 2px solid rgba(214, 173, 69, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(214, 173, 69, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    border-color: var(--color-gold-main);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(214, 173, 69, 0.4);
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.15);
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    z-index: 2;
    border-top: 2px solid rgba(214, 173, 69, 0.3);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-content {
    color: var(--color-text-light);
}

.gallery-title {
    color: var(--color-gold-main);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-en-header);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.gallery-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-light);
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.gallery-lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow-y: auto;
    overflow-x: hidden;
}

.gallery-lightbox-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid var(--color-gold-main);
    box-shadow: 0 20px 60px rgba(214, 173, 69, 0.3);
    flex-shrink: 0;
    background: #000;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    display: block;
}

.gallery-lightbox-info {
    text-align: center;
    color: var(--color-text-light);
    max-width: 800px;
    padding: 0 var(--spacing-md);
    flex-shrink: 0;
}

.gallery-lightbox-title {
    color: var(--color-gold-main);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-en-header);
}

.gallery-lightbox-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 6px;
}

.gallery-lightbox-counter {
    color: var(--color-gold-highlight);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 6px;
}

/* Close button - positioned on the lightbox overlay, not the content */
.gallery-lightbox-close {
    position: fixed;
    top: 16px;
    right: 24px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-gold-main);
    color: var(--color-gold-main);
    font-size: 2.2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10002;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.gallery-lightbox-close:hover {
    transform: scale(1.15) rotate(90deg);
    color: var(--color-text-dark);
    background: var(--color-gold-main);
}

/* Prev/Next buttons - positioned on the lightbox overlay */
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-gold-main);
    color: var(--color-gold-main);
    font-size: 2.5rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10002;
    backdrop-filter: blur(10px);
}

.gallery-lightbox-prev {
    left: 16px;
}

.gallery-lightbox-next {
    right: 16px;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: var(--color-gold-main);
    color: var(--color-text-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(214, 173, 69, 0.5);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 18px;
    }
    
    .gallery-item {
        border-radius: 12px;
    }
    
    .gallery-title {
        font-size: 1.2rem;
    }
    
    .gallery-lightbox {
        padding: 50px 16px 16px;
    }
    
    .gallery-lightbox-content {
        max-width: 100%;
    }
    
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
    
    .gallery-lightbox-prev {
        left: 8px;
    }
    
    .gallery-lightbox-next {
        right: 8px;
    }
    
    .gallery-lightbox-close {
        top: 8px;
        right: 8px;
        width: 42px;
        height: 42px;
        font-size: 1.8rem;
    }
    
    .gallery-lightbox-title {
        font-size: 1.4rem;
    }
    
    .gallery-lightbox-description {
        font-size: 0.9rem;
    }
    
    .gallery-lightbox-image {
        max-height: 50vh;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item {
        aspect-ratio: 16 / 9;
    }
    
    .gallery-title {
        font-size: 1.1rem;
    }
    
    .gallery-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .gallery-lightbox {
        padding: 50px 10px 10px;
    }
    
    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }
    
    .gallery-lightbox-prev {
        left: 4px;
    }
    
    .gallery-lightbox-next {
        right: 4px;
    }
    
    .gallery-lightbox-image {
        max-height: 45vh;
    }
    
    .gallery-lightbox-title {
        font-size: 1.2rem;
    }
    
    .gallery-lightbox-description {
        font-size: 0.85rem;
    }
}

/* =========================================
   8. CULTURE
   ========================================= */
.dark-theme {
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.bg-pattern-parallax {
    position: absolute;
    inset: -50px;
    z-index: 0;
    background-image: radial-gradient(var(--color-gold-shadow) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

.culture-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.underline-grow {
    display: inline-block;
    position: relative;
}

.underline-grow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold-main);
    transition: width 0.8s ease;
}

.underline-grow.in-view::after {
    width: 100%;
}

/* =========================================
   8. MENU - ENHANCED
   ========================================= */
#menu {
    scroll-margin-top: calc(var(--nav-height) + 16px);
}

.menu-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-lg);
}

.menu-search-container {
    margin-bottom: var(--spacing-md);
}

.menu-search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(214, 173, 69, 0.2);
    border-radius: 4px;
    color: var(--color-text-light);
    font-family: var(--font-en-body);
    font-size: 0.95rem;
    transition: 0.3s;
}

.menu-search-input:focus {
    outline: none;
    border-color: var(--color-gold-main);
    background: rgba(0, 0, 0, 0.5);
}

.menu-search-input::placeholder {
    color: var(--color-text-muted);
}

.category-list {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 8px;
}

.category-list::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.category-list::-webkit-scrollbar-track {
    background: rgba(46, 38, 23, 0.5);
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        var(--color-gold-main) 0%, 
        var(--color-gold-shadow) 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.category-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        var(--color-gold-highlight) 0%, 
        var(--color-gold-main) 100%);
    box-shadow: 0 0 8px rgba(214, 173, 69, 0.5);
}

.cat-pill {
    padding: 14px 16px;
    margin-bottom: 8px;
    border: 1px solid var(--color-gold-shadow);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
}

.cat-pill:hover {
    border-color: var(--color-gold-main);
    color: var(--color-gold-main);
    background: rgba(214, 173, 69, 0.05);
}

.cat-pill.active {
    background: var(--color-gold-main);
    color: var(--color-text-dark);
    border-color: var(--color-gold-main);
    font-weight: 600;
}

.cat-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.cat-subtitle {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: normal;
    font-style: italic;
    margin-top: 2px;
}

.cat-pill.active .cat-subtitle {
    opacity: 0.8;
}

.cat-count {
    font-size: 0.75rem;
    opacity: 0.6;
    font-weight: normal;
    margin-top: 4px;
    align-self: flex-end;
}

.cat-pill.active .cat-count {
    opacity: 0.9;
    font-weight: 600;
}

.menu-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.current-category-title {
    font-size: 2rem;
    margin: 0;
    border-bottom: 1px solid rgba(214, 173, 69, 0.2);
    padding-bottom: 10px;
    flex: 1;
    min-width: 200px;
}

.menu-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(214, 173, 69, 0.2);
    border-radius: 4px;
    color: var(--color-text-light);
    font-family: var(--font-en-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-gold-main);
    background: rgba(0, 0, 0, 0.5);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.is-hidden {
    display: none !important;
}

/* Menu Card Updates */
.menu-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(214, 173, 69, 0.1);
    padding: 0;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold-main);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-card .card-header,
.menu-card .dish-name-ar,
.menu-card .card-content {
    padding: var(--spacing-sm) var(--spacing-md);
}

.menu-card .card-header {
    padding-top: var(--spacing-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

/* Reduce spacing for Arabic version */
html[dir="rtl"] .card-header {
    margin-bottom: 2px !important;
}

.dish-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.2;
}

.dish-name-ar {
    font-size: 1.1rem;
    color: var(--color-gold-main);
    font-family: var(--font-ar-body);
    margin-bottom: 10px;
}

.dish-price {
    font-family: var(--font-en-body);
    font-weight: bold;
    color: var(--color-gold-highlight);
    background: rgba(214, 173, 69, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 10px;
}

.dish-desc-en {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 4px;
}

.dish-desc-ar {
    font-size: 0.95rem;
    color: #888;
}

/* Unified menu dish text (all locales) */
.dish-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.25;
}

html[dir="rtl"] .dish-title {
    font-size: 1.1rem;
    color: var(--color-gold-main);
    font-family: var(--font-ar-body);
    font-weight: 600;
}

.dish-desc {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0 0 4px;
    line-height: 1.5;
}

html[dir="rtl"] .dish-desc {
    font-size: 0.95rem;
    color: #888;
    font-family: var(--font-ar-body);
}

/* =========================================
   9. REVIEWS & TESTIMONIALS
   ========================================= */
.reviews-lead {
    max-width: 42rem;
    margin: 0.5rem auto 0;
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.reviews-media-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2.2vw, 22px);
    margin-top: var(--spacing-lg);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

@media (max-width: 900px) {
    .reviews-media-mosaic {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }
}

.review-media-tile {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(214, 173, 69, 0.2);
    background: linear-gradient(155deg, rgba(42, 36, 24, 0.55), rgba(10, 9, 7, 0.92));
    box-shadow:
        0 4px 0 rgba(214, 173, 69, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.35);
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.review-media-tile:hover {
    border-color: rgba(214, 173, 69, 0.42);
    box-shadow:
        0 4px 0 rgba(214, 173, 69, 0.1),
        0 22px 48px rgba(0, 0, 0, 0.42);
    transform: translateY(-4px);
}

.review-media-aspect {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: min(70vh, 540px);
    margin: 0 auto;
    background: #0a0908;
}

.review-media-video,
.review-media-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.review-media-video {
    object-fit: contain;
    background: #000;
}

.review-media-photo {
    object-fit: cover;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(214, 173, 69, 0.2);
    padding: var(--spacing-md);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--color-gold-main);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-gold-main);
}

.review-text {
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(214, 173, 69, 0.1);
}

.review-author strong {
    color: var(--color-gold-main);
    font-weight: 600;
}

.review-date {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =========================================
   10. TEASERS
   ========================================= */
.bg-warm-dark {
    background-color: #262014;
}

.teaser-grid {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.teaser-item {
    flex: 1;
    padding: 20px;
    border-right: 1px solid rgba(214, 173, 69, 0.1);
    text-align: center;
}

.teaser-item:last-child {
    border: none;
}

.teaser-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold-highlight);
}

.teaser-item p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

/* =========================================
   10. BOOKING
   ========================================= */
.booking-bg {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url('../assets/interior-bg.jpg');
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.align-center {
    align-items: center;
}

.booking-text {
    color: white;
    flex: 1;
    padding-right: 40px;
}

.booking-text .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-en-body);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--color-gold-highlight);
    margin-bottom: 1rem;
}

.glass-panel {
    background: rgba(46, 38, 23, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(214, 173, 69, 0.3);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(214, 173, 69, 0.5);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--color-gold-main);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(214, 173, 69, 0.3);
    padding: 14px 16px;
    color: white;
    font-family: var(--font-en-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-gold-main);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(214, 173, 69, 0.1);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 100, 100, 0.5);
}

input:valid:not(:placeholder-shown),
select:valid:not(:placeholder-shown) {
    border-color: rgba(100, 255, 100, 0.3);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* Custom scrollbar for textarea */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: rgba(46, 38, 23, 0.5);
    border-radius: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        var(--color-gold-main) 0%, 
        var(--color-gold-shadow) 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        var(--color-gold-highlight) 0%, 
        var(--color-gold-main) 100%);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D6AD45' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select option {
    background: #1a1a1a;
    color: white;
    padding: 10px;
}

.full-width {
    width: 100%;
}

.booking-form-wrapper {
    max-width: 500px;
    width: 100%;
    padding: 40px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-message.success {
    display: block;
    background: rgba(100, 255, 100, 0.1);
    border: 1px solid rgba(100, 255, 100, 0.3);
    color: #90ee90;
}

.form-message.error {
    display: block;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: #ff8080;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   11. FOOTER & CONTACT
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-md);
}

.contact-form-wrapper {
    grid-column: 1 / -1;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(46, 38, 23, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(214, 173, 69, 0.2);
}

.contact-form-wrapper h3 {
    color: var(--color-gold-main);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--color-gold-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(214, 173, 69, 0.3);
    padding: 12px 16px;
    color: white;
    font-family: var(--font-en-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-gold-main);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(214, 173, 69, 0.1);
}

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-gold-main);
    padding-left: 10px;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gold-main);
    opacity: 0.8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    opacity: 1;
    padding-left: 5px;
    transform: translateX(5px);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(50%) saturate(500%) hue-rotate(5deg) brightness(1.1);
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(70%) sepia(80%) saturate(800%) hue-rotate(5deg) brightness(1.2);
}

.social-link span {
    font-size: 0.95rem;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

/* --- Mobile Hero Visual Chain --- */
@media (max-width: 900px) {
    .hero-visual-chain {
        position: relative;
        /* Restack in grid */
        margin: 0;
        height: 60vh;
        /* Give height for stream */
        justify-content: flex-start;
    }

    .hvc-spoon {
        margin-top: -20px;
    }

    .img-spoon-hero {
        width: 320px;
    }

    .pour-stream-hero {
        width: 22px;
        margin-left: -115px;
        /* Scaled alignment for mobile */
        margin-top: -120px;
    }

    .img-plate-hero {
        width: 280px;
        margin-top: auto;
        /* Push to bottom */
    }
}

.hours-table td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.hours-table tr:last-child td {
    border: none;
}

.map-card {
    background: #222;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.3s;
}

.map-card:hover {
    background: #2a2a2a;
    border-color: var(--color-gold-main);
}

.pin-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(214, 173, 69, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: rgba(214, 173, 69, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.map-iframe {
    border: 0;
    border-radius: 4px;
}

.main-footer {
    background: linear-gradient(to top, #1a1a1a, var(--color-bg-olive));
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 5px solid var(--color-gold-main);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-ar {
    font-family: var(--font-ar-header);
    font-size: 3rem;
    color: var(--color-gold-main);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.social-circles {
    display: flex;
    gap: 15px;
}

.sc-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-main);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(214, 173, 69, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sc-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(50%) saturate(500%) hue-rotate(5deg) brightness(1.1);
    transition: all 0.3s ease;
}

.sc-link:hover {
    background: var(--color-gold-main);
    border-color: var(--color-gold-main);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(214, 173, 69, 0.4);
}

.sc-link:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* =========================================
   12. MOBILE RESPONSIVENESS
   ========================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-block {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        margin-top: 550px;
        text-align: center;
    }

    /* Push text below plate */
    .hero-plate-container {
        width: 100%;
        top: 40%;
        transform: translate(-50%, -50%) scale(0.8);
    }

    .split-layout {
        flex-direction: column;
    }

    .menu-layout {
        display: block;
    }

    .menu-categories {
        margin-bottom: 12px;
    }
    
    .menu-search-container {
        margin-bottom: 10px;
    }

    .category-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        position: relative;
        top: 0;
        margin-bottom: 12px;
        padding: 0;
        max-height: none;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .cat-pill {
        white-space: normal;
        margin: 0;
        width: 100%;
        min-width: 0;
        padding: 6px 8px;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-height: 60px;
        text-align: center;
    }
    
    .cat-name {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
        word-break: break-word;
    }
    
    .cat-pill .cat-count {
        display: none;
    }

    .cat-count {
        display: none;
    }

    .menu-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-filters {
        width: 100%;
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        grid-column: 1;
        margin-top: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    .map-container {
        min-height: 350px;
    }

    .teaser-grid {
        flex-direction: column;
    }

    .teaser-item {
        border-right: none;
        border-bottom: 1px solid rgba(214, 173, 69, 0.1);
        padding: 30px 0;
    }

    .booking-form-wrapper {
        padding: 30px;
        margin-top: 30px;
        max-width: 100%;
    }

    .booking-text {
        text-align: center;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .booking-text .section-title {
        font-size: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Medium devices (tablets, 600px to 900px) */
@media (min-width: 600px) and (max-width: 900px) {
    .booking-form-wrapper {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .form-row {
        flex-direction: row;
        gap: 20px;
    }

    .map-container {
        min-height: 400px;
    }
    
    /* Category list - 4 columns for tablets */
    .category-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .cat-pill {
        padding: 8px 10px;
        font-size: 0.8rem;
        min-height: 65px;
    }
    
    .cat-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    :root {
        --spacing-lg: 40px;
    }

    .desktop-only {
        display: none;
    }

    .nav-container {
        padding-right: var(--spacing-xs);
    }

    .logo-container {
        padding-left: var(--spacing-xs);
    }

    .logo-img {
        height: 82px;
        max-width: 234px;
    }

    /* Reveal Mobile Nav */
    .language-switcher {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: #1a1a1a;
        border-top: 1px solid var(--color-gold-shadow);
        z-index: 2000;
        justify-content: space-around;
        align-items: center;
        padding: 0 4px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        color: #888;
        flex: 1;
    }

    .nav-item.active,
    .nav-item:hover {
        color: var(--color-gold-main);
    }

    .icon {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .mobile-lang-switcher {
        display: flex;
        position: absolute;
        top: -30px;
        right: 8px;
        background: rgba(46, 38, 23, 0.95);
        border: 1px solid rgba(214, 173, 69, 0.3);
        border-radius: 8px;
        padding: 4px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    }

    /* Social icons mobile adjustments */
    .social-circles {
        gap: 12px;
    }

    .sc-link {
        width: 40px;
        height: 40px;
    }

    .sc-link img {
        width: 20px;
        height: 20px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    /* Adjust Hero for Mobile */
    .hero-section {
        align-items: flex-start;
    }

    .hero-plate-container {
        top: 35%;
        transform: translate(-50%, -50%) scale(0.65);
    }

    .hero-text-block {
        margin-top: 450px;
        padding: 0 20px;
    }

    .hero-center-logo {
        top: -25%;
    }

    .hero-logo-ar {
        font-size: 4rem;
    }

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

    /* Footer tweaks */
    .main-footer {
        padding-bottom: 80px;
    }

    /* Space for bottom nav */
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Form improvements for mobile */
    .booking-form-wrapper {
        padding: 20px;
    }

    label {
        font-size: 0.8rem;
    }

    input,
    select,
    textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-gold {
        padding: 16px;
        font-size: 1rem;
    }
    
    /* Category list improvements for very small screens */
    .category-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .cat-pill {
        padding: 5px 6px;
        font-size: 0.7rem;
        min-height: 55px;
        gap: 2px;
    }
    
    .cat-name {
        font-size: 0.7rem;
        line-height: 1.15;
    }
}

/* =========================================
   MULTI-LANGUAGE SUPPORT
   ========================================= */

/* Smooth transitions for language switching */
body {
    transition: opacity 0.15s ease;
}

[data-translate],
[data-translate-placeholder],
.dish-name,
.dish-name-ar,
.dish-desc-en,
.dish-desc-ar,
.dish-title,
.dish-desc,
.cat-name,
.current-category-title {
    transition: opacity 0.2s ease;
}

/* Body text styling */
.body-main {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Locale-specific typography (data-locale on body) */
body[data-locale="ar"],
body[data-locale="ary"],
body[data-locale="fa"],
body[data-locale="ckb"],
body[data-locale="ps"] {
    font-family: var(--font-ar-body);
}

html[dir="rtl"] .body-main {
    font-family: var(--font-ar-body);
    line-height: 2;
}

html[dir="rtl"] .section-title,
html[dir="rtl"] .section-subtitle {
    font-family: var(--font-ar-header);
}

/* Arabic-forward hero: main headline is Arabic */
html[dir="rtl"] .hero__content .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    color: var(--color-gold-main);
    font-family: var(--font-ar-header);
    font-weight: 700;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

html[dir="rtl"] .hero__content .hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    color: var(--color-gold-highlight);
    font-family: var(--font-ar-body);
    font-weight: 400;
}

html[dir="rtl"] .card-content {
    padding-top: 2px;
    padding-bottom: var(--spacing-sm);
}

.hero-title {
    display: block;
}

.hero-subtitle {
    display: block;
}

/* CJK fonts */
body[data-locale="zh-CN"] .body-main,
body[data-locale="zh-CN"] .section-title,
body[data-locale="zh-CN"] .hero-title,
body[data-locale="zh-CN"] .hero-subtitle {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body[data-locale="yue-HK"] .body-main,
body[data-locale="yue-HK"] .section-title,
body[data-locale="yue-HK"] .hero-title,
body[data-locale="yue-HK"] .hero-subtitle {
    font-family: "Noto Sans HK", "PingFang HK", "Microsoft JhengHei", sans-serif;
}

/* Ensure proper text rendering */
.dish-name,
.dish-name-ar,
.dish-desc-en,
.dish-desc-ar,
.dish-title,
.dish-desc {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Responsive adjustments for language content */
@media (max-width: 768px) {
    .body-main {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    html[dir="rtl"] .dish-title {
        font-size: 1.1rem;
    }

    html[dir="rtl"] .dish-desc {
        font-size: 0.95rem;
    }
}

/* =========================================
   RTL SUPPORT
   ========================================= */
[dir="rtl"] .nav-links {
    direction: rtl;
}

[dir="rtl"] .split-layout {
    direction: rtl;
}

[dir="rtl"] .text-column,
[dir="rtl"] .body-main,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
    text-align: right;
}

[dir="rtl"] .hero__content {
    align-items: flex-end;
    text-align: right;
}

[dir="rtl"] .dish-price,
[dir="rtl"] .hours-table td:last-child,
[dir="rtl"] .phone,
[dir="rtl"] .email {
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] .contact-info {
    text-align: right;
}

[dir="rtl"] .info-block h3 {
    border-left: none;
    border-right: 3px solid var(--color-gold-main);
    padding-left: 0;
    padding-right: 10px;
}

[dir="rtl"] .booking-text {
    text-align: right;
}

[dir="rtl"] .card-header {
    direction: rtl;
}

[dir="rtl"] .menu-card .card-header,
[dir="rtl"] .menu-card .card-content {
    text-align: right;
}

/* =========================================
   BOOKING QUICK ACTIONS
   ========================================= */
.booking-quick-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.booking-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    padding: 14px 28px;
}

/* =========================================
   CONTACT LINK STYLE
   ========================================= */
.contact-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.contact-link:hover {
    color: var(--color-gold-main);
}

/* =========================================
   PRICE ON REQUEST
   ========================================= */
.gallery-subtitle {
    margin-bottom: var(--spacing-md);
}

.reviews-cta-spacing {
    margin-top: var(--spacing-md);
}

.dish-price-request {
    font-style: italic;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* =========================================
   MENU · MOBILE ORDER LIST (show waiter)
   ========================================= */
@media (min-width: 901px) {
    .menu-cart-add-btn {
        display: none !important;
    }
}

/* Title + price + add (mobile): add sits beside price, away from bottom language control */
.card-header--menu-cart {
    align-items: flex-start;
    gap: 10px;
}

.card-header--menu-cart .card-header__main {
    flex: 1;
    min-width: 0;
}

.card-header--menu-cart .card-header__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
    max-width: 42%;
}

html[dir="rtl"] .card-header--menu-cart .card-header__side {
    align-items: flex-start;
}

.card-header--menu-cart .card-header__price-wrap {
    width: 100%;
    text-align: end;
    flex-shrink: 0;
}

.card-header--menu-cart .card-header__price-wrap .dish-price,
.card-header--menu-cart .card-header__price-wrap .dish-price-request {
    margin-left: 0;
    margin-right: 0;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .menu-card--add-pressed .menu-cart-add-btn {
        display: none !important;
    }
}

.menu-cart-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid rgba(214, 173, 69, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(214, 173, 69, 0.25), rgba(214, 173, 69, 0.08));
    color: var(--color-gold-highlight);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    width: 100%;
    max-width: 160px;
    box-sizing: border-box;
}

.menu-cart-add-btn--compact .menu-cart-add-icon {
    flex-shrink: 0;
}

.menu-cart-add-btn:hover {
    border-color: var(--color-gold-main);
    background: linear-gradient(135deg, rgba(214, 173, 69, 0.35), rgba(214, 173, 69, 0.12));
}

.menu-cart-add-btn:active {
    transform: scale(0.98);
}

.menu-cart-add-icon {
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 700;
}

.menu-cart-add-text {
    line-height: 1.2;
    text-align: center;
}

html[dir="rtl"] .menu-cart-add-btn {
    flex-direction: row-reverse;
}

@media (max-width: 380px) {
    .menu-cart-add-btn {
        max-width: 100%;
        font-size: 0.72rem;
        padding: 8px 8px;
    }
}

.menu-order-cart {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2400;
    font-family: var(--font-en-body);
    direction: inherit;
}

.menu-order-cart--hidden-bp {
    display: none !important;
}

.menu-order-cart__fab {
    pointer-events: auto;
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-main);
    background: linear-gradient(145deg, #2a2418, #1a1510);
    color: var(--color-gold-highlight);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2410;
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (max-width: 600px) {
    .menu-order-cart__fab {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }
}

html[dir="rtl"] .menu-order-cart__fab {
    left: max(12px, env(safe-area-inset-left));
    right: auto;
}

.menu-order-cart__fab:hover {
    box-shadow: 0 8px 28px rgba(214, 173, 69, 0.35);
}

.menu-order-cart__fab:active {
    transform: scale(0.96);
}

.menu-order-cart__fab-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.menu-order-cart__fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--color-gold-main);
    color: #111;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1a1510;
}

html[dir="rtl"] .menu-order-cart__fab-badge {
    right: -4px;
    left: auto;
}

.menu-order-cart__fab--pulse {
    animation: menuCartFabPulse 0.45s ease-out;
}

@keyframes menuCartFabPulse {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.menu-order-cart__overlay {
    pointer-events: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2380;
}

.menu-order-cart__overlay.is-visible {
    pointer-events: auto;
    opacity: 1;
}

.menu-order-cart__panel {
    pointer-events: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(88vh, 640px);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2390;
    display: flex;
    justify-content: center;
}

.menu-order-cart__panel.is-open {
    pointer-events: auto;
    transform: translateY(0);
}

.menu-order-cart__panel-inner {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1e241f 0%, #121814 100%);
    border: 1px solid rgba(214, 173, 69, 0.35);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 640px);
    min-height: 0;
    padding-bottom: env(safe-area-inset-bottom);
}

.menu-order-cart__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(214, 173, 69, 0.15);
}

.menu-order-cart__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-light);
}

html[dir="rtl"] .menu-order-cart__title {
    font-family: var(--font-ar-body);
}

.menu-order-cart__head-close {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-order-cart__waiter-banner {
    margin: 0 14px 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(214, 173, 69, 0.35), rgba(214, 173, 69, 0.12));
    border: 1px solid rgba(214, 173, 69, 0.45);
    color: #f5e6c8;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
}

html[dir="rtl"] .menu-order-cart__waiter-banner {
    font-family: var(--font-ar-body);
}

.menu-order-cart__list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 4px 14px 12px;
    -webkit-overflow-scrolling: touch;
}

.menu-order-cart__empty {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    padding: 24px 8px;
    margin: 0;
}

.menu-order-cart__line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(214, 173, 69, 0.12);
    border-radius: 10px;
}

.menu-order-cart__line-main {
    display: flex;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.menu-order-cart__qty {
    font-weight: 800;
    color: var(--color-gold-main);
    flex-shrink: 0;
    font-size: 0.95rem;
}

.menu-order-cart__line-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.menu-order-cart__line-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    line-height: 1.35;
    word-break: break-word;
}

html[dir="rtl"] .menu-order-cart__line-title {
    font-family: var(--font-ar-body);
}

.menu-order-cart__line-price {
    font-size: 0.85rem;
    color: var(--color-gold-highlight);
    opacity: 0.9;
}

.menu-order-cart__line-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.menu-order-cart__btn-minus,
.menu-order-cart__btn-remove {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(214, 173, 69, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: var(--color-text-light);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-order-cart__btn-remove {
    color: #e8a0a0;
    border-color: rgba(232, 160, 160, 0.3);
}

.menu-order-cart__footer {
    display: flex;
    gap: 10px;
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(214, 173, 69, 0.15);
}

.menu-order-cart__btn-clear {
    flex: 1;
    padding: 14px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.menu-order-cart__btn-done {
    flex: 1.2;
    padding: 14px 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--color-gold-main), #b8923a);
    color: #1a1510;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

body.menu-cart-drawer-open {
    overflow: hidden;
}

@media (min-width: 901px) {
    body.menu-cart-drawer-open {
        overflow: unset;
    }
}

@media (max-width: 380px) {
    .menu-order-cart__title {
        font-size: 1.05rem;
    }

    .menu-order-cart__waiter-banner {
        font-size: 0.88rem;
        padding: 12px;
    }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}