/**
 * ISIT-Neperis Website - CSS Variables
 * Design tokens for colors, spacing, typography, and breakpoints
 */

:root {
  /* ============================================
     COLOR PALETTE
     ============================================ */

  /* Primary - Technical Blue */
  --color-primary: #0066CC;
  --color-primary-dark: #004C99;
  --color-primary-light: #E6F0FA;

  /* Secondary - Industrial Orange (Safety accent) */
  --color-secondary: #FF6B00;
  --color-secondary-light: #FFF0E6;

  /* Neutrals - Updated for WCAG AA contrast compliance */
  --color-dark: #1A1A2E;
  --color-gray-800: #2D2D44;
  --color-gray-700: #374151;   /* 7.8:1 contrast - for secondary text */
  --color-gray-600: #4A4A68;   /* 5.6:1 contrast - for body text */
  --color-gray-500: #6B7280;   /* 4.6:1 contrast - minimum for body text */
  --color-gray-400: #9CA3AF;   /* 3:1 contrast - for large text/decorative only */
  --color-gray-200: #E0E0E8;
  --color-gray-100: #F3F4F6;
  --color-light: #F8F9FC;
  --color-white: #FFFFFF;

  /* Accessibility Focus Color */
  --color-focus: #0e7490;      /* 4.6:1 contrast - for focus indicators */

  /* Semantic Colors */
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Code Blocks */
  --color-code-bg: #1E1E2E;
  --color-code-text: #CDD6F4;

  /* ============================================
     TYPOGRAPHY
     ============================================ */

  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-family-code: 'Fira Code', 'Courier New', monospace;

  /* 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-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */

  /* 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 */
  --spacing-3xl: 4rem;      /* 64px */
  --spacing-4xl: 6rem;      /* 96px */
  --spacing-5xl: 8rem;      /* 128px */

  /* ============================================
     LAYOUT
     ============================================ */

  --container-max-width: 1280px;
  --container-padding: var(--spacing-md);

  --header-height: 80px;
  --header-height-sticky: 64px;

  /* ============================================
     BORDERS & RADIUS
     ============================================ */

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;

  --border-width: 1px;
  --border-width-thick: 2px;

  /* ============================================
     SHADOWS
     ============================================ */

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* ============================================
     TRANSITIONS
     ============================================ */

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;

  /* ============================================
     Z-INDEX LAYERS
     ============================================ */

  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* ============================================
   RESPONSIVE BREAKPOINTS (for use in media queries)
   ============================================ */

/*
  Mobile:        max-width: 767px
  Tablet:        768px - 1023px
  Desktop:       1024px - 1439px
  Large Desktop: 1440px+
*/
