/* ==========================================================================
   Gündüz Bıçak — Tasarım tokenları
   Renkleri değiştirmek için yalnızca bu dosyayı düzenleyin.
   Kontrast oranları yorumlarda (metin/zemin, WCAG AA ≥ 4.5:1).
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BA, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;

  /* --- Marka --- */
  --brand: #8b5528;            /* kahve vurgu · beyaz üzerinde 6.2:1 */
  --brand-strong: #6e4220;     /* hover/press · beyaz üzerinde 8.6:1 */
  --brand-soft: #f1e4d6;       /* vurgu zemini */
  --on-brand: #ffffff;
  --gold: #b8892f;             /* amblem altını (yalnızca süs/büyük metin) */

  /* --- Yüzeyler --- */
  --bg: #ffffff;               /* beyaz zemin */
  --surface: #ffffff;
  --surface-2: #f8f6f4;
  --surface-3: #f0ece8;
  --border: #e5e0db;
  --border-strong: #c9c0b7;

  /* --- Metin --- */
  --text: #2a2622;             /* beyaz üzerinde 15:1 */
  --text-2: #5e554c;           /* beyaz üzerinde 7.4:1 */
  --text-3: #73685d;           /* beyaz üzerinde 5.4:1 (yalnızca yardımcı metin) */

  /* --- Durum renkleri (her zaman ikon/metinle birlikte kullanılır) --- */
  --danger: #b3261e;   --danger-soft: #fbe9e7;
  --success: #2e7d32;  --success-soft: #e8f3e8;
  --warning: #8a5a00;  --warning-soft: #fdf1d8;
  --info: #1f5f8b;     --info-soft: #e5f0f8;

  /* --- Footer --- */
  --footer-bg: #2a2622;
  --footer-text: #e9e1d6;      /* footer zemininde 12:1 */
  --footer-muted: #b9ad9f;     /* footer zemininde 6.9:1 */

  /* --- Odak --- */
  --focus: #8b5528;
  --focus-ring: 0 0 0 3px var(--bg), 0 0 0 5px var(--focus);

  /* --- Tipografi --- */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;
  --fs-xs: 0.75rem;   /* 12 */
  --fs-sm: 0.875rem;  /* 14 */
  --fs-md: 1rem;      /* 16 */
  --fs-lg: 1.125rem;  /* 18 */
  --fs-xl: 1.25rem;   /* 20 */
  --fs-2xl: 1.5rem;   /* 24 */
  --fs-3xl: 2rem;     /* 32 */
  --fs-4xl: 2.5rem;   /* 40 */
  --lh: 1.6;
  --lh-tight: 1.2;

  /* --- Boşluk (4/8 ritmi) --- */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px;

  /* --- Biçim --- */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-full: 999px;
  --shadow-1: 0 1px 2px rgb(42 38 34 / .06), 0 1px 1px rgb(42 38 34 / .04);
  --shadow-2: 0 4px 12px rgb(42 38 34 / .08), 0 1px 3px rgb(42 38 34 / .06);
  --shadow-3: 0 16px 40px rgb(42 38 34 / .14), 0 4px 12px rgb(42 38 34 / .08);
  --scrim: rgb(28 24 20 / .52);

  /* --- Hareket --- */
  --ease-out: cubic-bezier(.22, 1, .36, 1);      /* yumuşak varış */
  --ease-in: cubic-bezier(.55, 0, 1, .45);       /* çıkış */
  --ease-spring: cubic-bezier(.34, 1.36, .64, 1); /* hafif yaylanma */
  --dur-1: 120ms;  /* basma, renk */
  --dur-2: 200ms;  /* küçük öğeler */
  --dur-3: 320ms;  /* çekmece, akordeon */
  --dur-4: 450ms;  /* sayfa geçişi */

  /* --- Katmanlar --- */
  --z-sticky: 20; --z-drawer: 40; --z-modal: 60; --z-toast: 80; --z-gate: 100;

  /* --- Ölçüler --- */
  --tap: 44px;
  --container: 1240px;
  --sidebar-w: 264px;
}

/* --- Koyu tema: tersine çevrilmiş değil, sıcak tonlu ayrı palet --- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #d29a63;            /* koyu zemin üzerinde 7.4:1 */
  --brand-strong: #e4b383;
  --brand-soft: #3a2c20;
  --on-brand: #1b1815;         /* açık bronz üzerinde 7.6:1 */
  --gold: #d6aa52;

  --bg: #1b1815;
  --surface: #25211d;
  --surface-2: #2b2621;
  --surface-3: #332d27;
  --border: #3d362f;
  --border-strong: #574d43;

  --text: #f2ece3;             /* 15:1 */
  --text-2: #c9bfb2;           /* 10:1 */
  --text-3: #a3978a;           /* 6.4:1 */

  --danger: #ff8a80;  --danger-soft: #3d1f1c;
  --success: #81c784; --success-soft: #1d2f1e;
  --warning: #f2c46d; --warning-soft: #362b14;
  --info: #7fb8e0;    --info-soft: #172a38;

  --footer-bg: #13110f;
  --focus: #e4b383;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4);
  --shadow-2: 0 4px 14px rgb(0 0 0 / .45);
  --shadow-3: 0 18px 44px rgb(0 0 0 / .55);
  --scrim: rgb(0 0 0 / .62);
}
