/* =========================================
   عشش تهامة — Luxury Minimal / RTL
   ========================================= */
:root {
  --primary: #69181F;
  --primary-dark: #4c1016;
  --secondary: #E9E5E4;
  --gold: #C8A96A;
  --gold-light: #ddc696;
  --ink: #2b2223;
  --muted: #7d6f70;
  --white: #ffffff;
  --radius: 18px;
  --shadow-soft: 0 10px 40px rgba(105, 24, 31, 0.10);
  --shadow-hover: 0 22px 60px rgba(105, 24, 31, 0.18);
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Almarai', sans-serif;
  color: var(--ink);
  background: var(--secondary);
  line-height: 1.8;
  overflow-x: hidden;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b3924f);
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(200, 169, 106, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(200, 169, 106, 0.5); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.08);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }

/* ---------- الفاصل الذهبي ---------- */
.gold-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 1rem auto 1.5rem; color: var(--gold);
}
.gold-divider::before, .gold-divider::after {
  content: ''; height: 1px; width: 70px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-divider.right { justify-content: flex-start; margin-inline: 0; }

/* ---------- شريط التنقل ---------- */
.navbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.6rem 0;
  background: rgba(105, 24, 31, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0,0,0,0.18);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-mark { color: var(--gold); font-size: 1.3rem; }
.logo-text {
  font-family: 'Amiri', serif; font-size: 1.6rem; font-weight: 700; color: var(--white);
}
.logo-text em { font-style: normal; color: var(--gold); }

.nav-links { display: flex; gap: 1.8rem; }
.nav-link {
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 700;
  font-size: 0.98rem; position: relative; padding-bottom: 4px; transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; right: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.35s ease; border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { padding: 0.55rem 1.6rem; font-size: 0.92rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.hamburger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 3px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -12% 0;
  background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(76,16,22,0.72) 0%, rgba(105,24,31,0.55) 50%, rgba(43,10,13,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 7rem 0 5rem; }
.hero-kicker {
  color: var(--gold-light); letter-spacing: 0.35em; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem;
}
.hero-title {
  font-family: 'Amiri', serif; font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700; line-height: 1.2; text-shadow: 0 6px 40px rgba(0,0,0,0.4);
}
.hero-title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 560px; margin: 0 auto 2.2rem; font-size: 1.15rem; color: rgba(255,255,255,0.88); font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-hint {
  position: absolute; bottom: 2rem; right: 50%; transform: translateX(50%);
  width: 26px; height: 44px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px; z-index: 2;
}
.scroll-hint span {
  position: absolute; top: 8px; right: 50%; transform: translateX(50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 3px;
  animation: scrollDot 1.8s infinite ease-in-out;
}
@keyframes scrollDot { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ---------- الأقسام العامة ---------- */
.section { padding: 6rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.25em; font-size: 0.85rem; margin-bottom: 0.4rem; }
.section-title { font-family: 'Amiri', serif; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--primary); }

/* ---------- بطاقات الأطباق ---------- */
.featured-grid, .menu-grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.dish-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: var(--transition);
  display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.dish-media { position: relative; height: 220px; overflow: hidden; }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dish-card:hover .dish-media img { transform: scale(1.08); }
.badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(200, 169, 106, 0.92); color: var(--primary-dark);
  padding: 0.3rem 0.9rem; border-radius: 30px; font-size: 0.78rem; font-weight: 800;
  backdrop-filter: blur(4px);
}
.dish-body { padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.dish-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.dish-row h3 { font-family: 'Amiri', serif; font-size: 1.35rem; color: var(--primary); }
.price {
  color: var(--gold); font-weight: 800; font-size: 1.05rem; white-space: nowrap;
}
.dish-body p { color: var(--muted); font-size: 0.92rem; }

.featured { background: linear-gradient(180deg, var(--secondary) 0%, #f6f3f2 100%); }
.featured-card { border: 1px solid rgba(200, 169, 106, 0.35); }

/* ---------- تبويبات المنيو ---------- */
.menu-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2.5rem;
}
.tab {
  border: 1.5px solid rgba(105,24,31,0.2); background: transparent; color: var(--primary);
  padding: 0.55rem 1.4rem; border-radius: 40px; font-family: inherit; font-weight: 700;
  font-size: 0.92rem; cursor: pointer; transition: var(--transition);
}
.tab:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white); border-color: transparent;
  box-shadow: 0 8px 22px rgba(105,24,31,0.3);
}
.dish-card.hidden { display: none; }

/* ---------- من نحن ---------- */
.about { background: linear-gradient(160deg, #fdfcfb 0%, var(--secondary) 100%); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-hover); position: relative; z-index: 1; }
.about-frame {
  position: absolute; inset: -18px 18px 18px -18px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: 0; opacity: 0.6;
}
.about-text .section-title { margin-bottom: 0; }
.about-text p { color: #5b4f50; margin-bottom: 1rem; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Amiri', serif; font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.stat-label { color: var(--gold); font-weight: 700; font-size: 0.85rem; }

/* ---------- التواصل ---------- */
.contact {
  background:
    linear-gradient(rgba(76,16,22,0.93), rgba(76,16,22,0.93)),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1600&q=60') center/cover fixed;
  color: var(--white);
}
.contact .section-title { color: var(--white); }
.contact-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
}
.contact-card { padding: 2rem 1.5rem; text-align: center; transition: var(--transition); }
.contact-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.13); border-color: rgba(200,169,106,0.5); }
.contact-icon { display: flex; justify-content: center; margin-bottom: 0.8rem; color: var(--gold); }
.contact-card h3 { font-family: 'Amiri', serif; color: var(--gold-light); margin-bottom: 0.4rem; font-size: 1.25rem; }
.contact-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding-top: 4rem; }
.footer-grid {
  display: grid; gap: 2.5rem; padding-bottom: 3rem;
  grid-template-columns: 1.5fr 1fr 1.2fr;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand p { margin: 1rem auto 1.2rem; font-size: 0.92rem; max-width: 280px; }
.socials { display: flex; gap: 0.7rem; justify-content: center; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(200,169,106,0.4); border-radius: 50%;
  color: var(--gold); text-decoration: none; font-size: 0.8rem; font-weight: 800;
  transition: var(--transition);
}
.socials a:hover { background: var(--gold); color: var(--primary-dark); transform: translateY(-3px); }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; text-align: center; }
.footer-col h4 { font-family: 'Amiri', serif; color: var(--gold); font-size: 1.15rem; margin-bottom: 0.5rem; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.92rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 1.3rem 0; text-align: center; font-size: 0.88rem;
}
.gold { color: var(--gold); }

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- تجاوب ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 110; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; background: rgba(76,16,22,0.96); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 1.3rem; }
  .contact { background-attachment: scroll; }
}
@media (max-width: 540px) {
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
