/* ============================================================
   Meşe Bistro & Kahve — Tasarım sistemi
   Koyu bistro-yeşili · terracotta/ember aksan · sıcak ivory
   Zilla Slab (başlık) + Hanken Grotesk (gövde)
   ============================================================ */

:root {
  /* Renk (OKLCH) — koyu meşe/bistro yeşili + ember terracotta */
  --bg:            oklch(0.205 0.028 158);
  --bg-deep:       oklch(0.158 0.024 160);
  --surface:       oklch(0.255 0.030 156);
  --surface-2:     oklch(0.305 0.032 154);
  --line:          oklch(0.42 0.026 152 / 0.55);
  --line-soft:     oklch(0.42 0.026 152 / 0.28);

  --ink:           oklch(0.960 0.014 85);
  --ink-soft:      oklch(0.862 0.018 82);
  --muted:         oklch(0.742 0.022 88);

  --accent:        oklch(0.700 0.145 52);   /* ember terracotta */
  --accent-bright: oklch(0.790 0.135 62);
  --accent-deep:   oklch(0.560 0.140 44);
  --on-accent:     oklch(0.190 0.030 60);   /* koyu metin, aksan üstünde */

  --gold:          oklch(0.820 0.100 88);   /* ikincil sıcak vurgu (nadir) */

  /* Tipografi */
  --font-display: "Zilla Slab", "Hanken Grotesk", Georgia, serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Radius & gölge */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow:    0 18px 44px -22px oklch(0.10 0.02 160 / 0.7);
  --shadow-lg: 0 40px 90px -40px oklch(0.08 0.02 160 / 0.85);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.2rem, 4vw, 3rem);

  /* z-index ölçeği */
  --z-header: 100;
  --z-fab: 200;
  --z-nav-mobile: 300;
  --z-lightbox: 400;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-bright);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--accent); }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); margin-block: 0.7rem 0.6rem; }
.section__lead { color: var(--ink-soft); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 40rem; }

.ico { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.15rem; height: 1.15rem; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -14px var(--accent-deep); }
.btn--accent:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); background: oklch(0.70 0.145 52 / 0.1); transform: translateY(-2px); }
.btn--wa { background: #25d366; color: #073b1e; box-shadow: 0 14px 30px -14px #0d7a37; }
.btn--wa:hover { background: #2ee672; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.205 0.028 158 / 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header.is-scrolled { background: oklch(0.175 0.026 159 / 0.9); border-bottom-color: var(--line-soft); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand img { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill); font-weight: 500; font-size: 0.96rem;
  color: var(--ink-soft); transition: color 0.2s, background-color 0.2s;
}
.nav a:hover { color: var(--ink); background: oklch(1 0 0 / 0.05); }
.nav a[aria-current="page"] { color: var(--accent-bright); }

.header__cta { display: flex; align-items: center; gap: 0.6rem; }
.header__cta .btn { padding: 0.6rem 1.15rem; font-size: 0.92rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, oklch(0.16 0.024 160 / 0.55) 42%, oklch(0.16 0.024 160 / 0.35) 100%),
    linear-gradient(to right, oklch(0.16 0.024 160 / 0.7), transparent 60%);
}
.hero__inner { position: relative; padding-block: clamp(3rem, 8vw, 6rem); max-width: 44rem; }
.hero__title { font-size: clamp(2.8rem, 1.9rem + 4.4vw, 5.4rem); font-weight: 700; letter-spacing: -0.02em; }
.hero__title em { font-style: normal; color: var(--accent-bright); }
.hero__lead { margin-top: 1.2rem; font-size: clamp(1.1rem, 1.02rem + 0.55vw, 1.4rem); color: var(--ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* Canlı açık/kapalı rozeti */
.status {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.4rem;
  padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
  background: oklch(1 0 0 / 0.06); border: 1px solid var(--line-soft);
  font-size: 0.9rem; font-weight: 500; color: var(--ink);
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #34d17a; box-shadow: 0 0 0 4px oklch(0.72 0.16 150 / 0.22); }
.status.is-closed .status__dot { background: var(--muted); box-shadow: 0 0 0 4px oklch(0.7 0 0 / 0.15); }

/* Hero altı bilgi şeridi */
.hero-strip { border-top: 1px solid var(--line-soft); background: var(--bg-deep); }
.hero-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-strip__item { display: flex; align-items: center; gap: 0.85rem; padding: 1.4rem var(--gutter); }
.hero-strip__item + .hero-strip__item { border-left: 1px solid var(--line-soft); }
.hero-strip__item .ico { width: 1.5rem; height: 1.5rem; color: var(--accent); }
.hero-strip__k { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hero-strip__v { font-weight: 600; color: var(--ink); }

/* ============================================================
   İMZA TABAKLAR (öne çıkanlar)
   ============================================================ */
.signatures { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.dish {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow);
}
.dish img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dish::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg-deep) 8%, oklch(0.15 0.02 160 / 0.55) 45%, transparent 78%); }
.dish:hover img { transform: scale(1.06); }
.dish__body { padding: 1.5rem; }
.dish__tag {
  display: inline-block; margin-bottom: 0.7rem; padding: 0.25rem 0.7rem; border-radius: var(--r-pill);
  background: oklch(0.70 0.145 52 / 0.9); color: var(--on-accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.dish__name { font-size: 1.4rem; margin-bottom: 0.4rem; }
.dish__desc { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }

/* ============================================================
   HAKKINDA / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tag::after {
  content: attr(data-tag); position: absolute; left: 1.2rem; bottom: 1.2rem;
  padding: 0.5rem 1rem; border-radius: var(--r-pill);
  background: oklch(0.16 0.024 160 / 0.72); backdrop-filter: blur(8px);
  color: var(--ink); font-size: 0.85rem; font-weight: 500;
}
.prose > * + * { margin-top: 1.1rem; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }

.marks { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.mark { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink); }
.mark .ico { color: var(--accent); width: 1.05rem; height: 1.05rem; }

/* ============================================================
   MENÜ
   ============================================================ */
.menu-nav { position: sticky; top: 72px; z-index: 50; background: oklch(0.205 0.028 158 / 0.9); backdrop-filter: blur(12px); border-block: 1px solid var(--line-soft); }
.menu-nav__scroll { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.7rem 0; scrollbar-width: none; }
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-nav a { white-space: nowrap; padding: 0.5rem 1rem; border-radius: var(--r-pill); font-weight: 500; font-size: 0.94rem; color: var(--ink-soft); transition: color 0.2s, background-color 0.2s; }
.menu-nav a:hover { color: var(--ink); background: oklch(1 0 0 / 0.05); }

.menu-cat { scroll-margin-top: 130px; }
.menu-cat + .menu-cat { margin-top: clamp(3rem, 6vw, 5rem); }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.menu-cat__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.menu-cat__note { color: var(--muted); font-size: 0.92rem; }

.menu-list { display: grid; gap: 0.4rem; }
.menu-item { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.4rem 1.2rem; padding: 1rem 0; border-bottom: 1px dashed var(--line-soft); }
.menu-item:last-child { border-bottom: none; }
.menu-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.menu-item__desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.94rem; max-width: 52ch; margin-top: 0.15rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--accent-bright); white-space: nowrap; }
.price__cur { font-size: 0.85em; opacity: 0.85; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.info-list { display: grid; gap: 1.2rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .ico { width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: 0.2rem; }
.info-row__k { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem; }
.info-row__v { font-weight: 500; color: var(--ink); }
.info-row__v a:hover { color: var(--accent-bright); }

.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow); }

.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: var(--bg-deep);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.70 0.145 52 / 0.22); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--shadow); margin-top: clamp(2.5rem, 5vw, 4rem); }
.map iframe { width: 100%; height: clamp(280px, 40vw, 420px); border: 0; display: block; filter: saturate(0.9) contrast(1.05); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); }
.hours-table td:last-child { text-align: right; color: var(--ink-soft); }
.hours-table tr.is-today td { color: var(--accent-bright); font-weight: 600; }
.hours-table tr.is-today td:last-child { color: var(--accent-bright); }

/* ============================================================
   CTA ŞERİDİ
   ============================================================ */
.cta { position: relative; background: var(--bg-deep); border-top: 1px solid var(--line-soft); overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, oklch(0.70 0.145 52 / 0.28), transparent 65%); filter: blur(30px); z-index: -1; }
.cta__inner { text-align: center; max-width: 40rem; margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.cta__lead { color: var(--ink-soft); margin-block: 1rem 2rem; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); padding-block: clamp(3rem, 5vw, 4rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer__brand img { width: 34px; height: 34px; }
.footer__brand b { font-family: var(--font-display); font-size: 1.25rem; }
.footer p { color: var(--muted); font-size: 0.94rem; max-width: 30ch; }
.footer h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { color: var(--ink-soft); font-size: 0.96rem; width: fit-content; }
.footer__links a:hover { color: var(--accent-bright); }
.footer address { font-style: normal; display: grid; gap: 0.5rem; color: var(--ink-soft); font-size: 0.96rem; }
.footer address a:hover { color: var(--accent-bright); }
.social { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--ink-soft); font-size: 0.92rem; }
.social:hover { color: var(--accent-bright); }
.social .ico { width: 1.15rem; height: 1.15rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 0.86rem; }
.footer__bottom a:hover { color: var(--ink); }
.credit { color: var(--muted); }
.credit a { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.credit a:hover { color: var(--accent-bright); }

/* ============================================================
   FAB (WhatsApp yüzen buton)
   ============================================================ */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px oklch(0.5 0.15 150 / 0.7);
  transition: transform 0.25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright)); z-index: calc(var(--z-header) + 1); }

/* ============================================================
   REVEAL (JS ile geliştirilir; JS yoksa görünür kalır)
   ============================================================ */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 16 / 11; max-height: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta .btn--text { position: static; }
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: var(--z-nav-mobile);
    width: min(78vw, 320px); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0.3rem; padding: 6rem 1.4rem 2rem; background: var(--bg-deep);
    border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { padding: 0.9rem 1rem; font-size: 1.05rem; }
  .nav-toggle { display: block; z-index: calc(var(--z-nav-mobile) + 1); }
  .header__cta .btn span, .header__cta .btn--text { display: none; }
  .hero-strip__grid { grid-template-columns: 1fr; }
  .hero-strip__item + .hero-strip__item { border-left: none; border-top: 1px solid var(--line-soft); }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
