/* CateringOS · "Gece servisi" token'ları (DESIGN.md ile birebir). Yaver yönü, 27.10.2026 */
/* Yazı tipleri kendi sunucumuzdan (SIL OFL 1.1): Geist (fonts/OFL-Geist.txt), ₺ için Inter Tight alt kümesi (fonts/OFL-InterTight.txt). */
@font-face { font-family: "COS Lira"; src: url("/cekirdek/fonts/intertight-lira.woff2") format("woff2"); unicode-range: U+20BA; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/cekirdek/fonts/geist-wght.woff2") format("woff2-variations"), url("/cekirdek/fonts/geist-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* zemin ve yüzey (koyu) */
  --gece: #000000;          /* tuval: saf siyah */
  --gece-1: #0E0E12;        /* yaprak (bottom sheet), açılır menü */
  --gece-2: #17171D;        /* seçili satır, basılı ikincil düğme */
  --cizgi: #24242C;         /* kıl çizgi ayırıcı (yalnız veri listelerinde) */
  --cizgi-guclu: #3A3A46;   /* boş düğme çerçevesi */
  /* metin (koyu) */
  --un: #FFFFFF;            /* başlık ve gövde, 21:1 */
  --sis: #C8C8CF;           /* uzun gövde metni, 12,6:1 */
  --kul: #A1A1AA;           /* ikincil etiket, 8,2:1 */
  /* marka */
  --patlican: #0A6BC9;      /* Yaver 27.10: eylem rengi MAVİ; tek dolu düğme zemini, beyaz metin 5,3:1 (eski mor #7B4CFF iptal) */
  --patlican-basili: #0959A8;
  --lavanta: #6CC2FF;       /* koyu zeminde açık mavi metin/bağlantı, 9,9:1 */
  --safran: #E8AC35;        /* "şu an", kıvılcım, dikkat; siyahta 10,4:1 */
  --safran-acik: #FFC966;
  --biber: #FF5A4F;         /* yalnız gıda güvenliği ihlali (koyu), 6,8:1 */
  /* parçacık tayfı (yalnız beyin ve ortam parçacıkları) */
  --civit: #0694F9; --erik: #3FA9F5; --buz: #C9D6FF; /* parçacık tayfı mavi aile (Yaver e-posta 58) */

  --font: "COS Lira", "Geist", "Helvetica Neue", Arial, sans-serif;

  /* tipografi ölçeği (px) */
  --t-dev: 104px;  --t-dev-lh: 0.98; --t-dev-ls: -0.045em;
  --t-b1: 76px;    --t-b1-lh: 1.0;   --t-b1-ls: -0.04em;
  --t-b2: 44px;    --t-b2-lh: 1.06;  --t-b2-ls: -0.035em;
  --t-b3: 28px;    --t-b3-lh: 1.15;  --t-b3-ls: -0.02em;
  --t-govde-b: 19px; --t-govde: 16px; --t-etiket: 14px; --t-dipnot: 13px;

  /* boşluk: 6 tabanlı */
  --b-1: 6px; --b-2: 12px; --b-3: 18px; --b-4: 24px; --b-5: 30px; --b-6: 36px;
  --b-8: 48px; --b-10: 60px; --b-16: 96px; --b-20: 120px;

  --r-hap: 9999px; --r-yaprak: 24px; --r-belge: 12px;
  --hiz: 160ms; --egri: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--gece); color: var(--un); font-family: var(--font); font-weight: 400;
  font-feature-settings: "ss01" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.sayi { font-variant-numeric: tabular-nums; }

/* tek dolu düğme: patlıcan hap */
.hap { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px;
  border-radius: var(--r-hap); background: var(--patlican); color: #fff; font: 500 16px/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; border: 0; cursor: pointer; transition: background var(--hiz) var(--egri); }
.hap:hover { background: var(--patlican-basili); }
.hap:focus-visible, a:focus-visible, button:focus-visible, label:focus-within { outline: 2px solid var(--safran); outline-offset: 3px; }
.hap .ok { display: inline-block; transition: transform var(--hiz) var(--egri); }
.hap:hover .ok { transform: translateX(3px); }

/* hayalet bağlantı */
.hayalet { color: var(--un); text-decoration: underline; text-decoration-color: var(--cizgi-guclu); text-underline-offset: 4px; }
.hayalet:hover { text-decoration-color: var(--un); }

/* marka işareti: tabak halkası + safran kıvılcım */
.marka { display: inline-flex; align-items: center; gap: 10px; font: 500 18px/1 var(--font); letter-spacing: -0.02em; color: var(--un); }
.marka svg { width: 26px; height: 26px; flex: none; }

/* tarayıcı yüzeyleri de tasarımın parçası */
::selection { background: var(--patlican); color: #fff; }
html { color-scheme: dark; scrollbar-color: var(--cizgi-guclu) var(--gece); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
