/* ============================================
   Design System - CSS Variables
   Modern color palette and design tokens
   ============================================ */

:root {
  /* Brand Colors - Based on user preferences */
  --primary-navy: #232D85;
  --primary-gold: #CFA64E;
  --primary-white: #FFFFFF;
  --secondary-grey: #F5F5F5;
  --contrast-grey: #333333;
  
  /* Extended Color Palette */
  --navy-dark: #1A2260;
  --navy-light: #3A4AA0;
  --gold-dark: #B8913E;
  --gold-light: #E5C46F;
  --grey-dark: #2A2A2A;
  --grey-medium: #666666;
  --grey-light: #E8E8E8;
  
  /* Semantic Colors */
  --success: #28A745;
  --warning: #FFC107;
  --error: #DC3545;
  --info: #17A2B8;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold-dark) 0%, var(--primary-gold) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 50%, var(--primary-gold) 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(35, 45, 133, 0.9) 0%, rgba(207, 166, 78, 0.8) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Font Sizes - Fluid Typography */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-2xl: clamp(2rem, 1.7rem + 1.5vw, 2.5rem);
  --fs-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --fs-4xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
  
  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  
  /* Layout */
  --max-width: 1400px;
  --max-width-text: 65ch;
  --header-height: 80px;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 10px 30px rgba(207, 166, 78, 0.3);
  --shadow-navy: 0 10px 30px rgba(35, 45, 133, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Z-index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* Dark Mode Variables (Optional for future) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1A1A1A;
    --bg-secondary: #2A2A2A;
    --text-primary: #F5F5F5;
    --text-secondary: #CCCCCC;
  }
}

