/* Dar Zafran — demo restaurant for Webmo Studio. Relative assets only. */
:root {
  --ink: #12100e;
  --ink-2: #1c1916;
  --ink-3: #2a2621;
  --cream: #f4ecdc;
  --cream-2: #e8dcc6;
  --sand: #d4c4a8;
  --saffron: #d4a017;
  --saffron-deep: #b07810;
  --pomegranate: #8e2a1f;
  --olive: #4a5340;
  --paper: #fbf7ef;
  --muted: #9a8f7e;
  --line: rgba(212, 160, 23, 0.35);
  --text: #f4ecdc;
  --text-dark: #1c1916;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-arab: "Amiri", "Noto Naskh Arabic", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10000;
  background: var(--saffron);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Ribbon + WhatsApp */
.webmo-ribbon {
  position: fixed;
  z-index: 9999;
  left: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--saffron);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.webmo-ribbon::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--saffron);
}
.wa-fab {
  position: fixed;
  z-index: 9998;
  right: 0.85rem;
  bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  background: #128c4a;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(18, 140, 74, 0.35);
}
.wa-fab svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.wa-fab span { display: none; }
@media (min-width: 720px) {
  .wa-fab span { display: inline; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(18, 16, 14, 0.92);
  backdrop-filter: blur(14px);
  color: var(--cream);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}
.logo img { width: 2.4rem; height: 2.4rem; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
}
.logo-type span {
  font-family: var(--font-arab);
  font-size: 0.85rem;
  color: var(--saffron);
  margin-top: 0.15rem;
}
.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.nav a:hover { color: var(--saffron); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--saffron);
  color: var(--ink);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: #e8b84a; }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(212, 160, 23, 0.12); color: var(--saffron); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); }
.header-cta { display: none; }
.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
}
@media (min-width: 880px) {
  .nav, .header-cta { display: flex; }
  .nav-toggle { display: none; }
}

.nav-panel {
  display: none;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.5rem;
}
.nav-panel.is-open { display: block; }
.nav-panel a, .nav-panel .btn {
  display: block;
  text-decoration: none;
  color: var(--cream);
  padding: 0.75rem 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.nav-panel .btn { text-align: center; margin-top: 0.5rem; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 4rem 0 5rem;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.svg");
  background-size: 180px;
  opacity: 0.12;
  pointer-events: none;
}
.hero-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--line);
  pointer-events: none;
}
.hero-frame::before, .hero-frame::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-color: var(--saffron);
  border-style: solid;
}
.hero-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-inner { position: relative; z-index: 1; width: min(52rem, calc(100% - 3rem)); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--saffron);
  margin-bottom: 1.5rem;
}
.kicker::before, .kicker::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--saffron);
}
.hero h1 {
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.9;
}
.hero-ar {
  font-family: var(--font-arab);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--saffron);
  margin: 0.6rem 0 1.4rem;
}
.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  max-width: 28rem;
  margin: 0 auto 2rem;
  color: var(--cream-2);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hero-meta {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

/* Intro */
.intro {
  padding: 5rem 0;
  background: var(--paper);
}
.intro-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 4rem; }
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 0.75rem;
}
.intro h2, .section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
}
.intro p { color: #4a453d; max-width: 38rem; }
.intro p + p { margin-top: 1rem; }
.arabic-aside {
  font-family: var(--font-arab);
  font-size: 1.35rem;
  color: var(--pomegranate);
  margin: 1.25rem 0 0;
}
.plate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.plate-row figure { margin: 0; }
.plate-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--ink);
}
.plate-row figcaption {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0 0;
  color: #5a5348;
}
.plate-row figure:first-child { grid-column: 1 / -1; }

/* Menu */
.menu {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 5.5rem;
}
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .ar {
  font-family: var(--font-arab);
  color: var(--saffron);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}
.section-head p { color: var(--sand); max-width: 32rem; margin: 0.75rem auto 0; }
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 2.5rem;
}
.menu-tabs button {
  background: transparent;
  border: 1px solid rgba(244, 236, 220, 0.18);
  color: var(--cream-2);
  padding: 0.55rem 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.menu-tabs button[aria-selected="true"] {
  background: var(--saffron);
  color: var(--ink);
  border-color: var(--saffron);
}
.menu-panel[hidden] { display: none; }
.menu-list {
  display: grid;
  gap: 0;
  max-width: 46rem;
  margin: 0 auto;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(244, 236, 220, 0.1);
}
.menu-item h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
.menu-item .price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--saffron);
  white-space: nowrap;
}
.menu-item p {
  grid-column: 1 / -1;
  color: var(--sand);
  font-size: 0.92rem;
}

/* Reserve */
.reserve {
  background: var(--paper);
  padding: 5rem 0;
}
.reserve-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .reserve-grid { grid-template-columns: 1fr 0.85fr; gap: 4rem; align-items: start; }
}
form {
  display: grid;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--cream-2);
}
@media (min-width: 600px) {
  form { padding: 2rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a5348;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #d8d0c2;
  background: var(--paper);
  padding: 0.75rem 0.8rem;
  border-radius: 0;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 0;
  border-color: var(--saffron);
}
textarea { min-height: 6.5rem; resize: vertical; }
.form-note { font-size: 0.85rem; color: #5a5348; text-transform: none; letter-spacing: 0; }
.side-card {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 1.6rem;
}
.side-card h3 { font-size: 2rem; margin-bottom: 1rem; }
.side-card p, .side-card li { color: var(--cream-2); }
.side-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.side-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244, 236, 220, 0.12);
  font-size: 0.92rem;
}
.side-card a { color: var(--saffron); }

/* Visit */
.visit {
  padding: 0 0 5rem;
  background: var(--paper);
}
.visit-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--cream-2);
}
@media (min-width: 800px) {
  .visit-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.map-art {
  min-height: 22rem;
  background:
    linear-gradient(180deg, rgba(18,16,14,0.2), rgba(18,16,14,0.55)),
    url("../img/pattern.svg") center/220px var(--ink-2);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-art strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.visit-copy { padding: 2rem 1.5rem; background: #fff; }
@media (min-width: 800px) { .visit-copy { padding: 2.5rem; } }
.visit-copy h2 { margin: 0.3rem 0 1rem; font-size: 2.2rem; }
.visit-copy p + p { margin-top: 0.75rem; }
.visit-copy a { color: var(--pomegranate); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 2.5rem 0 6.5rem;
  font-size: 0.9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--saffron); }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 16, 14, 0.72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--paper);
  color: var(--text-dark);
  width: min(28rem, 100%);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.modal-card h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.modal-card p { margin-bottom: 1.5rem; color: #4a453d; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
