/*
 * CSS Custom Properties (Variables)
 * Professional design system for atoatranslate.eu
 *
 * Conservative, business-oriented color palette and spacing
 * suitable for EU institutional / legal services
 */

:root {
  /* ===== Color System ===== */

  /* Primary Colors - Professional & Neutral */
  --color-primary: #2563eb;         /* Professional blue */
  --color-primary-dark: #1e40af;    /* Darker blue for hover states */
  --color-text: #000000;            /* Pure black for maximum readability */
  --color-text-secondary: #4b5563;  /* Gray for secondary text */

  /* Background Colors */
  --color-bg: #ffffff;              /* Pure white background */
  --color-bg-alt: #f9fafb;          /* Very light gray for subtle contrast */

  /* Accent Colors */
  --color-accent: #dc2626;          /* Red for emphasis (PDF badge, etc.) */
  --color-success: #16a34a;         /* Green for success states */
  --color-warning: #f59e0b;         /* Amber for warnings */

  /* Border Colors */
  --color-border: #d1d5db;          /* Light gray for borders */
  --color-border-dark: #9ca3af;     /* Darker gray for emphasis */

  /* Link Colors */
  --color-link: #2563eb;            /* Blue links */
  --color-link-hover: #1e40af;      /* Darker blue on hover */
  --color-link-visited: #7c3aed;    /* Purple for visited links */

  /* ===== Typography System ===== */

  /* Font Families */
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Font Sizes - Modular scale based on 16px base */
  --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 System ===== */
  /* Based on 8px grid for consistent rhythm */

  --space-0: 0;
  --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 */

  /* ===== Layout & Sizing ===== */

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;

  /* Border Radius */
  --radius-sm: 0.125rem;   /* 2px */
  --radius-md: 0.25rem;    /* 4px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 1rem;       /* 16px */

  /* Border Widths */
  --border-width-thin: 1px;
  --border-width-base: 2px;
  --border-width-thick: 4px;

  /* Shadows - Subtle, professional */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* ===== Transitions ===== */

  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;

  /* ===== Z-Index Scale ===== */

  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-fixed: 30;
  --z-modal: 40;
  --z-popover: 50;
  --z-tooltip: 60;
}

/*
 * Print-specific variables
 */
@media print {
  :root {
    --color-bg: #ffffff;
    --color-text: #000000;
  }
}

/*
 * Dark mode support (future consideration)
 * Commented out for now - site uses light theme only
 */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1f2937;
    --color-text: #f9fafb;
    --color-text-secondary: #d1d5db;
  }
}
*/
