/* ===== TOKENS ===== */
:root {
  --sand: #F5EFE3;
  --sand-deep: #EDE3D0;
  --gold: #D4A843;
  --gold-light: #E8C96A;
  --gold-dim: rgba(212,168,67,.12);
  --teal: #1A7B6D;
  --teal-light: #28A898;
  --navy: #1B2A4A;
  --navy-deep: #111E34;
  --terracotta: #C75B39;
  --text: #2C2418;
  --text-mid: #6B5D4F;
  --text-light: #9A8D7E;
  --white: #FFFFFF;
  --surface: #FFFFFF;
  --border: #DDD2C1;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-arabic: 'Noto Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --max-w: 960px;
  --header-h: 64px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { background: var(--sand); color: var(--text); font-family: var(--font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: var(--font-arabic); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); height: var(--header-h);
  border-bottom: 1px solid rgba(212,168,67,.15);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; gap: 1rem;
}
.logo {
  font-family: var(--font-display); font-size: 1.4rem; color: #F5EFE3;
  letter-spacing: .04em; font-weight: 400;
}
.logo span { color: var(--gold); }

.nav { display: flex; gap: .25rem; }
.nav-link {
  color: rgba(245,239,227,.65); font-size: .78rem; font-weight: 500;
  padding: .4rem .75rem; border-radius: 4px; letter-spacing: .03em;
  transition: color .2s, background .2s; text-transform: uppercase;
}
.nav-link:hover { color: #F5EFE3; background: rgba(255,255,255,.06); }

.header-right { display: flex; align-items: center; gap: .75rem; }
.lang-switch { display: flex; gap: 3px; }
.lang-btn {
  padding: .25rem .5rem; font-size: .68rem; font-weight: 600;
  color: rgba(245,239,227,.5); border-radius: 3px; letter-spacing: .05em;
  transition: all .2s;
}
.lang-btn:hover { color: #F5EFE3; }
.lang-btn.active { background: var(--gold); color: var(--navy); }

.header-phone {
  color: var(--gold); font-size: .8rem; font-weight: 500;
  letter-spacing: .03em; white-space: nowrap;
}
.burger { display: none; flex-direction: column; gap: 4px; padding: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: #F5EFE3; border-radius: 1px; transition: .3s; }

@media (max-width: 860px) {
  .nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--navy-deep); flex-direction: column; padding: 1rem; gap: 0;
    border-bottom: 2px solid var(--gold-dim); }
  .nav.open { display: flex; }
  .nav-link { padding: .75rem 1rem; font-size: .88rem; border-radius: 6px; }
  .burger { display: flex; }
  .header-phone { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; color: #F5EFE3;
  padding: calc(var(--header-h) + 2rem) 2rem 3rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero.png') center/cover no-repeat;
  background-color: var(--navy-deep);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,30,52,.7) 0%, rgba(17,30,52,.5) 50%, rgba(17,30,52,.8) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-ornament { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
.ornament-line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ornament-diamond { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

.hero h1 { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 5rem); font-weight: 400; letter-spacing: .06em; line-height: 1.1; margin-bottom: .5rem; }
.hero h1 span { color: var(--gold); }

.hero-tagline { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; color: var(--gold-light); margin-bottom: .75rem; }
.hero-concept { font-size: .92rem; opacity: .7; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.btn {
  padding: .7rem 1.8rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; border-radius: 4px;
  transition: all .25s; display: inline-block;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border: 1px solid rgba(245,239,227,.3); color: #F5EFE3; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.hero-social-link {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(245,239,227,.35); border-radius: 50%; color: rgba(245,239,227,.7);
  transition: all .25s;
}
.hero-social-link:hover { color: var(--gold); border-color: var(--gold); transform: scale(1.1); }
.hero-social-link svg { width: 26px; height: 26px; }

.hero-location { font-size: .78rem; opacity: .45; display: flex; align-items: center; justify-content: center; gap: .4rem; letter-spacing: .1em; text-transform: uppercase; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark { background: var(--navy); color: #F5EFE3; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-eyebrow { display: inline-block; font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.section-title h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 400; letter-spacing: .03em; }
.section-title--light h2 { color: #F5EFE3; }
.title-ornament { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; }
.title-ornament span:first-child, .title-ornament span:last-child { width: 40px; height: 1px; background: var(--gold); opacity: .4; }
.title-ornament span:nth-child(2) { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ===== MENU ===== */
.menu-tabs {
  display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.menu-tab {
  padding: .4rem 1rem; font-size: .75rem; font-weight: 500; color: var(--text-mid);
  border-radius: 20px; cursor: pointer; transition: all .2s; letter-spacing: .03em;
  border: 1px solid transparent;
}
.menu-tab:hover { color: var(--text); background: var(--gold-dim); }
.menu-tab.active { background: var(--navy); color: #F5EFE3; border-color: var(--navy); }

.menu-category { margin-bottom: 2.5rem; display: none; }
.menu-category.visible { display: block; }

.menu-cat-banner {
  width: 100%; height: 220px; object-fit: cover; border-radius: 10px;
  margin-bottom: 1.25rem; display: block;
}

.menu-cat-header {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
  color: var(--text); padding-bottom: .6rem; margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--gold-dim); letter-spacing: .02em;
}

.menu-item {
  display: flex; flex-wrap: wrap; align-items: baseline;
  padding: .6rem 0; gap: .25rem;
}
.menu-item-top {
  display: flex; align-items: baseline; width: 100%; gap: .5rem;
}
.menu-item-name {
  font-size: .95rem; font-weight: 500; color: var(--text); white-space: nowrap;
}
.menu-item-dots {
  flex: 1; border-bottom: 1px dotted var(--border);
  min-width: 30px; margin-bottom: .35em;
}
.menu-item-price {
  font-family: var(--font-display); font-size: 1rem; color: var(--teal);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.menu-item-price small { font-family: var(--font-body); font-size: .65rem; color: var(--text-light); margin-inline-start: .2rem; }
.menu-item-desc {
  width: 100%; font-size: .8rem; color: var(--text-mid); line-height: 1.5;
  padding-inline-start: 0; margin-top: .1rem;
}

.menu-tax { text-align: center; font-size: .78rem; color: var(--text-light); margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.about-text p { font-size: .95rem; margin-bottom: 1rem; color: rgba(245,239,227,.8); }
.about-highlight { background: rgba(212,168,67,.08); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 6px 6px 0; font-weight: 500; color: #F5EFE3 !important; }

.about-image { position: relative; }
.about-photo { width: 100%; border-radius: 10px; object-fit: cover; max-height: 400px; }
.image-placeholder {
  background: rgba(255,255,255,.05); border: 2px dashed rgba(212,168,67,.2);
  border-radius: 10px; padding: 3rem 2rem; text-align: center;
  color: rgba(245,239,227,.3); display: flex; flex-direction: column;
  align-items: center; gap: .75rem; min-height: 240px; justify-content: center;
}
.image-placeholder svg { width: 48px; height: 48px; }
.image-placeholder span { font-size: .82rem; }
.section--sand .image-placeholder { background: var(--sand-deep); border-color: var(--border); color: var(--text-light); }
.image-placeholder.wide { margin: 1.5rem 0; min-height: 180px; }

.cooking-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.method {
  text-align: center; padding: 2rem 1.25rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(212,168,67,.1);
  border-radius: 10px;
}
.method-icon { margin: 0 auto .75rem; width: 48px; height: 48px; color: var(--gold); }
.method-icon svg { width: 100%; height: 100%; }
.method h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 400; margin-bottom: .3rem; color: #F5EFE3; }
.method p { font-size: .82rem; color: rgba(245,239,227,.55); }

.about-ratings {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.rating {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(212,168,67,.12);
  padding: .75rem 1.5rem; border-radius: 8px;
}
.rating-score { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); }
.rating-label { font-size: .78rem; color: rgba(245,239,227,.6); line-height: 1.3; }
.rating-label small { font-size: .65rem; opacity: .7; }

@media (max-width: 700px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cooking-methods { grid-template-columns: 1fr; }
  .about-ratings { gap: 1rem; }
}

/* ===== ARTICLE ===== */
.article-content { max-width: 720px; margin: 0 auto; }
.article-block { margin-bottom: 2.5rem; }
.article-block h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; margin-bottom: 1rem; color: var(--text); }
.article-block p { font-size: .95rem; color: var(--text-mid); margin-bottom: 1rem; }
.article-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 10px; margin: 1rem 0 1.5rem; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
}
.gallery-item {
  overflow: hidden; border-radius: 6px; position: relative; cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item--wide {
  grid-column: span 2; aspect-ratio: 2/1;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(27,42,74,.3));
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-follow {
  text-align: center; margin-top: 2rem;
}
.gallery-follow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--teal);
  border: 1px solid var(--teal); padding: .5rem 1.25rem; border-radius: 6px;
  transition: all .2s;
}
.gallery-follow-link:hover { background: var(--teal); color: #fff; }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; }
}

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.review-card {
  background: var(--sand); border-radius: 10px; padding: 1.5rem;
  border: 1px solid var(--border); position: relative;
}
.review-card::before {
  content: '\201C'; position: absolute; top: .5rem; left: 1rem;
  font-family: var(--font-display); font-size: 3rem; color: var(--gold-dim); line-height: 1;
}
.review-text { font-size: .88rem; color: var(--text-mid); font-style: italic; margin-bottom: .75rem; padding-top: .5rem; }
.review-author { font-size: .78rem; font-weight: 600; color: var(--text); }
.review-source { font-size: .65rem; color: var(--text-light); }

.reviews-links { display: flex; justify-content: center; gap: 1rem; }
.review-link {
  font-size: .78rem; font-weight: 600; color: var(--teal);
  padding: .4rem 1rem; border: 1px solid var(--teal); border-radius: 4px;
  transition: all .2s; letter-spacing: .03em;
}
.review-link:hover { background: var(--teal); color: #fff; }

/* ===== CONTACTS ===== */
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-card {
  text-align: center; padding: 2rem 1.25rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(212,168,67,.1);
  border-radius: 10px;
}
.contact-icon { width: 40px; height: 40px; color: var(--gold); margin: 0 auto .75rem; }
.contact-icon svg { width: 100%; height: 100%; }
.contact-card h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: .5rem; color: #F5EFE3; }
.contact-card p { font-size: .85rem; color: rgba(245,239,227,.65); }
.contact-detail { font-size: .8rem !important; color: rgba(245,239,227,.45) !important; margin-top: .25rem; }
.contact-phone { display: block; font-size: 1.1rem; color: var(--gold); font-weight: 500; margin-bottom: .5rem; }
.contact-hours { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-top: .25rem; }
.contact-link {
  display: inline-block; margin-top: .75rem; font-size: .75rem; font-weight: 600;
  color: var(--gold); border: 1px solid rgba(212,168,67,.25); padding: .3rem .8rem;
  border-radius: 4px; letter-spacing: .04em; transition: all .2s;
}
.contact-link:hover { background: rgba(212,168,67,.1); }
.contact-link.whatsapp { border-color: #25D366; color: #25D366; }
.contact-link.whatsapp:hover { background: rgba(37,211,102,.1); }

@media (max-width: 700px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep); color: rgba(245,239,227,.35);
  padding: 2rem; text-align: center; border-top: 1px solid rgba(212,168,67,.08);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; color: rgba(245,239,227,.5); }
.footer-logo span { color: var(--gold); opacity: .6; }
.footer-social { display: flex; justify-content: center; gap: 1.5rem; margin: 1.25rem 0; }
.footer-social a {
  color: rgba(245,239,227,.55); transition: all .25s;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245,239,227,.15); border-radius: 50%;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: scale(1.1); }
.footer-social svg { width: 24px; height: 24px; }
.footer-copy { font-size: .7rem; letter-spacing: .08em; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 8px 40px rgba(0,0,0,.5);
  animation: lbFadeIn .25s ease;
}
@keyframes lbFadeIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.5rem;
  font-size: 2.5rem; color: #fff; background: none; border: none;
  cursor: pointer; line-height: 1; opacity: .7; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2.5rem; color: #fff; background: rgba(255,255,255,.1);
  border: none; cursor: pointer; padding: .4rem .8rem; border-radius: 4px;
  opacity: .7; transition: opacity .2s, background .2s;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(255,255,255,.2); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 500;
}

@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { font-size: 1.8rem; padding: .3rem .6rem; }
  .lightbox-close { font-size: 2rem; }
}

/* ===== RTL ===== */
[dir="rtl"] .about-highlight { border-left: none; border-right: 3px solid var(--gold); }
[dir="rtl"] .menu-item-name { font-family: var(--font-arabic); }
