/* =========================================================================
   ATAKAN SIP - Tasarim sistemi
   Koyu kirmizi, yogun (compact) cagri merkezi paneli temasi.
   Tum renkler ve olculer burada tanimlidir; bilesenler app.css icinde.
   ========================================================================= */

:root {
  /* --- Zemin ve yuzeyler --- */
  --bg: #0c0608;
  --surface: #180b0f;
  --surface-2: #221016;
  --surface-3: #2c151c;

  /* --- Marka --- */
  --brand: #e11d2e;
  --brand-2: #ff3b4a;
  --brand-deep: #8a1420;
  --brand-soft: #2b0e13;
  --brand-ink: #ffc4c9;

  /* --- Cizgiler --- */
  --line: #3f1b24;
  --line-2: #5a2530;

  /* --- Metin --- */
  --ink: #f7ebed;
  --ink-2: #e6ccd0;
  --muted: #b98d93;
  --faint: #8c666c;

  /* --- Durum renkleri --- */
  --ok: #35c06a;
  --ok-bg: #10231a;
  --ok-ink: #5fd88a;
  --warn: #e6a23a;
  --warn-bg: #2a1c0c;
  --warn-ink: #f6c368;
  --danger: #ff5a5a;
  --danger-bg: #301114;
  --danger-ink: #ff8f8f;
  /* BILGI rengi kirmizi OLMAMALI: "bosta" (olumlu/notr) ile "reddedildi"
     (olumsuz) rozetleri ayni kirmiziya dustugu icin operator ikisini renkten
     ayirt edemiyordu. Mavi tona alindi; marka kirmizisiyla catismiyor. */
  --info: #4a86c2;
  --info-bg: #10202e;
  --info-ink: #86bdf0;
  --neutral-bg: #241118;
  --neutral-ink: #caa7ad;

  /* --- Kenar cubugu (rail) --- */
  --rail: #150a0d;
  --rail-2: #0b0406;
  --rail-tx: #e6ccd0;
  --rail-hd: #8c666c;
  --rail-ic: #a67b81;
  --rail-hover: #2a1016;
  --rail-active: #3f1620;
  --rail-ic-active: #ff5a68;
  --rail-ic-hover: #f1d8dc;

  /* --- Tipografi --- */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, 'Courier New', monospace;
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 13px;
  --fs-md: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 28px;
  --lh-base: 1.5;
  --lh-tight: 1.2;

  /* --- Olculer --- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --sidebar-w: 248px;
  --topbar-h: 60px;
  --content-max: 1440px;

  /* --- Golge ve gecis --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.55);
  --shadow: 0 4px 16px -6px rgba(0, 0, 0, 0.6), 0 2px 6px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, 0.78);
  --ring: 0 0 0 3px rgba(225, 29, 46, 0.3);
  --transition-fast: 140ms ease;
  --transition: 200ms ease;
  --transition-slow: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Sifirlama ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.3px;
}

h3 {
  font-size: var(--fs-md);
  font-weight: 700;
}

a {
  color: var(--brand-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- Kaydirma cubugu ----------------------------------------------------
   Cubuklar gizli; kaydirma calismaya devam eder (tekerlek, dokunmatik,
   klavye, kaydirma cubugu surukleme disindaki her yol). Tasarim temiz kalsin diye. */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* eski Edge/IE */
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Kaydirma cubuklari BILEREK gizli tutulur - bu bir tasarim tercihidir.
   (Bir denetim bulgusuna dayanip geri eklenmisti; yan menude ve pencerelerde
   istenmeyen cubuklar cikardigi icin geri alindi. Yeniden eklenmesin.) */

/* --- Klavye ile gezinme gorunurlugu ------------------------------------- */
:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

/* --- Hareket azaltma tercihi -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
