/* ==========================================================================
   base.css — tasarim tokenlari, reset, tipografi, butonlar
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fontlar — Poppins, self-hosted (SIL Open Font License)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1E9F, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1E9F, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1E9F, U+2020, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02FF, U+1E00-1E9F, U+2020, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Renkler ------------------------------------------------------------- */
  --bg:          #FDFCFA;   /* kirik beyaz — ana zemin */
  --bg-alt:      #F4F1EC;   /* krem — alternatif bolumler */
  --bg-deep:     #150B33;   /* koyu indigo-siyah — koyu bolumler ve birincil buton */
  --ink:         #1C1B19;   /* ana metin */
  --ink-soft:    #6A655E;   /* ikincil metin — AA uyumlu */
  --ink-invert:  #FDFCFA;   /* koyu zemin uzerindeki metin */
  --accent:      #4B24B8;   /* indigo/mor — SADECE dekoratif (cizgi, ikon, cerceve) */
  --accent-deep: #210972;   /* indigo koyu — metin, link ve buton icin, AA uyumlu */
  --accent-wash: #F1EEFB;   /* cok acik lavanta zemin */
  --line:        #E4DFD7;   /* ayirici cizgi */
  --line-strong: #CFC7B9;
  --danger:      #A03027;
  --success:     #2E6B4F;

  /* Tipografi ----------------------------------------------------------- */
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
  --fs-h4:   clamp(1.25rem, 0.6vw + 1.1rem, 1.5rem);
  --fs-h3:   clamp(1.5rem, 1vw + 1.25rem, 2rem);
  --fs-h2:   clamp(1.85rem, 1.8vw + 1.3rem, 2.75rem);
  --fs-h1:   clamp(2.25rem, 3.4vw + 1.4rem, 4rem);

  --lh-tight: 1.1;
  --lh-snug:  1.3;
  --lh-body:  1.72;

  /* Bosluk skalasi (8px tabanli) ---------------------------------------- */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --section-y: clamp(4rem, 8vw, 7.5rem);
  --container: 1200px;
  --container-narrow: 780px;

  --radius:    0px;
  --radius-lg: 0px;

  --shadow-sm: 0 1px 2px rgba(28, 27, 25, 0.04), 0 2px 8px rgba(28, 27, 25, 0.04);
  --shadow-md: 0 4px 12px rgba(28, 27, 25, 0.06), 0 12px 32px rgba(28, 27, 25, 0.07);
  --shadow-lg: 0 8px 24px rgba(28, 27, 25, 0.08), 0 24px 64px rgba(28, 27, 25, 0.10);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.35s;

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--sp-2); font-weight: 400; }
p, ul, ol, dl, figure, blockquote, table { margin: 0 0 var(--sp-2); }
:where(p, li):last-child { margin-bottom: 0; }

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

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

address { font-style: normal; }

table { border-collapse: collapse; width: 100%; }

/* --------------------------------------------------------------------------
   Tipografi
   -------------------------------------------------------------------------- */
h1, .h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.01em; font-weight: 700; }
h2, .h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.16; letter-spacing: -0.005em; font-weight: 700; }
h3, .h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 600; }
h4, .h4 { font-family: var(--font-body);    font-size: var(--fs-h4); line-height: var(--lh-snug); font-weight: 600; }

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--ink); }

strong, b { font-weight: 600; }

small { font-size: var(--fs-sm); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-5) 0;
}

blockquote {
  margin: var(--sp-4) 0;
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-3);
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink);
}

/* Bolum basligi ustundeki kucuk etiket */
.eyebrow {
  display: inline-block;
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 0.75em;
  vertical-align: 0.35em;
  background: var(--accent);
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.85em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: var(--ink-invert);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--ink-invert);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-alt);
  color: var(--ink);
}

.btn--light {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--ink);
}
.btn--light:hover { background: var(--accent-wash); border-color: var(--accent-wash); color: var(--ink); }

.btn--sm { min-height: 42px; padding: 0.6em 1.25em; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

/* Ok isaretli metin linki */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--accent-deep); }
.link-arrow:hover::after { width: 34px; }

/* --------------------------------------------------------------------------
   Erisilebilirlik
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: -100px;
  z-index: 999;
  padding: 0.75em 1.25em;
  background: var(--bg-deep);
  color: var(--ink-invert);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-2); color: var(--ink-invert); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Yardimci siniflar
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: var(--ink-invert); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--ink-invert); }
.section--deep .lead { color: rgba(253, 252, 250, 0.72); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head { max-width: 62ch; margin-bottom: var(--sp-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
