/* İyi Menüm — tasarım belirteçleri (tek kaynak)
   Renkler logodaki kobalt maviden türetildi; nötrler sıcak kağıt tonunda. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext.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: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin.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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Marka */
  --brand-950: #00143f;
  --brand-900: #001c57;
  --brand-800: #002673;
  --brand-700: #002e8a;
  --brand-600: #003399;
  --brand-500: #2355a6;
  --brand-400: #4f78c0;
  --brand-200: #c5d3ee;
  --brand-100: #e3e9f6;
  --brand-50:  #f1f4fb;

  /* Sıcak nötrler */
  --n-0:   #ffffff;
  --n-25:  #fcfcfa;
  --n-50:  #f7f6f3;
  --n-100: #efeee9;
  --n-200: #e3e1db;
  --n-300: #d0cdc5;
  --n-400: #a6a29a;
  --n-500: #78746c;
  --n-600: #5a5750;
  --n-700: #403d38;
  --n-800: #292724;
  --n-900: #181715;

  /* Durum renkleri */
  --ok-700: #116b3a;  --ok-600: #15803d;  --ok-100: #dcf3e4;  --ok-50: #effaf3;
  --warn-700: #8a5300; --warn-600: #b26b00; --warn-100: #fdecc8; --warn-50: #fff8e8;
  --bad-700: #a3201b;  --bad-600: #c62a22;  --bad-100: #fadcd9;  --bad-50: #fef1ef;
  --info-700: #1d4e89; --info-600: #2563a8; --info-100: #dbe8f7; --info-50: #f0f6fd;

  /* Anlamsal eşlemeler (açık tema) */
  --bg: var(--n-50);
  --bg-raised: var(--n-0);
  --bg-sunken: var(--n-100);
  --surface: var(--n-0);
  --surface-2: var(--n-25);
  --line: var(--n-200);
  --line-strong: var(--n-300);
  --text: var(--n-900);
  --text-2: var(--n-600);
  --text-3: var(--n-500);
  --primary: var(--brand-600);
  --primary-hover: var(--brand-700);
  --primary-soft: var(--brand-50);
  --primary-text: #ffffff;
  --focus: 0 0 0 3px rgba(35, 85, 166, .35);
  --sidebar-bg: var(--n-0);
  --sidebar-text: var(--n-700);

  /* Tipografi */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 22px;
  --fs-3xl: 28px;
  --fs-4xl: 36px;
  --lh: 1.5;

  /* Boşluk ölçeği (4 px tabanlı) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px;

  /* Köşe ve gölge */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-full: 999px;
  --sh-1: 0 1px 2px rgba(24, 23, 21, .06);
  --sh-2: 0 1px 2px rgba(24, 23, 21, .05), 0 4px 12px rgba(24, 23, 21, .06);
  --sh-3: 0 8px 28px rgba(24, 23, 21, .14);

  /* Yerleşim */
  --sidebar-w: 248px;
  --sidebar-w-collapsed: 76px;
  --topbar-h: 64px;
  --bottomnav-h: 64px;
  --content-max: 1360px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 160ms;
  color-scheme: light;
}

/* Koyu tema — kullanıcı tercihine göre <html data-theme="dark"> */
:root[data-theme="dark"] {
  --bg: #121315;
  --bg-raised: #1b1c1f;
  --bg-sunken: #0d0e10;
  --surface: #1b1c1f;
  --surface-2: #202125;
  --line: #2c2e33;
  --line-strong: #3a3d44;
  --text: #f1f0ec;
  --text-2: #b9b6ae;
  --text-3: #8d8a83;
  --primary: #5b86d6;
  --primary-hover: #7598dd;
  --primary-soft: rgba(91, 134, 214, .14);
  --primary-text: #0b1530;
  --sidebar-bg: #16171a;
  --sidebar-text: #d6d3cc;
  --ok-50: rgba(21, 128, 61, .16);   --ok-100: rgba(21, 128, 61, .28);  --ok-700: #7ad69c;  --ok-600: #4cc27a;
  --warn-50: rgba(178, 107, 0, .16); --warn-100: rgba(178, 107, 0, .3); --warn-700: #f2c06b; --warn-600: #e3a33f;
  --bad-50: rgba(198, 42, 34, .16);  --bad-100: rgba(198, 42, 34, .3);  --bad-700: #f29a94;  --bad-600: #e86a62;
  --info-50: rgba(37, 99, 168, .16); --info-100: rgba(37, 99, 168, .3); --info-700: #9cc0ec; --info-600: #6fa1df;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 16px rgba(0, 0, 0, .35);
  --sh-3: 0 12px 32px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
}
