/* TEST Restaurant Zitouna — Vitrinium */
:root {
  --olive: #5B6B2F;
  --olive-dark: #46531F;
  --cream: #F6EFE0;
  --cream-deep: #EDE2C8;
  --terracotta: #C65D3B;
  --terracotta-dark: #A8482A;
  --ink: #2B2A22;
  --muted: #55513F;
  --white: #FFFDF8;
  --radius: 14px;
  --serif: Georgia, "Times New Roman", "Noto Naskh Arabic", "Amiri", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--olive-dark);
  margin: 0 0 .6em;
}

a { color: var(--terracotta-dark); }

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

.skip-link {
  position: absolute;
  inset-inline-start: .5rem;
  top: -3rem;
  background: var(--olive-dark);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: .5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  width: 100%;
  max-width: 100%;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .6rem 1rem .3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .6rem;
  min-height: 32px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--cream);
  color: var(--olive-dark);
  border-color: var(--cream);
  font-weight: 700;
}

.main-nav { max-width: 100%; }
.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .2rem .5rem .6rem;
  max-width: 1100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .35rem;
}
.main-nav a {
  display: inline-block;
  padding: .3rem .55rem;
  font-size: .85rem;
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible { background: rgba(255,255,255,.16); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(198,93,59,.35), transparent 55%),
    linear-gradient(160deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1rem 3rem;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 7vw, 3.2rem);
}
.slogan {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  margin: 0 0 1.6rem;
  color: var(--cream);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  max-width: 100%;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary { background: var(--terracotta-dark); color: var(--white); }
.btn-primary:hover { background: #8F3B21; }
.btn-outline { border-color: var(--cream); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn[disabled] {
  background: #CFC7B4;
  color: #3F3B2F;
  border-color: #CFC7B4;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 3rem 1rem; scroll-margin-top: 7rem; }
.hero { scroll-margin-top: 7rem; }
.section-alt { background: var(--cream-deep); }
.container { max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); text-align: center; }
.section-intro { text-align: center; color: var(--muted); margin: 0 auto 1.5rem; max-width: 600px; }

.soon {
  color: var(--muted);
  font-style: italic;
  margin: .5rem 0 0;
}

.placeholder-card,
.feature-box,
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(91,107,47,.10);
  text-align: center;
}

.plate-visual {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, var(--white) 0 22%, var(--cream-deep) 23% 34%, transparent 35%),
    linear-gradient(135deg, var(--olive) 0%, var(--terracotta) 100%);
}

.feature-box { max-width: 560px; margin: 0 auto; }

.about-lead {
  font-family: var(--serif);
  font-size: 1.25rem;
  text-align: center;
  color: var(--olive-dark);
  margin: 0 0 .5rem;
}
#a-propos .soon { text-align: center; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.info-card { text-align: start; }
.info-card h3 { font-size: 1.2rem; }

.hours { margin: 0; }
.hours > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px dashed var(--cream-deep);
}
.hours > div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* Footer */
.site-footer {
  text-align: center;
  font-size: .8rem;
  padding: 1.2rem 1rem;
  color: var(--muted);
  background: var(--cream);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--olive-dark); }

/* RTL tweaks */
[dir="rtl"] body { line-height: 1.8; }
[dir="rtl"] .soon { font-style: normal; }

@media (min-width: 700px) {
  .header-inner { padding: .7rem 1.5rem .3rem; }
  .brand { font-size: 1.3rem; }
  .main-nav a { font-size: .95rem; }
  .hero { padding: 5rem 1.5rem 4.5rem; }
  .section { padding: 4rem 1.5rem; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

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