/* Etolog tasarım sistemi · token'lar. Renkler: "B · Sıcak ve tok" paleti (2026-10-05 onaylandı). */

/* Web fontu gelene kadar ölçüsü yakın yedek fontlar: yazı değişiminde kaymayı azaltır. */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Times New Roman"), local("Times"), local("Georgia");
  size-adjust: 92%;
  ascent-override: 96%;
  descent-override: 30%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 102%;
  descent-override: 29%;
  line-gap-override: 0%;
}

:root {
  /* Renkler */
  --bg: #0D0A08;
  --surface: #16110E;
  --surface-raised: #1D1713;
  --line: rgba(227, 205, 163, 0.16);
  --line-strong: rgba(227, 205, 163, 0.4);
  --cream: #E3CDA3;
  --gold: #B98C4E;
  --text: #EEE7DB;
  --text-2: #B2A898;
  --text-3: #7A7064; /* yalnızca büyük yazı ve süsleme: küçük yazıda AA kontrastı vermez */
  --open: #6FCF97;
  --warn: #A8321F;
  --on-cream: #17110B;

  /* Yazı tipleri */
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-body: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  --font-brand: "Bitter", Georgia, serif;

  /* Ölçüler (masaüstü 1440 referans) */
  --fs-h1: 100px;
  --fs-h2: 76px;
  --fs-h3: 34px;
  --fs-body: 17px;
  --lh-body: 1.7;
  --fs-label: 12px;
  --ls-label: 0.24em;

  --gutter: 120px;
  --section-y: 116px;
  --content-max: 1200px;

  --header-h: 104px;
  --header-h-compact: 72px;

  --radius-btn: 4px;
  --radius-input: 6px;
  --radius-card: 10px;
  --btn-h: 54px;

  /* Hareket */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-in: 700ms;
  --dur-hover: 400ms;
  --stagger: 70ms;
}

@media (max-width: 1279px) {
  :root {
    --gutter: 64px;
    --fs-h1: 84px;
    --fs-h2: 64px;
    --section-y: 100px;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 40px;
    --fs-h1: 64px;
    --fs-h2: 54px;
    --fs-h3: 30px;
    --fs-body: 16px;
    --section-y: 88px;
    --header-h: 80px;
    --header-h-compact: 64px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --fs-h1: 46px;
    --fs-h2: 44px;
    --fs-h3: 28px;
    --fs-body: 15px;
    --fs-label: 11px;
    --ls-label: 0.2em;
    --section-y: 72px;
    --header-h: 68px;
    --header-h-compact: 60px;
    --action-bar-h: 72px;
  }
}

/* Temel stiller. Not: Mevcut rezervasyon modalının birebir aynı kalması için burada
   button/select/h1-h6 gibi öğelere genel stil VERİLMEZ; bileşenler sınıflarla stillenir. */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h-compact) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) {
  margin: 0;
}

:where(ul, ol)[role="list"],
:where(.list-reset) {
  padding: 0;
  list-style: none;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Klavye odak halkası (rezervasyon modalı hariç: o sistemin görünümü korunur). */
:where(a, button, input, select, textarea, summary, [tabindex]):not(.reservation-modal *):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  background: var(--cream);
  color: var(--on-cream);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--line {
  border-top: 1px solid var(--line);
}

/* ---- Tipografi ---- */

.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--text);
}

.h1 {
  font-size: var(--fs-h1);
}

.h2 {
  font-size: var(--fs-h2);
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.1;
}

.accent {
  color: var(--gold);
}

.lead {
  color: var(--text-2);
  font-size: calc(var(--fs-body) + 1px);
  line-height: 1.7;
}

.label {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

/* Fiyat menu.json'dan gelene kadar satır yüksekliği korunur (kayma olmaz). */
[data-price]:empty::before {
  content: "\00a0";
}

.price {
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}

/* Çizgi maskeli başlık satırları (bkz. js/ui/reveal.js) */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.line > span {
  display: inline-block;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill {
  fill: currentColor;
  stroke: none;
}

[hidden] {
  display: none !important;
}
