:root {
  --rose: #b3654a;
  --rose-light: #d1a08c;
  --rose-dim: rgba(179, 101, 74, 0.14);
  --background: #0a0a0a;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --text-primary: #fdf9ec;
  --text-secondary: rgba(253, 249, 236, 0.62);
  --border: rgba(255, 255, 255, 0.08);
  --font-en: "Fraunces", "Times New Roman", serif;
  --font-en-body: "Inter", system-ui, sans-serif;
  --font-ar: "Tajawal", "Segoe UI", sans-serif;
}

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

html, body {
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-en-body);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

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

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.24;
  will-change: transform;
}
.ambient .blob-1 {
  width: 560px; height: 560px;
  background: var(--rose);
  top: -140px; right: -120px;
  animation: drift1 24s ease-in-out infinite;
}
.ambient .blob-2 {
  width: 460px; height: 460px;
  background: var(--rose-light);
  bottom: 10%; left: -160px;
  opacity: 0.16;
  animation: drift2 28s ease-in-out infinite;
}
.ambient .blob-3 {
  width: 380px; height: 380px;
  background: var(--rose);
  bottom: -200px; right: 8%;
  opacity: 0.14;
  animation: drift3 32s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, 70px); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -40px); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -60px); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

section, .nav, footer, .hero { position: relative; z-index: 2; }

.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(14px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 19px;
  letter-spacing: -0.01em;
  justify-self: start;
}
body[dir="rtl"] .brand { font-family: var(--font-ar); font-weight: 700; }

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--rose-dim);
  border: 1px solid rgba(179, 101, 74, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-light);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand:hover .mark {
  border-color: var(--rose);
  background: var(--rose);
  color: #0a0a0a;
  transform: rotate(-8deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
}

.nav-links a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rose);
  transition: right 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.lang-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lang-toggle:hover { border-color: var(--rose); background: var(--rose-dim); }

.nav-cta {
  background: var(--rose);
  color: #0a0a0a;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); background: var(--rose-light); }

@media (max-width: 760px) {
  .nav { grid-template-columns: auto auto; padding: 16px 20px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--background);
    padding: 8px 24px 32px;
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 19;
  }
  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-self: unset;
  }
  .nav-links a {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    font-size: 16px;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    justify-self: unset;
  }
  .nav-actions .lang-toggle { width: 100%; text-align: center; padding: 12px 16px; }
  .nav-actions .nav-cta { width: 100%; text-align: center; justify-content: center; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 96px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.55) 60%, #0a0a0a 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-light);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
body[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; }

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--rose-light);
}

h1 {
  font-family: var(--font-en);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
body[dir="rtl"] h1 { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; }

.hero p.lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.btn-primary { background: var(--rose); color: #0a0a0a; font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); background: var(--rose-light); }

.btn-ghost { border: 1px solid var(--border); color: var(--text-primary); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--rose); }

/* Sections */
section { padding: 120px 0; }

.section-head { max-width: 620px; margin-bottom: 64px; }

.section-eyebrow {
  color: var(--rose-light);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
body[dir="rtl"] .section-eyebrow { letter-spacing: 0; text-transform: none; }

h2 {
  font-family: var(--font-en);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}
body[dir="rtl"] h2 { font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; }

.section-head p { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }

/* Story */
#story {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: clamp(160px, 26vw, 340px);
  color: var(--text-primary);
  opacity: 0.035;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-grid img { border-radius: 18px; aspect-ratio: 4/5; object-fit: cover; }
.story-grid .text p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }

@media (max-width: 820px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.menu-card:hover { transform: translateY(-4px); border-color: var(--rose); }

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

.menu-card-body { padding: 20px; }

.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.menu-card-top h3 { font-size: 17px; font-weight: 600; }
.menu-card-top .price { color: var(--rose-light); font-size: 14px; white-space: nowrap; }
.menu-card-body p.desc { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .menu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .hero { padding: 0 0 64px; }
  .subhero { padding: 120px 20px 48px; }
  .form-wrap { padding: 0 20px 80px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .location-info { padding: 32px 24px; }
  footer { padding: 40px 0; text-align: center; justify-content: center; }
}

/* Location */
.location-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.location-panel img { height: 100%; object-fit: cover; }
.location-info { padding: 56px; background: var(--surface); }
.location-info .row { margin-bottom: 28px; }
.location-info .label { color: var(--rose-light); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
body[dir="rtl"] .location-info .label { letter-spacing: 0; text-transform: none; }
.location-info .value { font-size: 16px; line-height: 1.6; color: var(--text-primary); }
.location-info .value.muted { color: var(--text-secondary); }

@media (max-width: 820px) {
  .location-panel { grid-template-columns: 1fr; }
  .location-panel img { aspect-ratio: 16/9; }
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 13px;
}
footer .brand { font-size: 15px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.menu-grid .reveal:nth-child(1) { transition-delay: 0s; }
.menu-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.menu-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.menu-grid .reveal:nth-child(4) { transition-delay: 0s; }
.menu-grid .reveal:nth-child(5) { transition-delay: 0.08s; }
.menu-grid .reveal:nth-child(6) { transition-delay: 0.16s; }

/* ── Sub-page hero ─────────────────────────────────────────── */
.subhero {
  padding: 160px 24px 56px;
  text-align: center;
  background: radial-gradient(ellipse 700px 400px at 50% -10%, var(--rose-dim) 0%, transparent 70%);
}
.subhero .eyebrow { justify-content: center; }
.subhero .eyebrow::before { display: none; }
.subhero h1 { font-size: clamp(34px, 5vw, 52px); }
.subhero p { color: var(--text-secondary); max-width: 480px; margin: 0 auto; line-height: 1.6; font-size: 15px; }

/* ── Forms (reservation) ───────────────────────────────────── */
.form-wrap { max-width: 620px; margin: 0 auto; padding: 0 24px 120px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.form-group label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
body[dir="rtl"] .form-group label { letter-spacing: 0; text-transform: none; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--background); border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px;
  color: var(--text-primary); font-family: inherit; font-size: 15px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--rose); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%; padding: 16px; border-radius: 999px; background: var(--rose); color: #0a0a0a;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer; margin-top: 8px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.form-submit:hover { transform: translateY(-2px); background: var(--rose-light); }

.confirm-panel { display: none; text-align: center; padding: 20px 0; }
.confirm-panel.show { display: block; }
.confirm-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--rose-dim);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.confirm-panel h3 { font-family: var(--font-en); font-size: 26px; margin-bottom: 12px; }
body[dir="rtl"] .confirm-panel h3 { font-family: var(--font-ar); font-weight: 700; }
.confirm-panel p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 6px; }
.confirm-ref { font-size: 13px; color: var(--rose-light); letter-spacing: 0.04em; margin-top: 18px; direction: ltr; unicode-bidi: isolate; }
