/* قالب "مطعم" */

:root {
  --primary: #9f1239;
  --primary-dark: #7f1d1d;
  --accent: #d97706;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
  --cream: #fdf6ec;
  --bg: #ffffff;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(28, 25, 23, 0.1);
  --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-heading: var(--font-body);
  --head-bg: #9f1239;
  --head-ink: #ffffff;
  --foot-bg: #1c1917;
  --foot-ink: #d6d3d1;
  --foot-head: #ffffff;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
}

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

/* `img{display:block}` أعلاه من أنماط المؤلّف، وقاعدة المتصفح
   `[hidden]{display:none}` من أنماط الوكيل — والمؤلّف يغلب الوكيل مهما
   كانت الأخصّية. فبلا هذا السطر يظهر شقّ الشعار المخفيّ مربّعًا فارغًا
   في الشريط. قِيس ورُئي. */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.3; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.btn {
  display: inline-block;
  padding: .8rem 1.7rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.visit .btn-ghost { color: var(--primary); }
.visit .btn-ghost:hover { background: var(--cream); }

/* الترويسة */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand { font-weight: 900; font-size: 1.5rem; }
.nav { display: flex; gap: 1.8rem; font-weight: 600; }
.nav a:hover { color: #fde68a; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* الواجهة: خلفية صورة */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: #3f1d1d;
  background-size: cover;
  background-position: center;
  padding: 7rem 0 4rem;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 10, 10, .78) 0%, rgba(20, 10, 10, .35) 100%);
}
.hero-inner { position: relative; max-width: 40rem; }
.eyebrow { color: #fde68a; font-weight: 700; letter-spacing: .05em; margin-bottom: .4rem; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* القائمة */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); }

.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.dish {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: box-shadow .2s, transform .2s;
}
.dish:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dish img { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; }
.dish-body { padding: 1.1rem 1.2rem 1.3rem; }
.dish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.dish-head h3 { margin: 0; }
.price { color: var(--primary); font-weight: 900; white-space: nowrap; }
.price::after { content: " د.ع"; font-size: .8em; font-weight: 600; color: var(--muted); }
.dish p { color: var(--muted); margin: .4rem 0 0; font-size: .97rem; }

/* القصة */
.story { background: var(--cream); }
.story-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.story-art img { border-radius: var(--radius); box-shadow: var(--shadow); }
blockquote {
  margin: 1.5rem 0 0;
  padding: 0 1.2rem;
  border-inline-start: 4px solid var(--accent);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
}

/* الزيارة */
.visit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.visit-card { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.visit-cta { background: var(--primary); color: #fff; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.visit-cta .phone { font-size: 1.5rem; font-weight: 900; margin: 0; }
.visit-cta .btn { background: #fff; color: var(--primary); }
.visit-cta .btn:hover { background: #fde68a; }


@media (max-width: 860px) {
  .dishes { grid-template-columns: 1fr 1fr; }
  .story-inner, .visit-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 76px;
    flex-direction: column;
    gap: 0;
    background: rgba(20, 10, 10, .96);
    padding: .5rem 1.5rem 1rem;
  }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav.open { display: flex; }
}
@media (max-width: 560px) {
  .dishes { grid-template-columns: 1fr; }
}

/* ── شقوق المنصة: الشعار ومبدّل اللغة وألوان الشريط والتذييل ──
   تُكتب في آخر الورقة كي تغلب قواعد الشريط والتذييل أعلاه بلا حذفها. */

.site-header { background: var(--head-bg); color: var(--head-ink); }
.site-header .brand { color: inherit; }

.brand { display: flex; align-items: center; gap: .6rem; }
/* الشقّان مخفيّان حتى يرفع العميل شعارًا، فموقعٌ بلا شعار يعرض اسمه
   نصًّا كما كان. */
.brand-logo { height: var(--logo-h, 80px); width: auto; max-width: 340px; object-fit: contain; }
.foot-logo { height: var(--logo-h, 80px); width: auto; max-width: 340px; object-fit: contain; margin-bottom: .8rem; }

.lang-switch {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .28rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.lang-switch:hover { border-color: var(--primary, currentColor); color: var(--primary, currentColor); }

.site-footer { background: var(--foot-bg); color: var(--foot-ink); padding: 3rem 0 0; text-align: start; border-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-col h3 { color: var(--foot-head); font-size: 1.05rem; margin-bottom: .7rem; }
.footer-col p { margin: 0 0 .5rem; font-size: .95rem; }
.footer-col a:hover { color: var(--foot-head); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0; text-align: center; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.site-footer [dir="ltr"] { display: inline-block; }

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

/* الشريط كان شفافًا فوق الواجهة؛ صار لاصقًا بلون قابل للتعديل. */
.site-header { position: sticky; top: 0; }
