/* ===========================================================
   Runa Cafe & Bistro — site.css  (Session 2 · UI)
   Aesthetic: dark luxury / editorial bistro
   Palet: dərin antrasit-qara + isti qızıl + krem (zəngin, kontrastlı)
   =========================================================== */

:root {
    --primary: #C69A43;        /* isti qızıl */
    --primary-light: #E5C67F;  /* açıq qızıl */
    --primary-dark: #9A7327;   /* tünd qızıl */
    --dark: #15120D;           /* dərin antrasit (logo qarası) */
    --dark-light: #221D16;
    --dark-lighter: #3A3228;
    --white: #FFFFFF;
    --off-white: #F6F1E7;      /* isti krem fon */
    --grey-light: #E8DECC;     /* bej saç-teli */
    --grey: #C2B7A2;
    --text: #1F1A13;
    --text-light: #6E6557;

    --radius: 16px;
    --radius-sm: 11px;
    --shadow: 0 8px 28px rgba(21, 18, 13, 0.10);
    --shadow-lg: 0 26px 60px rgba(21, 18, 13, 0.20);
    --header-h: 70px;
    --catnav-h: 56px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.preloading { overflow: hidden; height: 100vh; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.14; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 128px) 0; }

/* ===========================================================
   Preloader
   =========================================================== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: radial-gradient(circle at 50% 44%, #0d0a07, #050302 72%);
    display: grid; place-items: center;
    transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 24px; }

.preloader-logo { position: relative; display: grid; place-items: center; }
.preloader-logo img {
    width: clamp(150px, 42vw, 220px); height: auto;
    mix-blend-mode: screen;
    opacity: 0; transform: scale(0.9);
    animation: ploLogoIn 1s var(--ease-out) 0.15s forwards;
}
.preloader-ring {
    position: absolute; width: clamp(190px, 54vw, 280px); height: clamp(190px, 54vw, 280px);
    border-radius: 50%;
    border: 1px solid rgba(229, 198, 127, 0.14);
    border-top-color: var(--primary-light);
    animation: ploSpin 1.1s linear infinite;
}
@keyframes ploLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes ploSpin { to { transform: rotate(360deg); } }

.preloader-bar {
    width: min(260px, 62vw); height: 3px;
    background: rgba(229, 198, 127, 0.14); border-radius: 4px; overflow: hidden;
}
.preloader-bar-fill {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    box-shadow: 0 0 12px rgba(198, 154, 67, 0.6);
    transition: width 0.2s var(--ease);
}
.preloader-count {
    font-family: 'Playfair Display', serif; font-size: 0.92rem;
    color: var(--primary-light); letter-spacing: 0.14em; margin-top: -10px;
}
.preloader-pct { opacity: 0.55; margin-left: 1px; }
.preloader-tagline {
    font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase;
    color: rgba(229, 198, 127, 0.6);
}

/* ===========================================================
   Scroll progress bar
   =========================================================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    z-index: 200; pointer-events: none; background: transparent;
}
.scroll-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-light));
    box-shadow: 0 0 10px rgba(198, 154, 67, 0.55);
}

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
[data-reveal] {
    opacity: 0; transform: translateY(34px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------------- Ticker ---------------- */
.ticker {
    background: var(--dark);
    color: var(--primary-light);
    overflow: hidden;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative; z-index: 101;
}
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-content { display: flex; flex-shrink: 0; }
.ticker-content span { padding: 9px 30px; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------------- Header ---------------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(246, 241, 231, 0.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.scrolled {
    box-shadow: var(--shadow);
    background: rgba(246, 241, 231, 0.97);
    border-bottom-color: var(--grey-light);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 50%; overflow: hidden;
    background: var(--dark);
    border: 1.5px solid var(--primary-light);
    box-shadow: 0 4px 14px rgba(21, 18, 13, 0.28);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); }
.logo-text {
    display: flex; flex-direction: column; line-height: 1;
    font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.34rem;
    color: var(--dark); letter-spacing: 0.06em;
}
.logo-text em {
    font-family: 'Inter', sans-serif; font-style: normal; font-weight: 600;
    font-size: 0.55rem; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--primary-dark); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-weight: 500; font-size: 0.94rem; color: var(--dark-light); position: relative; transition: color 0.2s var(--ease); }
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--primary); transition: width 0.25s var(--ease);
}
.nav-link:hover { color: var(--primary-dark); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    padding: 10px 22px; border-radius: 100px;
    background: var(--primary); color: var(--white); font-weight: 600; font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(198, 154, 67, 0.28);
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(154, 115, 39, 0.34); }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-btn {
    font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.7rem;
    letter-spacing: 0.04em; padding: 5px 9px; border-radius: 100px; cursor: pointer;
    background: transparent; color: var(--dark-light);
    border: 1px solid var(--grey-light);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang-btn:hover { border-color: var(--primary-light); color: var(--primary-dark); }
.lang-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.lang-btn[lang="ar"] { font-family: 'Cairo', sans-serif; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: 0.96rem;
    letter-spacing: 0.01em; cursor: pointer;
    transition: transform 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn-lg { padding: 16px 40px; font-size: 1.02rem; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 10px 26px rgba(198, 154, 67, 0.32); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(154, 115, 39, 0.40); }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--grey); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost--light { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost--light:hover { border-color: var(--primary-light); color: var(--primary-light); background: rgba(255, 255, 255, 0.04); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 8px;
    font-weight: 600; color: var(--primary-dark); letter-spacing: 0.02em;
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: -10% 0; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(circle at 50% 36%, rgba(20, 16, 10, 0.25), rgba(12, 9, 6, 0.72) 75%),
        linear-gradient(to bottom, rgba(12, 9, 6, 0.55), rgba(12, 9, 6, 0.45) 45%, rgba(12, 9, 6, 0.9));
}
.hero-inner { position: relative; z-index: 2; padding: 100px 24px 80px; }

.hero-logo { width: clamp(120px, 17vw, 168px); height: auto; margin: 0 auto 4px; mix-blend-mode: screen; }
.hero-eyebrow {
    display: inline-block; color: var(--primary-light); font-weight: 600;
    font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: '✦'; margin: 0 12px; opacity: 0.6; font-size: 0.7em; }
.hero-title {
    font-size: clamp(3rem, 9vw, 6.4rem); font-weight: 900; color: var(--white);
    letter-spacing: 0.02em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero-tagline { font-size: clamp(1.05rem, 2.4vw, 1.34rem); color: rgba(246, 241, 231, 0.86); margin: 18px auto 0; max-width: 540px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

.hero-scroll {
    position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
    width: 26px; height: 44px; border: 1.5px solid rgba(246, 241, 231, 0.45); border-radius: 100px;
    display: grid; justify-items: center; padding-top: 8px;
}
.hero-scroll-dot { width: 4px; height: 8px; border-radius: 4px; background: var(--primary-light); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translateY(12px); } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero orchestrated entrance (after preloader → body.loaded) */
.hero-logo, .hero-eyebrow, .hero-title, .hero-tagline, .hero-actions, .hero-scroll {
    opacity: 0; transform: translateY(26px);
}
body.loaded .hero-logo    { animation: heroIn 0.9s var(--ease-out) 0.10s forwards; }
body.loaded .hero-eyebrow { animation: heroIn 0.9s var(--ease-out) 0.26s forwards; }
body.loaded .hero-title   { animation: heroIn 1.0s var(--ease-out) 0.40s forwards; }
body.loaded .hero-tagline { animation: heroIn 0.9s var(--ease-out) 0.56s forwards; }
body.loaded .hero-actions { animation: heroIn 0.9s var(--ease-out) 0.70s forwards; }
body.loaded .hero-scroll  { animation: heroIn 1s var(--ease-out) 1s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .hero-logo, .hero-eyebrow, .hero-title, .hero-tagline, .hero-actions, .hero-scroll { opacity: 1; transform: none; animation: none; }
}

/* ===========================================================
   Section heads
   =========================================================== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 60px); }
.section-eyebrow { display: inline-block; color: var(--primary-dark); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 14px; }
.section-eyebrow--light { color: var(--primary-light); }
.section-title { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; color: var(--dark); }
.section-sub { color: var(--text-light); margin-top: 16px; font-size: 1.02rem; }

/* ===========================================================
   INTRO / STORY
   =========================================================== */
.intro { background: var(--off-white); }
.intro-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.intro-text .section-title { margin-bottom: 22px; }
.intro-text p { color: var(--text-light); margin-bottom: 16px; max-width: 50ch; }

.intro-media { position: relative; }
.intro-media-frame {
    position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
}
.intro-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.intro-media::before {
    content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: 0;
    border: 1.5px solid var(--primary); border-radius: var(--radius); opacity: 0.5;
}
.intro-media-badge {
    position: absolute; z-index: 2; left: -18px; bottom: 28px;
    background: var(--dark); color: var(--white); padding: 16px 22px;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: 3px;
}
.intro-media-badge strong { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--primary-light); }
.intro-media-badge span { font-size: 0.8rem; color: var(--grey); }

/* ===========================================================
   SIGNATURE DISHES
   =========================================================== */
.signature { background: linear-gradient(to bottom, var(--off-white), #efe6d6); }
.dish-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(260px, 27vw, 330px); gap: 18px;
}
.dish-card {
    position: relative; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); cursor: pointer; background: var(--dark);
}
.dish-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.dish-card:hover img { transform: scale(1.08); }
.dish-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(12, 9, 6, 0.86) 2%, rgba(12, 9, 6, 0.18) 48%, transparent 72%);
    transition: background 0.4s var(--ease);
}
.dish-card:hover .dish-overlay { background: linear-gradient(to top, rgba(12, 9, 6, 0.9) 6%, rgba(12, 9, 6, 0.3) 55%, rgba(154,115,39,0.1)); }
.dish-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.dish-tag {
    display: inline-block; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--dark); background: var(--primary-light);
    padding: 4px 11px; border-radius: 100px; margin-bottom: 11px;
}
.dish-info h3 { color: var(--white); font-size: 1.32rem; font-weight: 700; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); }
.signature-cta { text-align: center; margin-top: clamp(36px, 5vw, 52px); }

/* ===========================================================
   FEATURES
   =========================================================== */
.features { background: var(--off-white); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
    position: relative; background: var(--white); border: 1px solid var(--grey-light);
    border-radius: var(--radius); padding: 38px 26px 32px; text-align: center; overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center;
    font-size: 1.9rem; border-radius: 50%;
    background: linear-gradient(140deg, var(--grey-light), var(--off-white));
    border: 1px solid var(--grey-light);
    transition: transform 0.35s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { font-size: 1.22rem; color: var(--dark); margin-bottom: 9px; }
.feature-card p { color: var(--text-light); font-size: 0.93rem; }

/* ===========================================================
   EXPERIENCE / AMBIANCE band
   =========================================================== */
.experience {
    position: relative; overflow: hidden; text-align: center;
    padding: clamp(96px, 15vw, 168px) 0; background: var(--dark);
}
.experience-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.experience-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.experience-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(12, 9, 6, 0.55), rgba(12, 9, 6, 0.86));
}
.experience-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.experience-title { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 14px 0 28px; }
.experience-quote {
    font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500;
    font-size: clamp(1.3rem, 3.2vw, 2.1rem); line-height: 1.45; color: var(--off-white);
}
.experience-author { display: inline-block; margin-top: 24px; color: var(--primary-light); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; }

/* ===========================================================
   VISIT / CTA band
   =========================================================== */
.visit { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 132px) 0; background: var(--dark); }
.visit-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.visit-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.visit-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(12, 9, 6, 0.92), rgba(12, 9, 6, 0.66)); }
.visit-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.visit-title { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 14px 0 24px; max-width: 16ch; }
.visit-meta { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.visit-meta li { display: flex; align-items: center; gap: 12px; color: rgba(246, 241, 231, 0.86); font-size: 1.02rem; }
.visit-meta li span { font-size: 1.1rem; }
.visit-meta a:hover { color: var(--primary-light); }
.visit-action { flex-shrink: 0; }

/* ===========================================================
   MENU — hero (dark, cinematic)
   =========================================================== */
.menu-hero {
    position: relative; overflow: hidden; text-align: center; background: var(--dark);
    padding: clamp(96px, 13vw, 152px) 0 clamp(40px, 6vw, 64px);
}
.menu-hero-bg { position: absolute; inset: 0; z-index: 0; }
.menu-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.menu-hero-overlay { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 28%, rgba(12, 9, 6, 0.5), rgba(12, 9, 6, 0.92)); }
.menu-hero-inner { position: relative; z-index: 2; }
.menu-hero-logo { width: clamp(82px, 12vw, 110px); height: auto; margin: 0 auto 14px; mix-blend-mode: screen; }
.menu-hero-eyebrow { display: inline-block; color: var(--primary-light); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase; margin-bottom: 10px; }
.menu-hero-title { font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 900; color: var(--white); letter-spacing: 0.02em; }
.menu-hero-sub { color: rgba(246, 241, 231, 0.82); margin-top: 10px; font-weight: 300; }
.menu-hero-meta { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-top: 24px; }
.menu-hero-meta li, .menu-hero-meta a {
    display: inline-flex; align-items: center; gap: 8px; color: rgba(246, 241, 231, 0.9); font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(229, 198, 127, 0.22);
    padding: 8px 15px; border-radius: 100px;
}
.menu-hero-meta a { transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.menu-hero-meta a:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* Sticky category nav (dark) */
.cat-nav {
    position: sticky; top: var(--header-h); z-index: 90;
    background: rgba(21, 18, 13, 0.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-lighter);
}
.cat-nav-track { display: flex; gap: 9px; overflow-x: auto; padding: 13px 24px; scrollbar-width: none; }
.cat-nav-track::-webkit-scrollbar { display: none; }
.cat-nav-link {
    flex-shrink: 0; padding: 8px 16px; border-radius: 100px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(229, 198, 127, 0.2);
    font-weight: 500; font-size: 0.88rem; color: rgba(246, 241, 231, 0.82); white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cat-nav-link:hover { border-color: var(--primary-light); color: var(--primary-light); }
.cat-nav-link.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.cat-nav-emoji { margin-right: 6px; }

/* Menu body — refined two-column list */
.menu-body { padding: clamp(44px, 6vw, 64px) 24px 96px; }
.menu-cat { padding-top: 30px; margin-bottom: clamp(40px, 5vw, 58px); }
.menu-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.menu-cat-emoji {
    font-size: 1.45rem; width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 50%; background: linear-gradient(140deg, var(--grey-light), var(--off-white)); border: 1px solid var(--grey-light);
}
.menu-cat-title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; color: var(--dark); flex-shrink: 0; }
.menu-cat-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--primary-light), transparent); margin-top: 8px; }

.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.mrow { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--grey-light); border-radius: 12px; transition: background 0.2s var(--ease); }
.mrow-thumb { width: 92px; height: 92px; border-radius: 14px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow); transition: transform 0.3s var(--ease); }
.mrow.is-clickable { cursor: pointer; }
.mrow.is-clickable:hover { background: rgba(198, 154, 67, 0.07); padding-left: 10px; padding-right: 10px; }
.mrow.is-clickable:hover .mrow-thumb { transform: scale(1.05); }
.mrow.is-clickable:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mrow.is-clickable .mrow-name::after { content: '↗'; font-size: 0.72em; color: var(--primary); margin-left: 7px; opacity: 0; transition: opacity 0.2s var(--ease); }
.mrow.is-clickable:hover .mrow-name::after { opacity: 0.8; }
.mrow-body { flex: 1; min-width: 0; }
.mrow-top { display: flex; align-items: baseline; gap: 10px; }
.mrow-name { font-weight: 600; color: var(--dark); font-size: 1.02rem; }
.mrow-leader { flex: 1; border-bottom: 1.5px dotted var(--grey); transform: translateY(-3px); min-width: 16px; }
.mrow-price { flex-shrink: 0; font-family: 'Playfair Display', serif; font-weight: 800; color: var(--primary-dark); font-size: 1.1rem; }
.mrow-desc { color: var(--text-light); font-size: 0.86rem; margin-top: 4px; }
.mrow-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.badge { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.badge-new { background: rgba(198, 154, 67, 0.16); color: var(--primary-dark); }
.badge-pop { background: var(--dark); color: var(--primary-light); }
.badge-set { background: var(--grey-light); color: var(--dark-light); }

@media (max-width: 760px) {
    .menu-list { grid-template-columns: 1fr; gap: 0; }
}

.empty-state { text-align: center; padding: 100px 24px; color: var(--text-light); }

/* ---------------- Footer social ---------------- */
.footer-social {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
    color: var(--grey); font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s var(--ease);
}
.footer-social svg { color: var(--primary-light); }
.footer-social:hover { color: var(--primary-light); }

/* ===========================================================
   Item detail modal
   =========================================================== */
.item-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 22px; }
.item-modal[hidden] { display: none; }
.item-modal-backdrop { position: absolute; inset: 0; background: rgba(12, 9, 6, 0.66); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s var(--ease); }
.item-modal.is-open .item-modal-backdrop { opacity: 1; }
.item-modal-card {
    position: relative; z-index: 1; width: min(440px, 100%);
    background: var(--off-white); border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--grey-light);
    transform: translateY(24px) scale(0.97); opacity: 0;
    transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}
.item-modal.is-open .item-modal-card { transform: none; opacity: 1; }
.item-modal-figure { width: 100%; aspect-ratio: 4 / 3; background: var(--dark); overflow: hidden; }
.item-modal-figure img { width: 100%; height: 100%; object-fit: cover; }
.item-modal.no-image .item-modal-figure { display: none; }
.item-modal-body { padding: 26px 26px 30px; }
.item-modal-title { font-size: 1.6rem; font-weight: 800; color: var(--dark); }
.item-modal-price { display: inline-block; margin-top: 8px; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.35rem; color: var(--primary-dark); }
.item-modal-desc { margin-top: 14px; color: var(--text-light); font-size: 0.96rem; line-height: 1.65; }
.item-modal-desc:empty { display: none; }
.item-modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
    background: rgba(21, 18, 13, 0.55); color: var(--white);
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.item-modal-close:hover { background: var(--dark); transform: rotate(90deg); }
.item-modal.no-image .item-modal-close { background: var(--grey-light); color: var(--dark); }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .item-modal-backdrop, .item-modal-card { transition: none; }
}

/* ---------------- Footer ---------------- */
.footer { background: var(--dark); color: var(--grey); padding: clamp(56px, 7vw, 72px) 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-logo { width: 128px; height: auto; margin-bottom: 16px; mix-blend-mode: screen; }
.footer-brand p { color: var(--grey); font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: var(--primary-light); font-family: 'Inter', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col p { font-size: 0.93rem; margin-bottom: 9px; }
.footer-col a:hover, .footer-brand a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--dark-lighter); padding: 22px 0; }
.footer-bottom p { font-size: 0.84rem; color: var(--text-light); text-align: center; }

/* ---------------- WhatsApp FAB ---------------- */
.whatsapp-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 120;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; color: var(--white);
    background: #25D366; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------------- Error pages ---------------- */
.error-page { text-align: center; padding: 110px 0; }
.error-page--standalone { min-height: 100vh; display: grid; place-items: center; }
.error-code { font-family: 'Playfair Display', serif; font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; color: var(--primary-light); line-height: 1; }
.error-page h1 { font-size: 1.8rem; color: var(--dark); margin: 8px 0 12px; }
.error-page p { color: var(--text-light); margin-bottom: 26px; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1000px) {
    .dish-grid { grid-auto-rows: 210px; }
}
@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .intro-media { max-width: 460px; margin: 0 auto; width: 100%; }
    .intro-media::before { inset: 16px -16px -16px 16px; }
}
@media (max-width: 720px) {
    .burger { display: flex; }
    .nav {
        position: fixed; top: var(--header-h); right: 0;
        width: min(82vw, 320px); height: calc(100vh - var(--header-h));
        background: var(--off-white); border-left: 1px solid var(--grey-light);
        flex-direction: column; align-items: flex-start; gap: 4px;
        padding: 24px; transform: translateX(100%);
        transition: transform 0.3s var(--ease); box-shadow: var(--shadow-lg);
    }
    .nav.active { transform: translateX(0); }
    .nav-link { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--grey-light); }
    .nav-link::after { display: none; }
    .nav-cta { width: 100%; margin-top: 12px; }
    .lang-switch { width: 100%; padding: 12px 0; justify-content: flex-start; flex-wrap: wrap; }
    .dish-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .visit-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
    .feature-grid { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: 1fr; }
    .menu-card-img { width: 96px; }
    .dish-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .dish-card--tall { grid-row: span 1; }
    .hero-eyebrow::before, .hero-eyebrow::after { margin: 0 7px; }
    .intro-media-badge { left: 12px; right: 12px; }
}

/* ===========================================================
   RTL (Arabic)
   =========================================================== */
[dir="rtl"] body, body.rtl { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Cairo', 'Playfair Display', serif; }

[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .menu-card-top { flex-direction: row; }
[dir="rtl"] .scroll-progress span { background: linear-gradient(270deg, var(--primary-dark), var(--primary), var(--primary-light)); }
[dir="rtl"] .link-arrow span { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover span { transform: scaleX(-1) translateX(6px); }
[dir="rtl"] .intro-media::before { inset: 22px 22px -22px -22px; }
[dir="rtl"] .intro-media-badge { left: auto; right: -18px; }
[dir="rtl"] .feature-card::before { transform-origin: right; }
[dir="rtl"] .hero, [dir="rtl"] .menu-hero, [dir="rtl"] .section-head, [dir="rtl"] .error-page, [dir="rtl"] .experience { text-align: center; }

@media (max-width: 720px) {
    [dir="rtl"] .nav {
        right: auto; left: 0;
        border-left: 0; border-right: 1px solid var(--grey-light);
        transform: translateX(-100%);
    }
    [dir="rtl"] .nav.active { transform: translateX(0); }
}
[dir="rtl"] .whatsapp-fab { right: auto; left: 22px; }
