/*
 * Sustainability Today - Design System
 * Extracted from sustainability.today
 */

:root {
  /* Primary Colors */
  --color-primary: #723ff1;           /* Main purple */
  --color-primary-dark: #5c32c1;      /* Darker purple for hover */
  --color-primary-light: #9164f5;     /* Lighter purple */

  /* Secondary Colors */
  --color-secondary: #007cba;         /* Blue for buttons/links */
  --color-secondary-dark: #005f8c;    /* Darker blue for hover */
  --color-secondary-light: #0096e0;   /* Lighter blue */

  /* Accent Colors */
  --color-accent: #00c853;            /* Green for success */
  --color-warning: #ff9800;           /* Orange for warnings */
  --color-error: #f44336;             /* Red for errors */

  /* Neutral Colors */
  --color-text: #333333;              /* Main text */
  --color-text-dark: #2c3e50;         /* Headings */
  --color-text-light: #666666;        /* Secondary text */
  --color-text-muted: #999999;        /* Muted text */

  /* Background Colors */
  --color-bg: #ffffff;                /* Main background */
  --color-bg-light: #f9f9f9;          /* Light background */
  --color-bg-dark: #1a1a1a;           /* Dark background */
  --color-bg-card: #ffffff;           /* Card background */

  /* Border Colors */
  --color-border: #e5e5e5;            /* Default border */
  --color-border-light: #f0f0f0;      /* Light border */

  /* Typography */
  --font-primary: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  --font-heading: 'Segoe UI', 'Roboto', sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;            /* 12px */
  --font-size-sm: 0.875rem;           /* 14px */
  --font-size-base: 1rem;             /* 16px */
  --font-size-lg: 1.125rem;           /* 18px */
  --font-size-xl: 1.25rem;            /* 20px */
  --font-size-2xl: 1.5rem;            /* 24px */
  --font-size-3xl: 1.875rem;          /* 30px */
  --font-size-4xl: 2.25rem;           /* 36px */

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

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --spacing-xs: 0.25rem;              /* 4px */
  --spacing-sm: 0.5rem;               /* 8px */
  --spacing-md: 1rem;                 /* 16px */
  --spacing-lg: 1.5rem;               /* 24px */
  --spacing-xl: 2rem;                 /* 32px */
  --spacing-2xl: 3rem;                /* 48px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-padding: 1rem;

  /* Z-Index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1050;
  --z-tooltip: 1070;
}

/* Dark mode variables (for future use) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1a1a1a;
    --color-bg-light: #2d2d2d;
    --color-bg-card: #2d2d2d;
    --color-text: #e5e5e5;
    --color-text-dark: #ffffff;
    --color-text-light: #b3b3b3;
    --color-border: #404040;
    --color-border-light: #333333;
  }
}
