/* ==========================================================================
   SEYRA — Tour Commerce Design System
   1. TOKENS — renk, tipografi, spacing, radius, shadow, z-index, motion
   Tüm değerler WordPress Customizer'dan override edilebilecek şekilde
   :root üzerinde tanımlanır (theme.json + inline style ile eşlenir).
   ========================================================================== */

:root{
  /* ---- Brand / Color ---------------------------------------------------- */
  --c-primary-900:#0A2333;
  --c-primary-800:#0E2F44;
  --c-primary-700:#123A5C;
  --c-primary:#12455F;          /* ana marka rengi (CTA, link, aktif) */
  --c-primary-600:#1A5878;
  --c-primary-500:#256F92;
  --c-primary-300:#8FB6C8;
  --c-primary-100:#DCE9EF;
  --c-primary-50:#F0F6F9;

  --c-accent:#E2603C;           /* fiyat, kampanya, indirim — az kullanılır */
  --c-accent-600:#C94E2C;
  --c-accent-100:#FCEBE5;

  --c-success:#137A56;
  --c-success-100:#E3F4EC;
  --c-warning:#9A6B12;
  --c-warning-100:#FBF1DC;
  --c-danger:#B3392B;
  --c-danger-100:#FBE9E7;
  --c-info:#1A5878;
  --c-info-100:#E7F1F6;

  /* ---- Neutrals --------------------------------------------------------- */
  --c-ink:#101820;              /* başlık */
  --c-body:#39434E;             /* gövde metin */
  --c-muted:#6B7684;            /* ikincil metin */
  --c-faint:#98A2AE;            /* placeholder, meta */
  --c-line:#E3E8EC;             /* border */
  --c-line-soft:#EFF2F5;
  --c-bg:#FFFFFF;
  --c-bg-soft:#F7F9FA;          /* kırık beyaz section zemini */
  --c-bg-tint:#F0F6F9;
  --c-overlay:rgba(10,24,35,.55);

  /* ---- Typography ------------------------------------------------------- */
  --font-head:"Manrope","Inter",-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Inter",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  --fs-display:clamp(2.25rem,1.35rem + 3.1vw,3.5rem);   /* 36 → 56 */
  --fs-h1:clamp(1.75rem,1.25rem + 1.7vw,2.5rem);        /* 28 → 40 */
  --fs-h2:clamp(1.5rem,1.2rem + 1vw,2rem);              /* 24 → 32 */
  --fs-h3:clamp(1.25rem,1.1rem + .5vw,1.5rem);          /* 20 → 24 */
  --fs-h4:1.125rem;                                     /* 18 */
  --fs-lg:1.0625rem;                                    /* 17 */
  --fs-base:1rem;                                       /* 16 */
  --fs-sm:.875rem;                                      /* 14 */
  --fs-xs:.8125rem;                                     /* 13 */
  --fs-2xs:.75rem;                                      /* 12 */

  --lh-tight:1.15;
  --lh-snug:1.3;
  --lh-base:1.6;
  --lh-loose:1.75;

  --fw-regular:400;
  --fw-medium:500;
  --fw-semibold:600;
  --fw-bold:700;

  --ls-tight:-.02em;
  --ls-wide:.06em;

  /* ---- Spacing (8px scale) ---------------------------------------------- */
  --s-1:4px;  --s-2:8px;  --s-3:12px; --s-4:16px; --s-5:24px;
  --s-6:32px; --s-7:40px; --s-8:48px; --s-9:64px; --s-10:80px; --s-11:96px;

  --section-y:clamp(48px,6vw,80px);   /* section dikey ritmi */
  --section-y-lg:clamp(64px,8vw,96px);

  /* ---- Layout ----------------------------------------------------------- */
  --container:1320px;
  --container-narrow:840px;
  --gutter:clamp(16px,3vw,24px);
  --grid-gap:24px;

  /* ---- Radius ----------------------------------------------------------- */
  --r-xs:6px;
  --r-sm:8px;      /* input */
  --r-md:10px;     /* button */
  --r-lg:14px;     /* card */
  --r-xl:20px;     /* marketing card, media */
  --r-pill:999px;  /* sadece chip / badge */

  /* ---- Elevation (hafif) ------------------------------------------------ */
  --sh-xs:0 1px 2px rgba(16,24,32,.05);
  --sh-card:0 1px 2px rgba(16,24,32,.04), 0 10px 24px -16px rgba(16,24,32,.18);
  --sh-card-hover:0 2px 4px rgba(16,24,32,.05), 0 18px 36px -18px rgba(16,24,32,.24);
  --sh-pop:0 12px 32px -8px rgba(16,24,32,.18), 0 2px 6px rgba(16,24,32,.06);
  --sh-bar:0 1px 0 var(--c-line), 0 6px 20px -14px rgba(16,24,32,.35);

  /* ---- Motion ----------------------------------------------------------- */
  --t-fast:140ms;
  --t-base:220ms;
  --t-slow:320ms;
  --ease:cubic-bezier(.22,.61,.36,1);

  /* ---- Z-index ---------------------------------------------------------- */
  --z-sticky:60;
  --z-header:100;
  --z-dropdown:120;
  --z-sheet:200;
  --z-modal:300;
  --z-toast:400;

  /* ---- Component tokens ------------------------------------------------- */
  --header-h:76px;
  --header-h-sticky:64px;
  --tap:44px;              /* minimum dokunma alanı */
  --focus-ring:0 0 0 3px rgba(18,69,95,.28);
}

/* Yüksek kontrast / koyu zemin bölümler için ters token seti */
.on-dark{
  --c-ink:#FFFFFF;
  --c-body:rgba(255,255,255,.86);
  --c-muted:rgba(255,255,255,.7);
  --c-line:rgba(255,255,255,.16);
  --c-bg:transparent;
}

@media (prefers-reduced-motion:reduce){
  :root{ --t-fast:0ms; --t-base:0ms; --t-slow:0ms; }
}
