/* ==========================================================================
   METROPOL TASARIM — GÖREV 08I.2 MERKEZÎ HERO TASARIM SÖZLEŞMESİ (hero-tokens.css)
   Tüm 12 sayfa ailesi (A–G varyantları) için tek grid, eksen, breadcrumb,
   eyebrow, 3 kademeli H1 tipografi, açıklama, CTA ve hareket token kaynağı.
   Sıfır CSS override, sıfır zorlayıcı kural.
   ========================================================================== */

:root {
  /* 1. Ortak Eksen & Container Geometrisi (Header .sh-container ile birebir) */
  --hero-max: 1260px;
  --hero-gutter: clamp(20px, 3vw, 40px);

  /* 2. Sticky Header Altı Dikey Başlangıç Ritmi */
  --hero-top-desktop: 106px;        /* 78px absolute header + 28px net nefes */
  --hero-top-solid-desktop: 28px;   /* sh-page-solid (main padding-top: 78px) + 28px = 106px */
  --hero-top-mobile: 76px;          /* 60px absolute header + 16px net nefes */
  --hero-top-solid-mobile: 16px;    /* sh-page-solid (main padding-top: 60px) + 16px = 76px */

  /* 3. Marka Renk & Hareket Tokenları */
  --hero-font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --hero-ink: #17181B;
  --hero-ink-2: #2C2F36;
  --hero-muted: #5A5F6B;
  --hero-gold: #F6B400;
  --hero-gold-deep: #D99B00;
  --hero-gold-ink: #8E6200;
  --hero-line: #E6E4DD;
  --hero-ease: cubic-bezier(.22, 1, .36, 1);
  --hero-ease-out: cubic-bezier(.16, 1, .3, 1);

  /* 4. Ortak Breadcrumb Tokenları */
  --hero-crumb-fs: 12.5px;
  --hero-crumb-fw: 500;
  --hero-crumb-lh: 1.4;
  --hero-crumb-gap: 8px;
  --hero-crumb-mb: 16px;
  --hero-crumb-color: #5A5F6B;
  --hero-crumb-active: #17181B;
  --hero-crumb-hover: #8E6200;

  /* 5. Ortak Eyebrow Tokenları */
  --hero-eyebrow-fs: 11.5px;
  --hero-eyebrow-fw: 700;
  --hero-eyebrow-ls: 0.15em;
  --hero-eyebrow-gap: 11px;
  --hero-eyebrow-line-w: 26px;
  --hero-eyebrow-mb: 14px;

  /* 6. 3 Kademeli H1 Tipografi Sözleşmesi */
  /* Tier 1 — Display H1 (Varyant A: Anasayfa sinematik hero) */
  --hero-h1-display-fs: clamp(34px, 4.3vw, 62px);
  --hero-h1-display-fw: 800;
  --hero-h1-display-lh: 1.02;
  --hero-h1-display-ls: -0.028em;

  /* Tier 2 — Standart İç Sayfa H1 (Varyant B/C-liste/D-liste/E/F/G-kurumsal-teklif) */
  --hero-h1-page-fs: clamp(29px, 3.45vw, 48px);
  --hero-h1-page-fw: 800;
  --hero-h1-page-lh: 1.08;
  --hero-h1-page-ls: -0.025em;

  /* Tier 3 — Editoryal / Detay H1 (Hizmet detay tam, Proje detay, Blog detay, Yasal) */
  --hero-h1-editorial-fs: clamp(27px, 3vw, 42px);
  --hero-h1-editorial-fw: 800;
  --hero-h1-editorial-lh: 1.14;
  --hero-h1-editorial-ls: -0.022em;

  /* 7. Açıklama (Lead) Tokenları */
  --hero-lead-fs: clamp(14.5px, 1.1vw, 16px);
  --hero-lead-lh: 1.65;
  --hero-lead-color: #3D414A;
  --hero-lead-mt: 16px;

  /* 8. Ortak Hero CTA Tokenları */
  --hero-cta-h: 50px;
  --hero-cta-radius: 10px;
  --hero-cta-fs: 13px;
  --hero-cta-fw: 700;
  --hero-cta-ls: 0.04em;
  --hero-cta-px: 24px;
  --hero-cta-gap: 12px;
  --hero-cta-mt: 24px;
}

@media (max-width: 760px) {
  :root {
    --hero-gutter: 20px;
    --hero-crumb-fs: 11.8px;
    --hero-crumb-gap: 6px;
    --hero-crumb-mb: 12px;
    --hero-eyebrow-fs: 10.5px;
    --hero-eyebrow-ls: 0.12em;
    --hero-eyebrow-line-w: 20px;
    --hero-eyebrow-mb: 10px;
    --hero-lead-fs: 13.8px;
    --hero-lead-lh: 1.56;
    --hero-lead-mt: 12px;
    --hero-cta-h: 46px;
    --hero-cta-fs: 12.2px;
    --hero-cta-px: 18px;
    --hero-cta-gap: 10px;
    --hero-cta-mt: 16px;
  }
}

/* Ortak Breadcrumb & Eyebrow Yardımcı Bileşenleri (Varyant G ve yeni CMS sayfaları için) */
.sh-hero-container {
  box-sizing: border-box;
  width: min(var(--hero-max), calc(100% - 2 * var(--hero-gutter)));
  margin-inline: auto;
}

.sh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hero-crumb-gap);
  margin: 0 0 var(--hero-crumb-mb);
  padding: 0;
  list-style: none;
  font-family: var(--hero-font);
  font-size: var(--hero-crumb-fs);
  font-weight: var(--hero-crumb-fw);
  line-height: var(--hero-crumb-lh);
  color: var(--hero-crumb-color);
}
.sh-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--hero-ease);
}
.sh-breadcrumb a:hover,
.sh-breadcrumb a:focus-visible {
  color: var(--hero-crumb-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sh-breadcrumb [aria-current="page"] {
  color: var(--hero-crumb-active);
  font-weight: 600;
}

.sh-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hero-eyebrow-gap);
  margin: 0 0 var(--hero-eyebrow-mb);
  font-family: var(--hero-font);
  font-size: var(--hero-eyebrow-fs);
  font-weight: var(--hero-eyebrow-fw);
  letter-spacing: var(--hero-eyebrow-ls);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--hero-gold-ink);
}
.sh-hero-eyebrow__line {
  width: var(--hero-eyebrow-line-w);
  height: 2px;
  background: var(--hero-gold);
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .sh-breadcrumb a { transition: none; }
}
