/* variables.css - Design tokens for Carrera Rallye 2026 Provence Edition */
/* Palette derived from the 2026 poster artwork (dusty blue/lavender/sandstone) */

:root {
  /* Primary - Deep Warm Navy (from poster sky/atmosphere) */
  --color-primary: #1E2D3D;
  --color-primary-light: #2A3E52;
  --color-primary-dark: #151D2B;

  /* Secondary - Dusty Blue (from poster sky) */
  --color-sage: #6B8FAD;
  --color-sage-light: #85A5BF;
  --color-sage-dark: #4A6B8A;

  /* Accent - Warm Sandstone (from road/earth tones) */
  --color-sand: #C4956A;
  --color-sand-light: #D4B896;
  --color-sand-dark: #A07850;

  /* Accent extras */
  --accent-lavender: #9B8BBE;
  --accent-olive: #3D6B3E;
  --accent-red: #CC2020;

  /* Backgrounds */
  --bg-parchment: #F5E6C8;
  --bg-parchment-alt: #E8D8BE;
  --bg-navy-deep: #1E2D3D;
  --bg-navy-deeper: #151D2B;
  --bg-navy-mid: #2A3E52;

  /* Text */
  --text-dark: #1A1A1A;
  --text-dark-muted: #4A4A4A;
  --text-parchment: #F5E6C8;
  --text-parchment-muted: #D4C0A0;
  --text-white: #FFF8E7;

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #1E2D3D 0%, #6B8FAD 100%);
  --gradient-hero: linear-gradient(180deg, rgba(30, 45, 61, 0.3) 0%, rgba(30, 45, 61, 0.85) 100%);
  --gradient-earth: linear-gradient(135deg, #C4956A 0%, #6B8FAD 100%);
  --gradient-navy: linear-gradient(135deg, #1E2D3D 0%, #2A3E52 100%);

  /* Legacy aliases for backward compatibility */
  --color-ochre: var(--color-sand);
  --color-ochre-light: var(--color-sand-light);
  --color-ochre-dark: var(--color-sand-dark);
  --color-terracotta: var(--color-sage);
  --color-terracotta-light: var(--color-sage-light);
  --color-terracotta-dark: var(--color-sage-dark);
  --bg-cream: var(--bg-parchment);
  --bg-cream-alt: var(--bg-parchment-alt);
  --bg-navy: var(--bg-navy-deep);
  --bg-navy-light: var(--bg-navy-mid);
  --bg-navy-dark: var(--bg-navy-deeper);
  --text-charcoal: var(--text-dark);
  --text-charcoal-light: var(--text-dark-muted);
  --text-cream: var(--text-parchment);
  --text-cream-muted: var(--text-parchment-muted);
  --gradient-green: var(--gradient-navy);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-nav: 'Racing Sans One', sans-serif;

  /* Spacing */
  --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;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(196, 149, 106, 0.3);

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

  /* Z-index layers */
  --z-base: 1;
  --z-nav: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-loading: 9999;

  /* Partner logo scales */
  --superu-scale: 2.6;
  --rs-magazine-scale: 0.85;
  --audi-scale: 1.1;
  --abeille-scale: 1.628;
  --parcbeaumont-scale: 1.22;
  --maison-scale: 1.2;
  --palais-scale: 1.6;
  --motul-scale: 1.1;
  --drudas-scale: 1.621;
  --ferme-scale: 1.22;
  --sid-scale: 1.0;
  --dsi-scale: 1.5;
}
