/* =========================================================
   Fatoş'un Mutfağı — Tasarım sistemi
   Yazı: Playfair Display (başlık) + Karla (metin)
   Renk: espresso + terrakota + altın vurgu, sıcak fildişi zemin
   ========================================================= */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f3ece1;
  --ink: #1f1712;
  --ink-2: #3b2d24;
  --muted: #6b5a4c;
  --line: #e6dccd;
  --terra: #b4432c;
  --terra-d: #8f3320;
  --gold: #c8963e;
  --gold-text: #8a6420;
  --gold-soft: #e7c88f;
  --olive: #55663a;
  --wa: #138a4a;
  --wa-d: #0f7540;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(31, 23, 18, .06), 0 4px 12px -4px rgba(31, 23, 18, .08);
  --shadow: 0 2px 4px rgba(31, 23, 18, .04), 0 18px 40px -18px rgba(31, 23, 18, .28);
  --shadow-lg: 0 30px 70px -30px rgba(31, 23, 18, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t: .28s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1001; padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; transition: top var(--t);
}
.skip:focus { top: 16px; }

/* ---------- Tipografi ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 18px;
}
.eyebrow .ic { width: 16px; height: 16px; }
.eyebrow .num {
  font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0;
  font-size: 1rem; text-transform: none; color: var(--gold-text);
  padding-right: 12px; border-right: 1px solid currentColor;
}
.eyebrow.light { color: var(--gold-soft); }
.eyebrow.light .num { color: var(--gold-soft); }
.section-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 500; color: var(--terra); }
.section-title.light { color: #fbf5ec; }
.section-title.light em { color: var(--gold-soft); }
.section-sub { margin-top: 14px; color: var(--muted); max-width: 520px; }
.lead { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--ink); margin-top: 22px; }
.section { padding: clamp(88px, 11vw, 140px) 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 18px;
  color: var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 1.15rem; letter-spacing: .04em;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader-logo { width: 96px; animation: loaderPulse 1.4s ease-in-out infinite; }
.loader.done { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { 50% { transform: scale(.92); opacity: .75; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px clamp(20px, 4vw, 56px);
  transition: background var(--t), padding var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 246, 240, .86);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  padding-block: 12px; border-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-10deg); }
.brand-text { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand-text em { color: var(--terra); }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn, .icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.cart-btn:hover, .icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn .ic, .icon-btn .ic { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 11px; background: var(--terra); color: #fff; border: 2px solid var(--bg);
  font-size: .75rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 12px; border-radius: 50%; }
.burger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn .ic { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 67, 44, .7); }
.btn-primary:hover { background: var(--terra-d); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; min-height: 46px; padding: 0 22px; font-size: .95rem; }
.btn-dark:hover { background: var(--terra); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.light { border-color: rgba(251, 245, 236, .45); color: #fbf5ec; }
.btn-outline.light:hover { background: #fbf5ec; color: var(--ink); border-color: #fbf5ec; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(19, 138, 74, .7); }
.btn-wa:hover { background: var(--wa-d); }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px clamp(20px, 6vw, 96px) 96px;
  background:
    radial-gradient(60% 70% at 78% 45%, #f4e3cc 0%, rgba(244, 227, 204, 0) 70%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; pointer-events: none;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0), var(--bg));
}
#scene3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; }
.hero-content { position: relative; z-index: 2; max-width: 580px; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(2.75rem, 6.2vw, 5.25rem); line-height: 1.02; letter-spacing: -.03em;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--terra); }
.hero-sub { margin: 26px 0 36px; font-size: 1.15rem; color: var(--muted); max-width: 470px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; margin-top: 52px; border-top: 1px solid var(--line); padding-top: 24px; max-width: 480px; }
.hero-stats div { flex: 1; padding-right: 20px; }
.hero-stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats dt { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.hero-stats dd { font-size: .9rem; color: var(--muted); }
.drag-hint {
  position: absolute; z-index: 2; right: clamp(20px, 6vw, 96px); bottom: 40px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line); backdrop-filter: blur(8px);
}

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fbf5ec; overflow: hidden; padding: 22px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.45rem; font-style: italic; font-weight: 400; white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hikayemiz ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about-text > p:not(.eyebrow):not(.lead) { color: var(--muted); margin-top: 16px; }
.about-visual { display: grid; place-items: center; perspective: 1000px; }
.logo-3d {
  position: relative; width: min(400px, 78vw); aspect-ratio: 1;
  display: grid; place-items: center; transform-style: preserve-3d; transition: transform .25s ease-out;
}
.logo-3d::before {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, #f2dfc4 0%, rgba(242, 223, 196, 0) 70%);
}
.logo-3d img { position: relative; width: 70%; filter: drop-shadow(0 30px 40px rgba(31, 23, 18, .35)); transform: translateZ(60px); animation: floaty 6s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--gold); }
.r1 { animation: orbit1 16s linear infinite; }
.r2 { inset: 8%; border-color: var(--terra); border-style: solid; opacity: .3; animation: orbit2 20s linear infinite; }
.r3 { inset: -5%; border-color: var(--olive); opacity: .3; animation: orbit3 24s linear infinite; }
@keyframes orbit1 { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes orbit2 { from { transform: rotateY(65deg) rotateZ(0); } to { transform: rotateY(65deg) rotateZ(-360deg); } }
@keyframes orbit3 { from { transform: rotateX(-50deg) rotateY(30deg) rotateZ(0); } to { transform: rotateX(-50deg) rotateY(30deg) rotateZ(360deg); } }
@keyframes floaty { 50% { transform: translateZ(60px) translateY(-12px); } }

.features { display: grid; gap: 4px; margin-top: 36px; border-top: 1px solid var(--line); }
.feature { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.f-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--surface-2); color: var(--terra);
}
.f-icon .ic { width: 22px; height: 22px; }
.feature h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.feature p { font-size: .95rem; color: var(--muted); }

/* ---------- Ürünler ---------- */
.products { background: var(--surface-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .92rem;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter:hover { border-color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; perspective: 1600px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow); transform-style: preserve-3d; will-change: transform;
}
.card.hide { display: none; }
.card.ready { transition: transform .18s ease-out, box-shadow var(--t), opacity .5s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-bg, #eadbc6); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .28), transparent 45%),
    linear-gradient(180deg, rgba(31, 23, 18, 0) 55%, rgba(31, 23, 18, .35));
  opacity: .8; transition: opacity var(--t);
}
.card-media .fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--terra); }
.card-media .fallback .ic { width: 64px; height: 64px; }
.card-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-cat { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.card-body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin: 6px 0 10px; letter-spacing: -.01em; }
.card-body p { font-size: .97rem; color: var(--muted); flex: 1; }
.card-price { margin-top: 16px; font-weight: 700; color: var(--terra); }
.card-price.ask { font-weight: 500; font-size: .92rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.card-price.ask::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.card-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.qty button {
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; line-height: 1; color: var(--ink);
  transition: background var(--t-fast), color var(--t-fast);
}
.qty button:hover { background: var(--surface-2); color: var(--terra); }
.qty .q-val { min-width: 54px; text-align: center; line-height: 1.1; }
.qty .q-val b { display: block; font-weight: 700; color: var(--ink); }
.qty .q-val small { display: block; font-size: .72rem; color: var(--muted); }
.add-btn {
  flex: 1; min-height: 46px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--t), transform var(--t);
}
.add-btn .ic { width: 18px; height: 18px; }
.add-btn:hover { background: var(--terra); }
.add-btn.added { background: var(--olive); }
.card.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 3px var(--terra), var(--shadow-lg); } 100% { box-shadow: var(--shadow); } }

/* ---------- Fotoğraf büyütme ---------- */
.zoom { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; cursor: zoom-in; display: block; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .zoom img { transform: scale(1.06); }
.zoom.contain img { position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.card:hover .zoom.contain img { transform: scale(1.03); }
.zoom-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(18px) brightness(.8) saturate(1.1); }
.zoom-hint {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity var(--t), transform var(--t);
}
.zoom-hint .ic { width: 18px; height: 18px; }
.card:hover .zoom-hint, .zoom:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }
.zoom:focus-visible { outline-offset: -4px; }

/* Önce / sonra kartı */
.ba { position: absolute; inset: 0; overflow: hidden; --split: 50%; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba-top { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; z-index: 2; }
.ba-knob {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: #fff; color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.ba-knob .ic { width: 16px; height: 16px; margin: 0 -2px; }
.ba.sweep .ba-top { transition: clip-path .6s var(--ease); }
.ba.sweep .ba-line { transition: left .6s var(--ease); }
.ba-label {
  position: absolute; bottom: 14px; z-index: 2; pointer-events: none;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: rgba(31, 23, 18, .72); color: #fbf5ec; backdrop-filter: blur(4px);
}
.ba-l { left: 14px; }
.ba-r { right: 64px; }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: 3;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.ba-range:focus-visible ~ .ba-line .ba-knob, .ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--terra); outline-offset: 2px; }
.zoom-btn { z-index: 4; opacity: 1; transform: none; cursor: zoom-in; }
.zoom-btn:hover { background: var(--ink); color: #fff; }

.lightbox {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 14, 10, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
body.lb-open { overflow: hidden; }
.lb-stage { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; padding: 72px 88px; }
.lb-figure { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb-figure img {
  max-width: min(1100px, 100%); max-height: calc(100vh - 200px); max-height: calc(100svh - 200px);
  width: auto; height: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  transform: scale(.96); transition: transform .35s var(--ease);
}
.lightbox.open .lb-figure img { transform: none; }
.lightbox.swap .lb-figure img { animation: lbSwap .35s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: scale(.97); } }
.lb-figure figcaption { text-align: center; color: #fbf5ec; }
.lb-figure figcaption span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.lb-figure figcaption strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.lb-btn {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fbf5ec; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  transition: background var(--t-fast), color var(--t-fast);
}
.lb-btn:hover { background: #fbf5ec; color: var(--ink); }
.lb-btn .ic { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 24px; top: 50%; translate: 0 -50%; }
.lb-next { right: 24px; top: 50%; translate: 0 -50%; }
.lb-nav[hidden] { display: none; }
@media (max-width: 640px) {
  .lb-stage { padding: 72px 12px 96px; }
  .lb-figure img { max-height: calc(100svh - 220px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Adımlar ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step {
  position: relative; padding: 36px 32px 34px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.step-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-soft); margin-bottom: 26px;
}
.step-icon .ic { width: 24px; height: 24px; }
.step-no { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.step h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; color: var(--ink); margin: 4px 0 8px; }
.step p { color: var(--muted); }

/* ---------- İletişim ---------- */
.contact { padding: 0 0 clamp(88px, 11vw, 140px); }
.contact-card {
  position: relative; overflow: hidden; border-radius: 36px;
  background: var(--ink); color: #fbf5ec; padding: clamp(44px, 7vw, 96px);
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; opacity: .022; pointer-events: none;
  background-image: url("logo-mark.svg"); background-size: 120px; background-repeat: space;
}
.contact-glow {
  position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 62, .4), transparent 65%);
  animation: glow 10s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-90px, 90px) scale(1.15); } }
.contact-inner { position: relative; max-width: 660px; }
.contact-sub { color: rgba(251, 245, 236, .78); margin: 18px 0 34px; font-size: 1.1rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-info { display: grid; gap: 14px; margin: -8px 0 34px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; color: rgba(251, 245, 236, .8); }
.contact-info .ic { width: 22px; height: 22px; color: var(--gold-soft); margin-top: 2px; }
.contact-info strong { display: block; color: #fbf5ec; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
.contact-info a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.contact-info a:hover { color: #fff; }

/* ---------- Teslimat uyarısı ---------- */
.notice {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-2);
}
.notice .ic { width: 20px; height: 20px; color: var(--terra); }
.notice strong { color: var(--ink); }
.notice.small { margin: 0 0 4px; font-size: .88rem; padding: 8px 14px; background: var(--bg); justify-self: start; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-note { color: var(--muted); margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.footer-grid nav a, .footer-grid div > a:not(.brand) {
  display: block; color: var(--muted); padding: 5px 0; width: max-content; transition: color var(--t-fast);
}
.footer-grid a:not(.brand):hover { color: var(--terra); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0 30px; font-size: .9rem; color: var(--muted); }

/* ---------- Çekmece ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(31, 23, 18, .5);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); backdrop-filter: blur(3px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .45s cubic-bezier(.7, 0, .2, 1);
  box-shadow: -24px 0 60px -24px rgba(0, 0, 0, .45);
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { margin-bottom: 2px; }
.drawer-head h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.empty { text-align: center; color: var(--muted); padding: 64px 12px; }
.empty .ic { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--gold); }
.empty strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-ico { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.line-ico img { width: 100%; height: 100%; object-fit: cover; }
.line h4 { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.line .qty button { width: 38px; height: 38px; }
.line .qty .q-val { min-width: 46px; }
.remove { font-size: .85rem; font-weight: 600; color: var(--terra); padding: 8px 4px; }
.remove:hover { text-decoration: underline; }
.drawer-foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--surface); }
.drawer-foot label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.drawer-foot label span { font-weight: 400; color: var(--muted); }
.drawer-foot textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px;
  font: inherit; font-size: 1rem; background: var(--bg); color: var(--ink); resize: vertical;
  transition: border-color var(--t-fast);
}
.drawer-foot textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(180, 67, 44, .15); }
.clear-btn { font-size: .9rem; color: var(--muted); min-height: 40px; }
.clear-btn:hover { color: var(--terra); }

/* ---------- Bildirim & WhatsApp ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; translate: -50% 150px;
  background: var(--ink); color: #fbf5ec; padding: 14px 24px; border-radius: 999px;
  box-shadow: var(--shadow-lg); transition: translate .45s cubic-bezier(.3, 1.4, .5, 1);
  font-weight: 500; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { translate: -50% 0; }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(19, 138, 74, .75); transition: transform var(--t);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.4s infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Beliren öğeler ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 10px 12px; }
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; padding: 96px 24px 32px; z-index: -1;
    flex-direction: column; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); transition: transform .45s cubic-bezier(.7, 0, .2, 1);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .3);
  }
  .nav-links a { font-family: var(--serif); font-size: 1.6rem; padding: 12px 8px; border-radius: var(--r-sm); }
  .nav-links.open { transform: none; }
  .burger { display: flex; }
}
@media (max-width: 760px) {
  /* Mobilde 3D galeri üstte kendi alanında, yazılar altında */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 72px clamp(16px, 5vw, 32px) 64px; }
  #scene3d {
    position: relative; inset: auto; z-index: 0; flex: none;
    width: calc(100% + 2 * clamp(16px, 5vw, 32px)); margin: 0 calc(-1 * clamp(16px, 5vw, 32px)) 12px;
    height: 42svh; min-height: 290px; max-height: 420px;
  }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .hero-content { max-width: 100%; }
  .hero-stats { margin-top: 36px; }
  .hero-stats dt { font-size: 1.2rem; }
  .hero-stats div { padding-right: 12px; }
  .hero-stats div + div { padding-left: 12px; }
  .drag-hint { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .nav { padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .hero-cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
