/* =========================================
   CSS CUSTOM PROPERTIES
   Theme tokens for light and dark modes.
   All colors reference these variables —
   no hardcoded color values elsewhere.
   ========================================= */

:root {
  /* Brand Colors */
  --color-navy: #144579;
  --color-navy-dark: #0d2f54;
  --color-navy-light: #1e5a9c;
  --color-sky: #e8f2fb;
  --color-accent: #2e9cca;
  --color-accent-hover: #1a7fac;
  --color-gold: #f5a623;
  --color-green: #2ecc6a;

  /* Surfaces */
  --color-bg: #f4f8fd;
  --color-bg-alt: #ffffff;
  --color-text: #1a2535;
  --color-text-muted: #5a6a80;
  --color-text-inverse: #ffffff;
  --color-border: #d4e2f0;

  /* Nav-specific */
  --nav-bg: rgba(13, 47, 84, 0.97);
  --nav-text: rgba(255, 255, 255, 0.7);
  --nav-text-hover: #ffffff;

  /* Footer-specific */
  --footer-bg: #07192e;
  --footer-text: rgba(255, 255, 255, 0.45);
  --footer-heading: rgba(255, 255, 255, 0.7);
  --footer-link-hover: rgba(255, 255, 255, 0.85);
  --footer-border: rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 69, 121, 0.06);
  --shadow-md: 0 4px 20px rgba(20, 69, 121, 0.10);
  --shadow-lg: 0 10px 32px rgba(20, 69, 121, 0.11);

  /* Radii */
  --radius-sm: 7px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 99px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Layout */
  --max-width: 1100px;
  --nav-height: 62px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* =========================================
   DARK MODE OVERRIDES
   ========================================= */

html.dark {
  --color-navy: #3a8ad4;
  --color-navy-dark: #0a1e36;
  --color-navy-light: #4a9ae8;
  --color-sky: #0f1a28;
  --color-accent: #4ab8e0;
  --color-accent-hover: #3aa0c8;
  --color-gold: #f0b848;
  --color-green: #3edd7a;

  --color-bg: #0c1520;
  --color-bg-alt: #142030;
  --color-text: #e0e8f0;
  --color-text-muted: #8a9ab5;
  --color-text-inverse: #0c1520;
  --color-border: #253545;

  --nav-bg: rgba(10, 30, 54, 0.97);
  --footer-bg: #060f1a;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.5);
}
