﻿/* ==========================================================================
   YÖM Okulları — Merkezi Tasarım Tokenları (WordPress theme.json uyumlu)
   ========================================================================== */

/* Yerel prototip için lisanslı Gotham TR fontları (YOM/brand/fonts/)
   Not: Canlı yayın öncesi webfont (.woff2) lisansı doğrulanacak; yedekte
   metric-adjusted Montserrat Fallback yer alır. */
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Book-TR.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Medium-TR.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Bold-TR.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Black-TR.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gotham Fallback";
  src: local("Arial");
  size-adjust: 109%;
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* --- Ana Kurumsal Renkler --- */
  --yom-white: #ffffff;
  --yom-lime: #e0e621;
  --yom-lime-hover: #cdd414;
  --yom-lime-soft: rgba(224, 230, 33, 0.16);
  --yom-lime-ink: #5a5e00; /* Beyaz üzerinde erişilebilir koyu zeytin/lime tonu */

  --yom-anthracite: #323e48;
  --yom-anthracite-900: #1e262d;
  --yom-anthracite-950: #141a1f;
  --yom-anthracite-700: #465563;
  --yom-anthracite-500: #5c6b78;

  /* --- Yardımcı Kurumsal Renkler --- */
  --yom-cyan: #00ffff;
  --yom-cyan-soft: rgba(0, 255, 255, 0.14);
  --yom-blue: #0091b3;
  --yom-blue-dark: #006c85; /* Beyaz üzerinde WCAG AA >= 5.7:1 */
  --yom-blue-soft: rgba(0, 145, 179, 0.1);
  --yom-magenta: #d41367;
  --yom-magenta-dark: #b00e55;
  --yom-magenta-soft: rgba(212, 19, 103, 0.09);

  /* --- Nötr Yüzeyler ve Çizgiler --- */
  --yom-surface: #ffffff;
  --yom-surface-alt: #f5f7f9;
  --yom-surface-subtle: #edf1f4;
  --yom-border: #dce3e8;
  --yom-border-strong: #c4cfd7;

  /* --- Tipografi --- */
  --yom-font: "Gotham", "Gotham Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --yom-text-xs: 0.78rem;
  --yom-text-sm: 0.875rem;
  --yom-text-base: 1rem;
  --yom-text-md: 1.0625rem;
  --yom-text-lg: 1.25rem;
  --yom-text-xl: clamp(1.375rem, 2vw, 1.75rem);
  --yom-text-2xl: clamp(1.85rem, 3.2vw, 2.85rem);
  --yom-text-3xl: clamp(2.15rem, 4.4vw, 3.65rem);

  /* --- Yerleşim ve Boşluk --- */
  --yom-container: 1180px;
  --yom-gutter: clamp(18px, 4vw, 64px);
  --yom-header-h: 82px;
  --yom-header-h-compact: 66px;
  --yom-section-y: clamp(64px, 7.5vw, 116px);

  /* --- Köşe Yarıçapları ve Gölgeler --- */
  --yom-radius-sm: 8px;
  --yom-radius-md: 14px;
  --yom-radius-lg: 22px;
  --yom-radius-xl: 30px;
  --yom-radius-pill: 999px;

  --yom-shadow-sm: 0 2px 10px rgba(30, 38, 45, 0.06);
  --yom-shadow-md: 0 12px 32px -12px rgba(30, 38, 45, 0.14);
  --yom-shadow-lg: 0 24px 56px -18px rgba(20, 26, 31, 0.22);

  /* --- Hareket --- */
  --yom-ease: cubic-bezier(0.22, 0.72, 0.18, 1);
  --yom-dur-fast: 180ms;
  --yom-dur-base: 320ms;
  --yom-dur-slow: 640ms;
}

