/* ==========================================================================
   Hasan Usta Tantuni — tasarım sistemi v3
   Renkler logodan: kırmızı daire + lacivert "TH". Tüm ölçüler token'lardan gelir.
   ========================================================================== */

:root {
  /* Marka */
  --red: #c8161d;
  --red-600: #ad1118;
  --red-soft: #fde8e6;
  --navy: #1e2150;
  --navy-900: #141637;
  --navy-700: #2a2e68;

  /* Yüzeyler (açık tema) */
  --bg: #fbf7f1;
  --bg-2: #f4ece0;
  --surface: #ffffff;
  --tile: #f3ede3;            /* ürün görsel zemini — görsellerle birebir aynı */
  --line: rgb(30 33 80 / .10);
  --line-strong: rgb(30 33 80 / .18);
  --ink: #17172a;
  --ink-2: #3b3a4a;
  --muted: #5d5a60;
  --accent-text: var(--red);
  --focus: #2457d6;

  /* Köşe sistemi */
  --r-xs: 8px;    /* etiketler, rozetler */
  --r-sm: 12px;   /* küçük butonlar, ikon butonları */
  --r-md: 14px;   /* butonlar, giriş alanları, seçenek kartları */
  --r-lg: 22px;   /* ürün kartları */
  --r-xl: 30px;   /* büyük paneller, ana görseller */
  --r-pill: 999px;

  /* Derinlik */
  --shadow-sm: 0 1px 2px rgb(23 23 42 / .06), 0 2px 6px rgb(23 23 42 / .04);
  --shadow-md: 0 2px 4px rgb(23 23 42 / .04), 0 12px 32px -12px rgb(23 23 42 / .18);
  --shadow-lg: 0 30px 80px -24px rgb(20 22 55 / .45);

  /* Tipografi */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Düzen */
  --wrap: 1240px;
  --gutter: clamp(18px, 4.5vw, 40px);
  --header-h: 76px;
  --dock-space: 0px;
  --section-y: clamp(72px, 10vw, 128px);

  --ease: cubic-bezier(.22, .8, .24, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101120; --bg-2: #16182b; --surface: #1b1d33;
    --line: rgb(255 255 255 / .09); --line-strong: rgb(255 255 255 / .18);
    --ink: #f5f0e8; --ink-2: #ddd7cd; --muted: #aaa4ab;
    --accent-text: #ff7a7e; --red-soft: rgb(200 22 29 / .18); --focus: #8fb2ff;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-md: 0 14px 34px -14px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101120; --bg-2: #16182b; --surface: #1b1d33;
  --line: rgb(255 255 255 / .09); --line-strong: rgb(255 255 255 / .18);
  --ink: #f5f0e8; --ink-2: #ddd7cd; --muted: #aaa4ab;
  --accent-text: #ff7a7e; --red-soft: rgb(200 22 29 / .18); --focus: #8fb2ff;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-md: 0 14px 34px -14px rgb(0 0 0 / .7);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-space);
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
.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; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--r-md); text-decoration: none; font-weight: 700; transition: top .2s var(--ease); }
.skip-link:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Bölüm başlığı */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.section { padding-block: var(--section-y); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 48px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head h2 { font-size: clamp(36px, 5vw, 62px); margin-top: 14px; }
.section-head h2 em { font-style: italic; font-weight: 500; color: var(--accent-text); }
.section-head p { color: var(--muted); max-width: 40ch; font-size: 17px; }
@media (max-width: 799px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Butonlar ---------- */
.btn {
  --btn-h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px; border-radius: var(--r-md); border: 0;
  font-weight: 700; font-size: 15.5px; letter-spacing: .005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .i-arrow { transition: transform .3s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px -10px rgb(200 22 29 / .75), inset 0 1px 0 rgb(255 255 255 / .18); }
.btn-primary:hover { background: var(--red-600); box-shadow: 0 12px 28px -10px rgb(200 22 29 / .85), inset 0 1px 0 rgb(255 255 255 / .18); }
.btn-glass { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgb(255 255 255 / .18); }
.btn-soft { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f3eee6; }
.btn-sm { --btn-h: 44px; padding: 0 18px; font-size: 14.5px; border-radius: var(--r-sm); }

/* ==========================================================================
   NAVBAR — hero ile bütünleşik, kaydırınca buzlu cam
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled, .site-header.is-solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgb(23 23 42 / .35);
}
.site-header.is-scrolled .header-inner { height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex: none; }
.brand-logo { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 6px 16px -6px rgb(0 0 0 / .45); transition: width .35s var(--ease), height .35s var(--ease); }
.is-scrolled .brand-logo { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.015em; }
.brand-sub { font-size: 10.5px; font-weight: 800; letter-spacing: .26em; margin-top: 5px; opacity: .72; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav a {
  position: relative; padding: 8px 0; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; opacity: .82;
  transition: opacity .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(.6); }
.nav a[aria-current="location"] { opacity: 1; }
.nav a[aria-current="location"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn, .nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: inherit; cursor: pointer; transition: background-color .25s var(--ease);
}
.theme-btn:hover, .nav-toggle:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-call { --btn-h: 46px; padding: 0 20px; border-radius: var(--r-md); font-size: 14.5px; }
.nav-toggle { display: none; }
.burger { position: relative; width: 22px; height: 14px; }
.burger span { position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease), width .35s var(--ease); }
.burger span:nth-child(1) { top: 2px; width: 22px; }
.burger span:nth-child(2) { top: 10px; width: 14px; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { top: 6px; width: 22px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  :root { --header-h: 68px; }
  .nav, .btn-call { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .brand-name { font-size: 20px; }
}
@media (max-width: 379px) {
  .header-inner { gap: 10px; }
  .card-grid { gap: 10px; }
  .pcard-name { font-size: 15.5px; overflow-wrap: anywhere; }
  .pcard-foot { gap: 6px; }
  .brand { gap: 9px; }
  .brand-logo, .is-scrolled .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .14em; }
  .header-actions { gap: 2px; }
  .theme-btn, .nav-toggle { width: 40px; height: 40px; }
  .hero-facts dt { font-size: 17px; }
}

/* Mobil menü paneli */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 12px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: var(--navy-900); color: #fff; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.mobile-menu::before { content: ""; position: absolute; inset: auto -20% -30% auto; width: 80vw; height: 80vw; border-radius: 50%; background: radial-gradient(closest-side, rgb(200 22 29 / .35), transparent); pointer-events: none; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-links { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.mobile-links a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(32px, 9vw, 44px); font-weight: 600; letter-spacing: -.02em;
  border-bottom: 1px solid rgb(255 255 255 / .1);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease), color .2s;
}
.mobile-links a small { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; color: #ff8e92; }
.mobile-links a:hover { color: #ffd2cc; }
.mobile-menu.is-open .mobile-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-links li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open .mobile-links li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu-foot { position: relative; margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu-foot .btn { width: 100%; }
.mobile-menu-foot p { color: rgb(255 255 255 / .62); font-size: 14px; margin-top: 6px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(56px, 7vw, 96px);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.hero::before { /* ışık katmanları */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgb(200 22 29 / .32), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgb(60 70 170 / .35), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy));
}
.hero::after { /* logodaki daireye gönderme yapan ince halka */
  content: ""; position: absolute; z-index: -1; width: min(780px, 90vw); aspect-ratio: 1; right: -12%; top: 50%; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid rgb(255 255 255 / .08); box-shadow: 0 0 0 70px rgb(255 255 255 / .015), 0 0 0 140px rgb(255 255 255 / .012);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-size: 13px; font-weight: 700; color: #f1e9ff; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 4px rgb(255 90 95 / .22); }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); font-weight: 700; line-height: .95; letter-spacing: -.035em; margin: 26px 0 0; }
.hero h1 .h1-accent { display: block; font-style: italic; font-weight: 500; color: #ffb4ab; letter-spacing: -.03em; }
.hero-lead { margin-top: 26px; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: #d4d5ea; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 44px 0 0; padding: 0; }
.hero-facts div { padding: 0 28px; border-left: 1px solid rgb(255 255 255 / .14); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.hero-facts dd { margin: 2px 0 0; font-size: 13.5px; color: #b9bad3; }

.hero-visual { position: relative; padding: 0 0 0 clamp(0px, 3vw, 40px); }
.hero-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.02); }
.hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); pointer-events: none; }
.hero-float {
  position: absolute; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 10px 18px 10px 10px; border: 0; border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--ink);
  backdrop-filter: blur(10px); box-shadow: 0 24px 50px -20px rgb(0 0 0 / .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hero-float:hover { transform: translateY(-3px); }
.hero-float img { width: 64px; height: 64px; border-radius: var(--r-md); object-fit: cover; }
.hero-float small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-float strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.2; margin-top: 2px; }
.hero-float .price { display: inline-block; margin-top: 4px; font-weight: 800; font-size: 14px; color: var(--accent-text); }
.hero-float--a { left: 0; bottom: 12%; }
.hero-float--b { right: -14px; top: 9%; padding: 10px 16px; border-radius: var(--r-pill); gap: 8px; font-size: 13.5px; font-weight: 700; }
.hero-float--b .i { color: var(--red); }

@media (max-width: 959px) {
  .hero { border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 0; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .hero-float--b { right: 12px; top: 12px; }
  .hero-float--a { left: 12px; bottom: 12px; }
}
@media (max-width: 559px) {
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts div { padding: 0 12px; }
  .hero-facts dt { font-size: 20px; }
  .hero-facts dd { font-size: 12px; }
  .hero-photo { aspect-ratio: 4 / 3.6; border-radius: var(--r-lg); }
  .hero-float { padding: 8px 14px 8px 8px; gap: 10px; }
  .hero-float img { width: 48px; height: 48px; border-radius: var(--r-sm); }
  .hero-float strong { font-size: 15px; }
  .hero-float--b { font-size: 12.5px; padding: 8px 12px; }
}

/* ==========================================================================
   KATEGORİLER
   ========================================================================== */
.cats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px;
  padding: 26px; border-radius: var(--r-xl); overflow: hidden; text-decoration: none; isolation: isolate;
  background: var(--tile); color: #17172a;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat > img { position: absolute; z-index: -1; right: -6%; bottom: -8%; width: 72%; max-width: 340px; transition: transform .6s var(--ease); }
.cat:hover > img, .cat:hover .cat-plate img { transform: scale(1.05) rotate(-2deg); }
.cat:first-child > img { width: 62%; max-width: 420px; }
.cat-count { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a5a3c; }
.cat h3 { font-size: clamp(30px, 3vw, 40px); margin-top: 8px; max-width: 8ch; }
.cat-go { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #17172a; color: #fff; transition: background-color .3s var(--ease), transform .4s var(--ease); }
.cat:hover .cat-go { background: var(--red); transform: rotate(-45deg); }
.cat--red { background: var(--red); color: #fff; }
.cat--red .cat-count { color: #fff; }
.cat-plate { position: absolute; z-index: -1; right: -10%; bottom: -14%; width: 64%; max-width: 290px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f3ede3; box-shadow: 0 24px 50px -16px rgb(0 0 0 / .55), 0 0 0 10px rgb(255 255 255 / .12); }
.cat-plate img { width: 100%; height: 100%; object-fit: cover; scale: 1.9; transition: transform .6s var(--ease); }
.cat--red .cat-go { background: #fff; color: var(--red); }
.cat--red:hover .cat-go { background: #fff; }
@media (max-width: 899px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .cat:first-child { grid-column: 1 / -1; min-height: 240px; }
  .cat { min-height: 220px; padding: 22px; border-radius: var(--r-lg); }
}
@media (max-width: 479px) {
  .cats { gap: 12px; }
  .cat { min-height: 190px; padding: 18px; }
  .cat h3 { font-size: 26px; }
  .cat-go { width: 40px; height: 40px; }
}

/* ==========================================================================
   ÜRÜN KARTLARI (öne çıkanlar + menü)
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pcard {
  position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 8px; border: 0; text-align: left; cursor: pointer;
  border-radius: var(--r-lg); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); transform: translateY(-3px); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; border-radius: calc(var(--r-lg) - 6px); overflow: hidden; background: var(--tile); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badge { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / .9); color: #17172a; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.pcard-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 10px 8px; }
.pcard-name { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
.pcard-desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.pcard-price { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.pcard-price small { font-weight: 600; font-size: 12.5px; color: var(--muted); }
.pcard-more { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-2); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease); }
.pcard:hover .pcard-more { background: var(--red); color: #fff; transform: rotate(-45deg); }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: var(--r-xs); font-size: 11.5px; font-weight: 700; line-height: 1.2; background: var(--bg-2); color: var(--ink-2); }
.tag-warn { background: var(--red-soft); color: var(--accent-text); }

@media (max-width: 1079px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { padding: 6px; border-radius: 18px; }
  .pcard-media { border-radius: 13px; }
  .pcard-body { padding: 10px 6px 6px; gap: 4px; }
  .pcard-name { font-size: 16.5px; }
  .pcard-desc { display: none; }
  .pcard-price { font-size: 16px; }
  .pcard-price small { display: none; }
  .pcard-more { width: 30px; height: 30px; }
  .pcard-more .i { width: 15px; height: 15px; }
}

/* Tek ürünlü grup: yatay geniş kart */
.card-grid--solo { grid-template-columns: minmax(0, 640px); }
.card-grid--solo .pcard { flex-direction: row; align-items: stretch; gap: 8px; }
.card-grid--solo .pcard-media { flex: 0 0 44%; }
.card-grid--solo .pcard-body { padding: 18px 16px 10px; }
.card-grid--solo .pcard-desc { display: block; }
@media (max-width: 759px) { .card-grid--solo { grid-template-columns: 1fr; } .card-grid--solo .pcard-media { flex-basis: 42%; } }

/* Kompakt kart (içecekler) */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mcard {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; min-width: 0;
  padding: 8px 16px 8px 8px; border: 0; border-radius: var(--r-lg); text-align: left; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.mcard:hover { box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line); transform: translateY(-2px); }
.mcard-media { width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; background: var(--tile); }
.mcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mcard:hover .mcard-media img { transform: scale(1.08); }
.mcard-name { display: block; font-weight: 800; font-size: 15.5px; line-height: 1.3; }
.mcard-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mcard-price { font-weight: 800; font-size: 16px; }
@media (max-width: 1079px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .mini-grid { grid-template-columns: 1fr; gap: 10px; } .mcard { grid-template-columns: 64px 1fr auto; } .mcard-media { width: 64px; height: 64px; } }

/* ==========================================================================
   HİKÂYE
   ========================================================================== */
.story-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.story-media { position: relative; min-height: 460px; margin: 0; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(23 23 42 / .72); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.story-copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.story-copy blockquote { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; font-style: italic; line-height: 1.18; letter-spacing: -.02em; }
.story-copy blockquote span { color: var(--accent-text); }
.story-points { list-style: none; margin: 34px 0 0; padding: 6px 20px; display: grid; border-radius: var(--r-lg); background: var(--bg); counter-reset: sp; }
.story-points li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: sp; }
.story-points li:first-child { border-top: 0; }
.story-points li::before { content: "0" counter(sp); grid-row: span 2; font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.1; color: var(--accent-text); }
.story-points b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.story-points span { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
@media (max-width: 959px) { .story-panel { grid-template-columns: 1fr; } .story-media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 599px) { .story-panel { border-radius: var(--r-lg); } .story-points { padding: 4px 16px; } }

/* ==========================================================================
   MENÜ
   ========================================================================== */
.menu-section { background: var(--bg-2); border-radius: var(--r-xl); margin-inline: clamp(0px, 1.2vw, 16px); }
.menu-tools {
  position: sticky; top: 76px; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  padding: 10px; margin-bottom: 8px; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md), inset 0 0 0 1px var(--line);
}
.tools-row { display: flex; align-items: center; gap: 10px; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--bg-2); overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 11px;
  background: transparent; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab .count { min-width: 22px; padding: 1px 6px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 8%, transparent); font-size: 12px; font-weight: 800; text-align: center; }
.tab[aria-pressed="true"] .count { background: var(--red); color: #fff; }
.search { position: relative; flex: 0 1 300px; }
.search .i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 16px 0 44px; border: 0; border-radius: var(--r-md);
  background: var(--bg-2); font-size: 16px; color: var(--ink);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 2px var(--ink); }
.allergen-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 6px 2px; font-size: 13.5px; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: var(--r-pill);
  background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; font-weight: 700; font-size: 13px; color: var(--ink-2);
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"]::before { content: "✓"; }
@media (max-width: 759px) {
  .menu-section { border-radius: var(--r-lg); margin-inline: 0; }
  .menu-tools { position: static; padding: 8px; border-radius: 18px; }
  .tools-row { flex-direction: column; align-items: stretch; }
  .search { flex: 1 1 auto; }
}

.menu-group { padding-top: clamp(36px, 5vw, 56px); }
.menu-group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.group-head h3 { font-size: clamp(28px, 3.4vw, 40px); }
.group-head span { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.menu-group li[hidden], .menu-group [data-id][hidden] { display: none; }
.menu-empty { padding: 64px 0 24px; text-align: center; color: var(--muted); }
.menu-empty .btn { margin-top: 14px; }
.menu-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 44px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); color: var(--ink-2); font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.menu-note .i { color: var(--accent-text); margin-top: 2px; }

/* ==========================================================================
   ÜRÜN DETAYI
   ========================================================================== */
.product-dialog {
  width: min(920px, calc(100vw - 40px)); max-height: min(720px, calc(100dvh - 40px));
  padding: 0; border: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
.product-dialog::backdrop { background: rgb(12 13 30 / .55); backdrop-filter: blur(4px); }
.product-dialog[open] { animation: dlg-in .45s var(--ease); }
.product-dialog[open]::backdrop { animation: fade-in .3s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes fade-in { from { opacity: 0; } }
/* Masaüstünde pencere sabit yükseklikte; sağ sütun kendi içinde kayar */
.pd { display: grid; grid-template-columns: 1fr 1.08fr; grid-template-rows: minmax(0, 1fr); height: min(720px, calc(100dvh - 40px)); }
.pd-media { position: relative; margin: 10px; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: var(--tile); }
.pd-media img { width: 100%; height: 100%; object-fit: contain; }
.pd-media--photo img { object-fit: cover; }
.pd-media figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: var(--r-pill); background: rgb(23 23 42 / .72); color: #fff; font-size: 12px; font-weight: 700; }
.pd-body { min-height: 0; padding: 34px 32px 26px 22px; overflow-y: auto; overscroll-behavior: contain; }
.pd-close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink); cursor: pointer; transition: background-color .25s var(--ease), transform .3s var(--ease); }
.pd-close:hover { background: var(--ink); color: var(--bg); transform: rotate(90deg); }
.pd-cat { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.pd h2 { font-size: clamp(28px, 3vw, 38px); margin: 10px 52px 0 0; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pd-price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pd-block { margin-top: 22px; }
.pd-label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-block p { color: var(--ink-2); }
.pd-note { font-size: 13px; color: var(--muted) !important; margin-top: 8px; }
.portions { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.portion { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.portion:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.portion:has(input:checked) { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.portion input { accent-color: var(--red); width: 18px; height: 18px; margin: 0; }
.portion span { flex: 1; font-weight: 600; }
.portion b { font-weight: 800; }
.pd-panel { border-radius: var(--r-md); background: var(--bg); padding: 4px 16px; }
.pd-panel summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.pd-panel summary::-webkit-details-marker { display: none; }
.pd-panel summary .pd-label { margin: 0; }
.pd-panel summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.pd-panel[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.nutrition { width: 100%; border-collapse: collapse; font-size: 15px; }
.nutrition th, .nutrition td { padding: 9px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 600; }
.nutrition td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-panel .pd-note { padding-bottom: 12px; }
.pairs { display: flex; flex-wrap: wrap; gap: 8px; }
.pair { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 0; border-radius: var(--r-pill); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); transition: box-shadow .25s var(--ease); }
.pair:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pair img { width: 34px; height: 34px; border-radius: 50%; }
.pair span { color: var(--muted); font-weight: 600; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pd-actions .btn { flex: 1 1 170px; }

@media (max-width: 719px) {
  .product-dialog { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .product-dialog[open] { animation: sheet-in .45s var(--ease); }
  @keyframes sheet-in { from { transform: translateY(60px); opacity: 0; } }
  .pd { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
  .pd-media { margin: 8px 8px 0; border-radius: 20px; aspect-ratio: 16 / 11; }
  .pd-media img { object-fit: cover; }
  .pd-body { overflow: visible; padding: 22px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
  .pd-close { top: 18px; right: 18px; background: rgb(255 255 255 / .92); color: #17172a; }
  .pd h2 { margin-right: 0; }
}

/* ==========================================================================
   KONUM & İLETİŞİM
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; }
.visit-card { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 30px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: var(--navy); color: #fff; }
.visit-card::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgb(200 22 29 / .45), transparent); }
.visit-card h3 { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffa3a6; margin-bottom: 10px; }
.visit-card address { font-style: normal; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; letter-spacing: -.01em; }
.phones { display: grid; gap: 10px; }
.phone-link { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: rgb(255 255 255 / .07); text-decoration: none; transition: background-color .25s var(--ease); }
.phone-link:hover { background: rgb(255 255 255 / .13); }
.phone-link .ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: rgb(255 255 255 / .1); }
.phone-link b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.phone-link > span:last-child { margin-left: auto; font-size: 12.5px; color: #c1c2da; }
.hours { list-style: none; margin: 0; padding: 4px 16px; border-radius: var(--r-md); background: rgb(255 255 255 / .06); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14.5px; color: #d8d9ea; border-top: 1px solid rgb(255 255 255 / .07); }
.hours li:first-child { border-top: 0; }
.hours li:not([data-open]) span:last-child { color: #ffa3a6; }
.hours li.is-today { color: #fff; font-weight: 800; }
.hours li.is-today span:first-child::after { content: " · bugün"; font-weight: 600; color: #c1c2da; }
.hours-status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 800; background: rgb(255 255 255 / .1); }
.hours-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff6b70; }
.hours-status.is-open::before { background: #4ade80; box-shadow: 0 0 0 4px rgb(74 222 128 / .2); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.visit-actions .btn { flex: 1 1 160px; }

.map-shell { position: relative; min-height: 460px; border-radius: var(--r-xl); overflow: hidden; background: #ece4d6; box-shadow: inset 0 0 0 1px var(--line); }
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #17172a;
  background-color: #ece4d6;
  background-image:
    radial-gradient(circle at 50% 46%, rgb(200 22 29 / .12) 0 70px, transparent 71px),
    linear-gradient(118deg, transparent 46%, #fff 46.3%, #fff 49.7%, transparent 50%),
    linear-gradient(28deg, transparent 62%, #f8f4ec 62.2%, #f8f4ec 64.5%, transparent 64.7%),
    linear-gradient(#e2d8c6 1px, transparent 1px),
    linear-gradient(90deg, #e2d8c6 1px, transparent 1px);
  background-size: auto, auto, auto, 56px 56px, 56px 56px;
}
.map-facade .pin { position: relative; width: 58px; height: 58px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--red); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 12px 24px -8px rgb(200 22 29 / .7); }
.map-facade .pin::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.map-facade strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.map-facade p { font-size: 14px; color: #514c45; max-width: 32ch; margin: 8px auto 18px; }
.map-facade .btn { background: #17172a; color: #fff; }
.map-facade .btn:hover { background: #000; }
@media (max-width: 959px) { .visit-grid { grid-template-columns: 1fr; } .map-shell { min-height: 340px; } }
@media (max-width: 599px) { .visit-card, .map-shell { border-radius: var(--r-lg); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { padding: 0 clamp(0px, 1.2vw, 16px) clamp(0px, 1.2vw, 16px); }
.footer-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--navy-900); color: #c9c9dc; padding: clamp(48px, 6vw, 80px) 0 28px; }
.footer-panel::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -200px; bottom: -340px; border-radius: 50%; background: radial-gradient(closest-side, rgb(200 22 29 / .3), transparent); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 0 0 3px rgb(255 255 255 / .9); }
.footer-brand b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.015em; }
.footer-brand span { font-size: 14px; }
.footer-cta { margin-top: 26px; }
.site-footer h2 { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #e8e8f2; text-decoration: none; }
.site-footer ul a { position: relative; display: inline-block; padding: 3px 0; }
.site-footer ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-footer ul a:hover::after { transform: scaleX(1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13px; color: #9d9db6; }
@media (max-width: 799px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .footer-panel { border-radius: var(--r-lg); } }

/* ==========================================================================
   MOBİL HIZLI İŞLEM ÇUBUĞU — hero geçildikten sonra görünür
   ========================================================================== */
.dock { display: none; }
@media (max-width: 959px) {
  :root { --dock-space: calc(84px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px; padding: 6px;
    border-radius: 22px; background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px -16px rgb(0 0 0 / .4), inset 0 0 0 1px var(--line);
    transform: translateY(140%); transition: transform .45s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 16px; text-decoration: none; font-size: 14px; font-weight: 800; color: var(--ink); transition: background-color .25s var(--ease); }
  .dock a:hover { background: var(--bg-2); }
  .dock a.dock-main { background: var(--red); color: #fff; }
  .dialog-open .dock, .menu-open .dock { transform: translateY(140%); }
}
@media (max-width: 359px) { .dock a { font-size: 13px; gap: 6px; } .dock a .i { width: 18px; height: 18px; } }

/* ==========================================================================
   SAYFA GİRİŞ ANİMASYONU (yalnızca JS varsa ve hareket azaltılmamışsa)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   TEMA GEÇİŞ SAHNESİ — açık temaya güneş doğar, koyu temaya güneş batar ay çıkar
   ========================================================================== */
.sky { position: fixed; inset: 0; z-index: 300; overflow: hidden; pointer-events: none; opacity: 0; background: #141637; }
.sky > * { position: absolute; }
.sky-layer { inset: 0; opacity: 0; }
.sky-day   { background: linear-gradient(180deg, #8ec3f5 0%, #c9e0f2 38%, #ffd9a8 72%, #fff1dc 100%); }
.sky-dusk  { background: linear-gradient(180deg, #2a2e68 0%, #8a1d4a 38%, #e2452f 66%, #ffab5e 100%); }
.sky-night { background: linear-gradient(180deg, #05061a 0%, #10123a 55%, #1e2150 100%); }
.sky-stars {
  inset: 0 0 35% 0; opacity: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 17% 9%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 26% 31%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 34% 14%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 43% 40%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 57% 8%, #fff 50%, transparent 52%),
    radial-gradient(2px 2px at 66% 27%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 74% 12%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 83% 36%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 91% 18%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 96% 44%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 4% 48%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 50% 22%, #fff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 61% 46%, #fff 50%, transparent 52%);
}
.sky-sun {
  left: 50%; top: 24vh; width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #fff8d6 0%, #ffd84a 42%, #ff9f1c 100%);
  box-shadow: 0 0 60px 18px rgb(255 205 90 / .6), 0 0 180px 70px rgb(255 150 60 / .32);
  opacity: 0;
}
.sky-moon {
  left: 50%; top: 22vh; width: 128px; height: 128px; border-radius: 50%;
  box-shadow: inset 30px -12px 0 0 #f6f0d8;
  filter: drop-shadow(0 0 26px rgb(246 240 216 / .5));
  opacity: 0;
}
.sky-hill { left: -15%; right: -15%; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sky-hill--back { bottom: -14vh; height: 44vh; left: 30%; right: -40%; background: #23276a; }
.sky-hill--front { bottom: -24vh; height: 50vh; right: 20%; background: #141637; }
.sky-hill--front::after { /* logodaki daireye selam: tepede küçük ışık */
  content: ""; position: absolute; left: 62%; top: 10%; width: 10px; height: 10px; border-radius: 50%;
  background: #ffcf6b; box-shadow: 0 0 14px 4px rgb(255 207 107 / .6);
}
@media (max-width: 599px) {
  .sky-sun { width: 124px; height: 124px; top: 22vh; }
  .sky-moon { width: 96px; height: 96px; top: 20vh; box-shadow: inset 22px -9px 0 0 #f6f0d8; }
}

/* ---------- Basit sayfalar (404, gizlilik) ---------- */
.page { padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 var(--section-y); }
.page h1 { font-size: clamp(40px, 6vw, 72px); margin: 16px 0 20px; }
.page-lead { color: var(--muted); max-width: 52ch; font-size: 18px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--accent-text); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
