/* ============================================================
   FRT CARS — Design System Variables
   Premium Automotive Dealership
   All custom properties / design tokens
   ============================================================ */

:root {

  /* ----------------------------------------------------------
     COLORS
     ---------------------------------------------------------- */
  --color-background: #080A0D;
  --color-surface: #11151A;
  --color-surface-light: #191E24;
  --color-surface-hover: #1E242B;

  --color-text: #F5F7FA;
  --color-text-muted: #9BA3AE;
  --color-text-dark: #6B7280;

  --color-border: rgba(255, 255, 255, 0.10);
  --color-border-light: rgba(255, 255, 255, 0.05);

  --color-accent: #E21B2D;
  --color-accent-hover: #FF3045;
  --color-accent-light: rgba(226, 27, 45, 0.15);
  --color-accent-glow: rgba(226, 27, 45, 0.3);

  --color-success: #23C483;
  --color-warning: #FFB020;

  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #22c55e;

  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-overlay-heavy: rgba(0, 0, 0, 0.8);

  /* ----------------------------------------------------------
     GRADIENTS
     ---------------------------------------------------------- */
  --gradient-surface: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent) 0%, #FF3045 100%);
  --gradient-hero: linear-gradient(180deg, rgba(8, 10, 13, 0) 0%, rgba(8, 10, 13, 0.8) 50%, var(--color-background) 100%);
  --gradient-card: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-light) 100%);

  --surface-glow-red: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(226, 27, 45, 0.12) 0%, transparent 60%);
  --surface-base-gradient: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
  --surface-pattern-grid: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");

  /* ----------------------------------------------------------
     TYPOGRAPHY
     ---------------------------------------------------------- */
  --font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.75rem, 5.5vw, 5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h4: clamp(1.1rem, 1.5vw, 1.35rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.25;
  --lh-normal: 1.65;
  --lh-relaxed: 1.75;

  --ls-tight: -0.025em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* ----------------------------------------------------------
     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;
  --space-5xl: 8rem;

  /* ----------------------------------------------------------
     LAYOUT
     ---------------------------------------------------------- */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 960px;
  --container-padding: 1.5rem;

  --header-height: 80px;
  --header-height-scrolled: 64px;
  --mobile-bar-height: 64px;
  --privacy-consent-bottom: 2rem;

  /* ----------------------------------------------------------
     BORDERS & RADIUS
     ---------------------------------------------------------- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ----------------------------------------------------------
     SHADOWS
     ---------------------------------------------------------- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 24px var(--color-accent-glow);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--color-accent-glow);

  /* ----------------------------------------------------------
     TRANSITIONS & EASING
     ---------------------------------------------------------- */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 700ms;

  /* ----------------------------------------------------------
     Z-INDEX SCALE
     ---------------------------------------------------------- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
  --z-toast: 700;
}
