/*
 * CSS Variables - Theme System
 * "Dark Professional" theme for GPS tracker website
 * Clean dark mode with warm accents and excellent readability
 */

:root {
  /* ===== PRIMARY COLORS (Dark Backgrounds) ===== */
  --color-primary: #0F0F0F;           /* Pure Dark - main background */
  --color-primary-light: #1A1A1A;     /* Lighter dark for surfaces */
  --color-primary-dark: #000000;      /* Pure black for depth */

  /* ===== ACCENT COLORS (Warm Orange) ===== */
  --color-accent: #FF6B35;            /* Warm Orange - primary accent */
  --color-accent-light: #FF8555;      /* Lighter orange for highlights */
  --color-accent-dark: #E85A2A;       /* Darker orange for contrast */

  /* ===== SUCCESS/ACTIVE COLORS ===== */
  --color-success: #22C55E;           /* Clean Green - success states */
  --color-success-light: #4ADE80;     /* Lighter green */
  --color-success-dark: #16A34A;      /* Darker green */

  /* ===== NEUTRAL COLORS (Light text on dark) ===== */
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;           /* Text - brightest */
  --color-gray-100: #F5F5F5;          /* Text - very light */
  --color-gray-200: #E5E5E5;          /* Text - light */
  --color-gray-300: #D4D4D4;          /* Text - medium light */
  --color-gray-400: #A3A3A3;          /* Text - medium */
  --color-gray-500: #737373;          /* Text - muted */
  --color-gray-600: #525252;          /* Surface - light */
  --color-gray-700: #404040;          /* Surface - medium */
  --color-gray-800: #262626;          /* Surface - dark */
  --color-gray-900: #171717;          /* Surface - very dark */
  --color-black: #000000;

  /* ===== SEMANTIC COLORS ===== */
  --color-error: #EF4444;             /* Error/danger states */
  --color-warning: #F59E0B;           /* Warning states */
  --color-info: var(--color-accent);  /* Info uses accent color */

  /* ===== GRADIENTS (Subtle, no aggressive glows) ===== */
  --gradient-primary: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
  --gradient-accent: linear-gradient(135deg, #E85A2A 0%, #FF6B35 50%, #FF8555 100%);
  --gradient-hero: linear-gradient(135deg, #000000 0%, #1A1A1A 50%, #2A2A2A 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.85) 100%);

  /* ===== TYPOGRAPHY ===== */
  /* Font families - Clean, modern, professional */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;

  /* Font sizes - fluid typography using clamp() */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12-14px */
  --font-size-sm: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);       /* 14-16px */
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);      /* 16-18px */
  --font-size-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);    /* 18-20px */
  --font-size-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);        /* 20-24px */
  --font-size-2xl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);     /* 24-30px */
  --font-size-3xl: clamp(1.875rem, 1.65rem + 1.125vw, 2.25rem);   /* 30-36px */
  --font-size-4xl: clamp(2.25rem, 1.95rem + 1.5vw, 3rem);         /* 36-48px */
  --font-size-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);             /* 48-64px */

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Line heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* ===== SPACING SCALE ===== */
  --space-1: 0.25rem;     /* 4px */
  --space-2: 0.5rem;      /* 8px */
  --space-3: 0.75rem;     /* 12px */
  --space-4: 1rem;        /* 16px */
  --space-5: 1.25rem;     /* 20px */
  --space-6: 1.5rem;      /* 24px */
  --space-8: 2rem;        /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */
  --space-32: 8rem;       /* 128px */

  /* ===== LAYOUT ===== */
  --container-max-width: 1280px;
  --container-padding: var(--space-4);
  --section-padding-y: var(--space-16);
  --section-padding-y-mobile: var(--space-12);

  /* ===== BORDER RADIUS ===== */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;  /* Fully rounded */

  /* ===== SHADOWS (Clean, subtle - no aggressive glows) ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 12px rgba(255, 107, 53, 0.15);
  --shadow-glow-strong: 0 0 20px rgba(255, 107, 53, 0.25);

  /* ===== TRANSITIONS ===== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

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

  /* ===== BREAKPOINTS (for reference in media queries) ===== */
  /* Use these values in your media queries */
  /* --breakpoint-sm: 576px; */
  /* --breakpoint-md: 768px; */
  /* --breakpoint-lg: 1024px; */
  /* --breakpoint-xl: 1280px; */
}
