/* Editorial restaurant one-pager — natural, less “template” */
:root {
  --paper: #f4f0e8;
  --paper-2: #ebe4d8;
  --ink: #1a1714;
  --ink-soft: #3d3832;
  --muted: #6f675e;
  --line: #d9d0c2;
  --line-strong: #c4b8a6;
  --accent: #6b4f2a;
  --accent-hover: #543c1f;
  --white: #faf8f4;
  --photo-bg: #ddd5c8;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Libre Baskerville", "Times New Roman", serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 64px;
  --max: 1040px;
  --pad: clamp(1.1rem, 4vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(68px + var(--safe-b));
}

body.rtl {
  direction: rtl;
  font-family: "Noto Sans Arabic", var(--font), sans-serif;
}

body.rtl .hero-title,
body.rtl .h2,
body.rtl .h3,
body.rtl .logo,
body.rtl .dish-name {
  font-family: "Noto Sans Arabic", var(--serif), serif;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* —— Type —— */
.meta-line,
.label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}

.meta-sep {
  margin: 0 0.35em;
  opacity: 0.5;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 16ch;
}

.h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.lede,
.section-desc {
  color: var(--ink-soft);
  max-width: 38em;
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

/* —— Buttons (flat, not gradient pills) —— */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font: 600 0.92rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-wide {
  width: 100%;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
}

.btn-text:hover {
  text-decoration-color: var(--ink);
}

.nav-cta {
  display: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 2 * var(--pad), var(--max));
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  gap: 1.35rem;
  margin-inline-start: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang {
  display: flex;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font: 600 0.8rem/1 var(--font);
  padding: 0.4rem 0.45rem;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.nav-burger {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--ink);
}

.nav-drawer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 0.5rem var(--pad) 1rem;
  display: grid;
}

.nav-drawer[hidden] {
  display: none !important;
}

.nav-drawer a {
  padding: 0.75rem 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .nav-burger,
  .nav-drawer {
    display: none !important;
  }
}

/* —— Hero —— */
.hero {
  padding: 1.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  width: min(100% - 2 * var(--pad), var(--max));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: end;
  perspective: 1200px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    min-height: calc(100svh - var(--nav-h) - 4rem);
    align-items: center;
  }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0.5rem;
  color: var(--ink);
}

.hero-tag {
  font-size: 1rem;
  color: var(--accent);
  font-style: italic;
  font-family: var(--serif);
}

.hero-lead {
  margin-top: 1.15rem;
  color: var(--ink-soft);
  max-width: 32em;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 28em;
  line-height: 1.5;
}

.hero-photo {
  margin: 0;
  background: var(--photo-bg);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-photo img {
    aspect-ratio: 5 / 6;
    max-height: 72vh;
  }
}

.hero-photo figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36em;
}

.section-head .h2 {
  margin-top: 0.35rem;
}

.section-desc {
  margin-top: 0.85rem;
}

.section-foot {
  margin-top: 2rem;
}

/* Story */
.story-layout {
  display: grid;
  gap: 1.5rem 3rem;
}

@media (min-width: 800px) {
  .story-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.story-body .lede {
  margin-bottom: 1.25rem;
}

.plain-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
}

.plain-list li {
  padding-inline-start: 1rem;
  position: relative;
}

.plain-list li::before {
  content: "–";
  position: absolute;
  inset-inline-start: 0;
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 520px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

.facts dt {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.facts dd {
  font-size: 0.95rem;
}

/* Features — numbered, not emoji cards */
.features-row {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

@media (min-width: 800px) {
  .features-row {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

.feature-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.feature h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.feature p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 32em;
}

.contact-links .ci use {
  fill: none;
  stroke: currentColor;
}

/* Dishes — horizontal editorial rows */
.dish-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dish-card {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 640px) {
  .dish-card {
    grid-template-columns: 140px 1fr auto;
    gap: 1.5rem;
  }
}

.dish-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--photo-bg);
}

@media (min-width: 640px) {
  .dish-card img {
    width: 140px;
  }
}

.dish-tag {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.dish-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.dish-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* Gallery mosaic — uneven, photo-first */
.gallery-mosaic {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
}

.gallery-mosaic a {
  display: block;
  background: var(--photo-bg);
  overflow: hidden;
}

.gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: opacity 0.25s;
}

.gallery-mosaic a:hover img {
  opacity: 0.92;
}

@media (min-width: 800px) {
  .gallery-mosaic {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 0.75rem;
  }
  .gallery-mosaic a:first-child {
    grid-row: 1 / span 2;
  }
  .gallery-mosaic a:first-child img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 100%;
  }
  .gallery-mosaic a:not(:first-child) img {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* Reviews — clear cards with avatar + stars */
.review-list {
  display: grid;
  gap: 1rem;
  max-width: none;
}

@media (min-width: 800px) {
  .review-list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.15rem;
  }
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 100%;
}

.stars {
  display: flex;
  gap: 0.2rem;
}

.star {
  width: 14px;
  height: 14px;
  color: var(--line-strong);
}

.star svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.star.is-on {
  color: var(--accent);
}

.review-text {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
  margin: 0;
}

.review-foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #faf8f4;
  background: var(--av, #6b4f2a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.review-name {
  display: block;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.review-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Reserve */
.reserve {
  background: var(--paper-2);
  border-bottom-color: var(--line);
  position: relative;
}

.features-row {
  position: relative;
}

.reserve-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .reserve-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.side-notes {
  list-style: none;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.side-notes strong {
  color: var(--ink);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 1.15rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.field input[type="date"] {
  min-height: 2.85rem;
  color-scheme: light;
}

/* Custom select — Guests / Time */
.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font);
  padding: 0.7rem 2.5rem 0.7rem 0.85rem;
  min-height: 2.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

body.rtl .select-wrap select {
  padding: 0.7rem 0.85rem 0.7rem 2.5rem;
}

.select-wrap select:hover {
  border-color: color-mix(in srgb, var(--ink) 45%, var(--line-strong));
  background: #fffcf7;
}

.select-wrap select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.select-wrap select:active {
  background: var(--paper-2);
}

/* Hide old IE arrow */
.select-wrap select::-ms-expand {
  display: none;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: grid;
  place-items: center;
  transition: transform 0.2s, color 0.2s;
}

body.rtl .select-chevron {
  right: auto;
  left: 0.75rem;
}

.select-chevron svg {
  width: 100%;
  height: 100%;
}

.select-wrap:focus-within .select-chevron {
  color: var(--ink);
  transform: translateY(-50%) rotate(180deg);
}

.field-select .focus-line {
  display: none;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: start;
}

/* Contact */
.contact {
  padding: 2.75rem 0;
}

.contact-bar {
  display: grid;
  gap: 1.25rem;
}

.contact-bar p {
  margin-top: 0.25rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact-links a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--line-strong);
}

.contact-links a:hover {
  text-decoration-color: var(--ink);
}

@media (min-width: 700px) {
  .contact-bar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 calc(1.25rem + var(--safe-b));
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
}

.footer-row .muted {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.credit {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Mobile bar — simple strip */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 0;
  padding-bottom: var(--safe-b);
}

.bar-link,
.bar-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.95rem 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.bar-link {
  color: var(--ink-soft);
  border-inline-end: 1px solid var(--line);
  background: var(--paper);
}

.bar-btn {
  background: var(--ink);
  color: var(--paper);
}

@media (min-width: 860px) {
  .mobile-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
