/* base.css — tasarım token'ları, reset, tipografi.
   Yön: açık ve sakin zemin, iki anlamlı aksan (gold = PPF / boya, turkuaz = cam filmi),
   tek tip okunaklı sans tipografi. */

:root {
  /* ---- Zemin ve metin ---- */
  --paper:    #FBFAF8;   /* ana zemin */
  --paper-2:  #F3F1EC;   /* alternatif bölüm zemini */
  --surface:  #FFFFFF;   /* kart / yükseltilmiş yüzey */

  --ink:      #14161A;   /* ana metin */
  --ink-2:    #52565E;   /* ikincil metin */
  --ink-3:    #878C95;   /* etiket / üçüncül */

  --line:     rgba(20, 22, 26, .13);
  --line-2:   rgba(20, 22, 26, .07);

  /* ---- Aksan 1: gold = PPF, boya koruma ---- */
  --gold:     #C9A227;   /* dolgu, çizgi, grafik */
  --gold-ink: #8C6D12;   /* açık zeminde METİN için AA geçen koyu varyant */
  --gold-2:   #E9DBB0;
  --gold-a:   rgba(201, 162, 39, .12);

  /* ---- Aksan 2: turkuaz = cam filmi, ışık ---- */
  --aqua:     #1FA0AE;
  --aqua-ink: #0E7A86;   /* açık zeminde METİN için koyu varyant */
  --aqua-2:   #C3E6EA;
  --aqua-a:   rgba(31, 160, 174, .10);

  /* ---- WhatsApp: markanın kendi yeşili ---- */
  --wa:       #25D366;
  --wa-dark:  #1DA851;

  /* ---- Koyu vurgu (PPF paneli, hero perdesi) ---- */
  --dark:     #14171C;
  --dark-2:   #1D2128;
  --on-dark:  #F5F4F1;

  /* ---- Boşluk (8px tabanlı) ---- */
  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 40px;  --s-6: 48px;  --s-7: 64px;  --s-8: 80px;
  --s-9: 96px;  --s-10: 120px; --s-11: 150px; --s-12: 190px;

  /* ---- Yerleşim ---- */
  --wrap:    1300px;
  --gutter:  clamp(1.25rem, 4.5vw, 3.75rem);
  --chapter: clamp(5rem, 10vw, 9rem);
  --hdr-h:   74px;

  /* ---- Köşe: düşük ---- */
  --r-0: 0px;
  --r-1: 3px;
  --r-2: 6px;
  --r-3: 10px;
  --r-pill: 999px;

  /* ---- Gölge: çok yumuşak ---- */
  --sh-1: 0 2px 10px rgba(20, 22, 26, .04);
  --sh-2: 0 14px 44px rgba(20, 22, 26, .07);
  --sh-3: 0 26px 70px rgba(20, 22, 26, .12);

  /* ---- Hareket ---- */
  --ease:    cubic-bezier(.22, .7, .28, 1);
  --ease-io: cubic-bezier(.66, 0, .34, 1);
  --t:       .35s var(--ease);

  /* ---- Tipografi: iki nötr sans, karmaşa yok ---- */
  --f-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-ui:   "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Hero tek ekrana sığmak zorunda: yüksekliğe de bağlı ölçek */
  --fs-mega:  clamp(2.4rem, min(7.6vw, 12vh), 5.5rem);
  --fs-dsp:   clamp(1.75rem, 4vw, 3.15rem);
  --fs-dsp-s: clamp(1.25rem, 2vw, 1.7rem);
  --fs-lead:  clamp(1.0625rem, 1.25vw, 1.1875rem);
  --fs-body:  1rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* ---- Katmanlar ---- */
  --z-dock:    60;
  --z-hdr:     80;
  --z-menu:    90;
  --z-modal:   120;
  --z-cursor:  200;
  --z-preload: 300;
}

/* ------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* clip: overflow-x:hidden body'yi scroll konteynerine çevirip fixed/sticky'yi bozar */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }

a { color: inherit; text-decoration: none; }

/* hidden attribute'u kendi display kurallarımızı da yenmeli */
[hidden] { display: none !important; }

img, svg, picture, iframe, video { display: block; max-width: 100%; }
img { height: auto; }

button { font: inherit; color: inherit; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; }

/* ------------------------------------------------------ TİPOGRAFİ SINIF */
.dsp {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--fs-dsp);
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.dsp--s { font-size: var(--fs-dsp-s); letter-spacing: -.02em; }

.label {
  display: block;
  font-family: var(--f-ui);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label--gold { color: var(--gold-ink); }
.label--aqua { color: var(--aqua-ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.68;
  color: var(--ink-2);
  max-width: 48ch;
}

.muted { color: var(--ink-2); }

/* ------------------------------------------------------------- ODAK */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--aqua-ink);
  outline-offset: 3px;
  border-radius: var(--r-1);
}
.on-dark :focus-visible { outline-color: var(--gold-2); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px; left: var(--s-2);
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-1);
  transition: top var(--t);
}
.skip-link:focus-visible { top: var(--s-2); }

/* ---------------------------------------- HAREKET AZALTMA KAÇIŞ YOLU */
.no-motion *,
.no-motion *::before,
.no-motion *::after {
  animation-duration: .001ms;
  animation-iteration-count: 1;
  transition-duration: .001ms;
}
.no-motion { scroll-behavior: auto; }
