/* ========================
   CAIRO FONT (LOCAL)
======================== */
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/Cairo/Cairo-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}

/* ========================
   CSS VARIABLES
======================== */
:root {
  --primary:        #8B1A2B;
  --primary-dark:   #6e1522;
  --gold:           #D4A84B;
  --gold-light:     #F5E6C8;
  --bg:             #0D0D0D;
  --bg-2:           #111111;
  --bg-card:        #1A1A1A;
  --bg-nav:         rgba(13, 13, 13, 0.96);
  --text:           #FFFFFF;
  --text-secondary: #B0B0B0;
  --border-gold:    1px solid rgba(212, 168, 75, 0.25);
  --transition:     0.3s ease;
  --font-ar:        'Cairo', sans-serif;
  --font-en-h:      'Playfair Display', serif;
  --font-en-b:      'Inter', sans-serif;
}

/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html[lang="ar"] { font-family: var(--font-ar); }
html[lang="en"] { font-family: var(--font-en-b); }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========================
   LANGUAGE VISIBILITY
======================== */
html[lang="ar"] .en-only { display: none !important; }
html[lang="en"] .ar-only { display: none !important; }

/* ========================
   TYPOGRAPHY
======================== */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-family: var(--font-ar); font-weight: 700; }

html[lang="en"] h1,
html[lang="en"] h2 { font-family: var(--font-en-h); }

html[lang="en"] h3 { font-family: var(--font-en-b); font-weight: 600; }

.section-label {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text);
  line-height: 1.2;
}

.gold-line {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem auto 2.5rem;
}

.section-header { text-align: center; }
.section-header .gold-line { margin: 1.25rem auto 2.5rem; }

/* ========================
   BUTTONS
======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,43,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,75,0.3);
}

/* ========================
   NAVBAR
======================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-gold);
}

.nav-logo {
  font-family: var(--font-ar);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: inline-start;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-end {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}
.lang-btn:hover { background: var(--gold); color: var(--bg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,0.98);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .lang-btn {
  font-size: 0.95rem;
  padding: 0.5rem 1.5rem;
  margin-top: 1rem;
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.55) 0%,
    rgba(13,13,13,0.65) 60%,
    rgba(13,13,13,0.9) 100%
  );
}

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

.hero-eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.hero-name {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.hero-slogan {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold-light);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.hero-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-hours::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   SECTIONS
======================== */
.section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ========================
   ABOUT
======================== */
.about-section { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-label { text-align: start; }

.about-text .gold-line { margin: 1rem 0 1.75rem; }

.about-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: var(--border-gold);
}
.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover img { transform: scale(1.05); }
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,168,75,0.3);
  border-radius: 8px;
  pointer-events: none;
}

/* ========================
   FEATURED DISHES
======================== */
.featured-section { background: var(--bg-2); }

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dish-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: var(--border-gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(212,168,75,0.12);
}

.dish-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.dish-body { padding: 1.25rem; }

.dish-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.dish-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  min-height: 2.5rem;
}

.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dish-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}
.dish-price .sar {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.section-cta { text-align: center; margin-top: 0.5rem; }

/* ========================
   REVIEWS
======================== */
.reviews-section { background: var(--bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.75rem;
  border: var(--border-gold);
  position: relative;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.review-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.reviewer-name {
  font-size: 0.88rem;
  font-weight: 600;
}
.reviewer-date {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ========================
   CONTACT
======================== */
.contact-section { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item { display: flex; gap: 1rem; align-items: flex-start; }

.c-icon {
  width: 44px; height: 44px;
  background: rgba(139,26,43,0.15);
  border: 1px solid rgba(139,26,43,0.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.c-text h4 {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.c-text p, .c-text a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
.c-text a:hover { color: var(--gold); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.25rem; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.hours-table td { padding: 0.4rem 0; font-size: 0.85rem; color: var(--text-secondary); }
.hours-table td.day-name { color: var(--text); }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: var(--border-gold);
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%) brightness(0.9); }

/* ========================
   FOOTER
======================== */
footer {
  background: #080808;
  border-top: var(--border-gold);
  padding: 3rem 2rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-ar);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 42px; height: 42px;
  border: var(--border-gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy { color: var(--text-secondary); font-size: 0.82rem; }
.footer-credit { color: var(--text-secondary); font-size: 0.82rem; transition: color var(--transition); }
.footer-credit:hover { color: var(--gold); }
.footer-credit strong { color: var(--gold); }

/* ========================
   WHATSAPP FLOAT
======================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  inset-inline-end: 1.75rem;
  z-index: 998;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  animation: wa-pulse 2.5s infinite;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.12); animation: none; box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50%  { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
  100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
}

/* ========================
   SCROLL ANIMATIONS
======================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================
   MENU PAGE
======================== */
.menu-page-hero {
  padding: 7.5rem 2rem 3rem;
  text-align: center;
  background: linear-gradient(160deg, #1a0810 0%, var(--bg) 100%);
  border-bottom: var(--border-gold);
}
.menu-page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.menu-page-hero p { color: var(--text-secondary); font-size: 1rem; }

.menu-main { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 5rem; }

.cat-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: 1px solid rgba(212,168,75,0.25);
  color: var(--text-secondary);
  padding: 0.55rem 1.2rem;
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

.cat-section { display: none; animation: fadeInSection 0.35s ease; }
.cat-section.active { display: block; }
@keyframes fadeInSection { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.cat-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: var(--border-gold);
}
.cat-heading h2 { font-size: 1.6rem; }
.cat-count {
  background: rgba(212,168,75,0.12);
  color: var(--gold);
  padding: 0.2rem 0.65rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.menu-item {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 1.25rem;
  border: var(--border-gold);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.menu-item:hover { border-color: rgba(212,168,75,0.55); }

.mi-img {
  width: 82px; height: 82px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.mi-img.placeholder {
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.mi-info { flex: 1; min-width: 0; }
.mi-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.mi-name-en { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 0.4rem; font-style: italic; }
.mi-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.45; margin-bottom: 0.6rem; }
.mi-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.mi-price .sar { font-size: 0.72rem; font-weight: 400; color: var(--text-secondary); margin-inline-end: 2px; }

.cat-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.cat-showcase img {
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border: var(--border-gold);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  .dishes-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 1.25rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .navbar { padding: 0.9rem 1.25rem; }

  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  html[dir="rtl"] .about-grid .about-img-wrap { order: -1; }

  .dishes-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .menu-grid { grid-template-columns: 1fr; }
  .menu-main { padding: 2rem 1.25rem 4rem; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.2rem; }
  .about-stats { gap: 1.5rem; }
  .wa-float { bottom: 1.25rem; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}
