/* Kokoreççi Eşref'in Yeri: Stitch "Ocakbaşı" düzeni, kurumsal logo, kendi videolarımız */
:root {
  --bg: #12100e;
  --surface-low: #1a1714;
  --surface: #221e1a;
  --surface-high: #2c2621;
  --ink: #f5efe6;
  --ink-soft: #bdb2a4;
  --copper: #d4a359;
  --copper-hover: #f5dfb8;
  --on-copper: #1a1208;
  --gold: #ecc95c;
  --terracotta: #c97a53;
  --line: #2e2822;
  --line-strong: #4a4037;
  --ember: rgb(226 85 43 / .28);

  --serif: "Libre Baskerville", Georgia, serif;
  --sans: Montserrat, "Segoe UI", system-ui, sans-serif;
  --script: "Libre Baskerville", Georgia, serif; /* italik; el yazısı yerine */

  --page: 24px;
  --section: clamp(64px, 9vw, 96px);
  --ease-out: cubic-bezier(.2, 0, 0, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.locked { overflow: hidden; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--copper); color: var(--on-copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--page); }
.skip { position: absolute; left: 16px; top: 8px; z-index: 50; padding: 8px 16px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---------- ortak parçalar ---------- */
.label { font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--copper); }
.label.alt { color: var(--terracotta); }
.h2 { font: 700 clamp(28px, 4vw, 40px)/1.2 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.lead { font-size: 17px; color: var(--ink-soft); text-wrap: pretty; max-width: 60ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}
.btn.primary { background: var(--copper); color: var(--on-copper); }
.btn.primary:hover { background: var(--copper-hover); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--surface-high); border-color: var(--copper); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- üst menü ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgb(18 16 14 / .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark img { width: 36px; height: auto; }
.mark span { font: 700 18px/1.2 var(--serif); }
.nav { display: none; gap: 32px; }
.nav a { font: 600 14px/1 var(--sans); color: var(--ink-soft); text-decoration: none; transition: color 180ms ease-out; }
.nav a:hover { color: var(--copper); }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 420px) { .mark span { display: none; } }

/* ---------- giriş ---------- */
.hero { position: relative; min-height: min(760px, 100svh); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 60% at 50% 45%, rgb(18 16 14 / .3), rgb(18 16 14 / .85)), linear-gradient(transparent 60%, var(--bg));
}
.hero-in { display: grid; justify-items: center; text-align: center; gap: 24px; padding-block: var(--section); max-width: 720px; }
.hero h1 { font: 700 clamp(34px, 6vw, 64px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.hero .script { font: italic 400 clamp(20px, 2.4vw, 26px)/1.3 var(--script); color: var(--gold); margin-top: -8px; }
.hero .lead { margin-inline: auto; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }

/* ---------- menü ---------- */
.menu { padding-block: var(--section); }
.intro { display: grid; gap: 8px; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: var(--section); max-width: 720px; }
.dishes { display: grid; gap: var(--section); }
.dish { display: grid; gap: 32px; align-items: center; }
.media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-low); }
.media video, .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-out); }
.dish:hover .media :is(video, img) { transform: scale(1.02); }
.text { display: grid; gap: 16px; align-content: center; }
.text h3 { font: 700 clamp(28px, 3.4vw, 40px)/1.2 var(--serif); letter-spacing: -.01em; }
.text p { color: var(--ink-soft); font-size: 17px; text-wrap: pretty; }
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 16px; border-top: 1px solid var(--line); font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.price a { color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.price a:hover { color: var(--copper); }
@media (min-width: 900px) {
  .dish { grid-template-columns: 7fr 5fr; gap: 48px; }
  .dish.flip { grid-template-columns: 5fr 7fr; }
  .dish.flip .media { order: 2; }
}

/* videosu olmayanlar: sade kartlar */
.more { margin-top: var(--section); display: grid; gap: 24px; }
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.card h3 { font: 700 24px/1.25 var(--serif); }
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- hakkımızda ---------- */
.about { padding-block: var(--section); background: var(--surface-low); border-block: 1px solid var(--line); }
.about .wrap { display: grid; gap: 48px; align-items: center; }
.about figure { display: grid; place-items: center; padding: 32px; }
.about figure img { width: min(320px, 52vw); filter: drop-shadow(0 24px 48px rgb(0 0 0 / .55)) drop-shadow(0 0 60px var(--ember)); }
.about .text { gap: 24px; }
.quotes { display: grid; gap: 16px; }
@media (min-width: 600px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 4px; align-content: start; }
.quote small { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.quote b { font: italic 400 20px/1.4 var(--script); color: var(--gold); }
@media (min-width: 900px) { .about .wrap { grid-template-columns: 5fr 7fr; } }

/* ---------- iletişim ---------- */
.foot { padding-block: 48px; }
.foot .grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot .grid { grid-template-columns: 5fr 4fr 3fr; } }
.foot .col { display: grid; gap: 8px; align-content: start; }
.foot p, .foot address { color: var(--ink-soft); font-style: normal; font-size: 15px; }
.foot .tel { font: 600 22px/1.3 var(--sans); color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.foot .tel:hover { color: var(--copper); }
.foot ul { display: grid; gap: 4px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 40px; gap: 8px; color: var(--ink-soft); text-decoration: none; transition: color 180ms ease-out; }
.foot ul a:hover { color: var(--copper); }
.foot ul svg { width: 16px; height: 16px; fill: currentColor; }
.copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-soft); letter-spacing: .06em; }

/* ---------- açılış ekranı ---------- */
.splash {
  position: fixed; inset: 0; z-index: 40; background: var(--bg); isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
}
.splash.done { opacity: 0; visibility: hidden; }
.splash video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.splash::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgb(18 16 14 / .25), rgb(18 16 14 / .78) 100%),
    linear-gradient(rgb(18 16 14 / .55), transparent 22%, transparent 78%, rgb(18 16 14 / .7));
}
.splash .tag { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); text-align: center; }
.splash .center { align-self: center; display: grid; justify-items: center; gap: 28px; }
/* eşit yan sütunlar: logo ve altındaki yükleme her zaman tam ortada */
.brand { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 48px); width: min(1200px, 100%); }
.word { font: 700 clamp(28px, 3.4vw, 52px)/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; text-shadow: 0 4px 30px rgb(0 0 0 / .6); }
.word.l { justify-self: end; }
.word.r { justify-self: start; }
.splash .logo { width: min(300px, 62vw, 40svh); height: auto; filter: drop-shadow(0 24px 48px rgb(0 0 0 / .55)) drop-shadow(0 0 60px var(--ember)); }
@media (max-width: 760px) {
  .brand { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .word.l, .word.r { justify-self: center; font-size: clamp(26px, 9vw, 40px); }
  .splash .logo { width: min(220px, 52vw, 32svh); }
}
.status { display: grid; justify-items: center; gap: 14px; width: min(240px, 64vw); }
.status p { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.flame { width: 30px; height: 30px; fill: var(--gold); filter: drop-shadow(0 0 10px rgb(236 201 92 / .55)); }
.bar { width: 100%; height: 2px; border-radius: 2px; background: rgb(245 239 230 / .16); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--copper); transform-origin: left; transform: scaleX(0); }
.splash .addr { font-size: 12px; color: var(--ink-soft); text-align: center; font-variant-numeric: tabular-nums; }
.splash .addr a { text-decoration: none; }

.anim .splash .tag { animation: fade 600ms var(--ease-out) 200ms both; }
.anim .splash .logo { animation: rise 1100ms var(--ease-out) 350ms both; }
.anim .word.l { animation: from-l 1000ms var(--ease-out) 900ms both; }
.anim .word.r { animation: from-r 1000ms var(--ease-out) 900ms both; }
.anim .status { animation: fade 600ms var(--ease-out) 1000ms both; }
.anim .flame { animation: flicker 1.6s ease-in-out 1000ms infinite; }
.anim .bar i { animation: fill 4000ms linear 1000ms both; }
.anim .splash .addr { animation: fade 600ms var(--ease-out) 1200ms both; }
.anim .hero-in > * { animation: up 650ms var(--ease-out) both; }
.anim .hero-in > :nth-child(2) { animation-delay: 120ms; }
.anim .hero-in > :nth-child(3) { animation-delay: 240ms; }
.anim .hero-in > :nth-child(4) { animation-delay: 360ms; }
.anim .hero-in > :nth-child(5) { animation-delay: 480ms; }
.anim.locked .hero-in > * { animation-play-state: paused; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(8px); } }
@keyframes from-l { from { opacity: 0; transform: translateX(-60px); filter: blur(6px); } }
@keyframes from-r { from { opacity: 0; transform: translateX(60px); filter: blur(6px); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes flicker {
  0%, 100% { opacity: .75; transform: scale(.96); }
  30% { opacity: 1; transform: scale(1.06); }
  55% { opacity: .85; transform: scale(1); }
  75% { opacity: 1; transform: scale(1.04); }
}
/* ---------- kaydırınca beliren öğeler (JS her öğeye data-r ve --d verir) ---------- */
.js [data-r] {
  opacity: 0; transform: translateY(28px); filter: blur(4px);
  transition: opacity 900ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms), filter 900ms var(--ease-out) var(--d, 0ms);
}
.js [data-r].in { opacity: 1; transform: none; filter: none; }
/* videolar: çerçeve ortadan açılır, içindeki görüntü yaklaşıp yerine oturur */
.js .media[data-r] { opacity: 1; transform: none; filter: none; clip-path: inset(14% 14% 14% 14% round 8px); transition: clip-path 1300ms var(--ease-out) var(--d, 0ms); }
.js .media[data-r] :is(video, img) { transform: scale(1.18); transition: transform 1600ms var(--ease-out) var(--d, 0ms); }
.js .media[data-r].in { clip-path: inset(0 round 8px); }
.js .media[data-r].in :is(video, img) { transform: scale(1); }
.js .dish:hover .media.in :is(video, img) { transform: scale(1.03); transition-duration: 450ms; transition-delay: 0ms; }
/* yan gelen yazılar: video soldaysa yazı sağdan, sağdaysa soldan */
.js .dish .text > [data-r] { transform: translateX(32px); }
.js .dish.flip .text > [data-r] { transform: translateX(-32px); }
.js .dish .text > [data-r].in { transform: none; }
/* bölüm başlığının altındaki çizgi uzayarak gelir */
.intro { border-bottom: 0; position: relative; }
.intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-strong); transform-origin: left; }
.js .intro::after { transform: scaleX(0); transition: transform 1400ms var(--ease-out) 300ms; }
.js .intro.in::after { transform: scaleX(1); }
/* giriş: kaydırdıkça yazılar yukarı süzülüp söner (JS --hp verir) */
.hero-in { transform: translateY(calc(var(--hp, 0) * -60px)); opacity: calc(1 - var(--hp, 0) * 1.1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .js .media[data-r], .js .media[data-r] :is(video, img), .js .intro::after { opacity: 1; transform: none !important; filter: none; clip-path: none; transition: none; }
  .hero-in { transform: none; opacity: 1; }
  .anim * { animation: none !important; }
  .bar i { transform: scaleX(1); }
}
