/* =========================================================
   IWIN Academy theme — the ONLY place for design values.
   Change a token here and the whole site follows.
   ========================================================= */
:root {
  /* Brand */
  --color-primary: #16294D;        /* navy: header, footer, headings */
  --color-primary-contrast: #FFFFFF;
  --color-accent: #BF4511;         /* buttons, links (5.2:1 vs white, 4.8:1 vs surface) */
  --color-accent-contrast: #FFFFFF;
  --color-highlight: #F5A524;      /* gold: accents on dark bg (7:1 vs navy) */

  /* Surfaces & text */
  --color-bg: #FFFFFF;
  --color-surface: #F4F6FA;
  --color-border: #DDE2EC;
  --color-text: #1E2433;
  --color-text-muted: #5A6275;
  --color-success: #2A7D3A;
  --color-error: #C8202F;

  /* Category colors (white text passes AA on all) */
  --cat-martial-arts: #C8202F;
  --cat-fitness: #B04E0C;
  --cat-after-school: #1F6FB2;
  --cat-outdoor: #2A7D3A;
  --cat-workshops: #6F3FA0;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Poppins", var(--font-body);
  --font-body-ar: "Cairo", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-heading-ar: "Cairo", var(--font-body-ar);
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --font-size-hero: clamp(2rem, 1.4rem + 3vw, 3.5rem);
  --line-height: 1.6;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;

  /* Shape & depth */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 4px 16px rgb(22 41 77 / 0.10);
  --shadow-lg: 0 12px 32px rgb(22 41 77 / 0.18);

  /* Layout */
  --content-max: 1100px;
  --sidenav-width: 260px;
  --header-height: 72px;

  /* Motion */
  --duration-fast: 150ms;
  --duration: 300ms;
  --float-duration: 6s;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

:lang(ar) {
  --font-body: var(--font-body-ar);
  --font-heading: var(--font-heading-ar);
}
