/**
 * The Language Hub - Design System Variables
 * Urban Style: Zwart, Wit, Fel Geel
 * Inspired by Masterclass.com with Urban twist
 *
 * @version 1.0.0
 */

:root {
  /* ============================================
   * COLORS - Urban Palette
   * ============================================ */

  /* Primary - Fel Geel (Markeerstift) */
  --color-primary: #FFE600;
  --color-primary-hover: #FFF200;
  --color-primary-dark: #D4C000;
  --color-primary-light: rgba(255, 230, 0, 0.15);

  /* Backgrounds - Urban Dark */
  --color-bg-primary: #0A0A0A;
  --color-bg-secondary: #1C1C1C;
  --color-bg-elevated: #252525;
  --color-bg-overlay: rgba(10, 10, 10, 0.85);

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #AFAFAF;
  --color-text-tertiary: #6B6B6B;
  --color-text-inverse: #0A0A0A;
  --color-text-on-accent: #0A0A0A;

  /* UI Colors */
  --color-border: rgba(255, 255, 255, 0.12);
  --color-divider: rgba(255, 255, 255, 0.08);
  --color-focus: #FFE600;

  /* Status Colors */
  --color-success: #22C55E;
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #3B82F6;

  /* Gradients */
  --gradient-hero-overlay: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.85) 100%);
  --gradient-card-overlay: linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,0.4) 60%, rgba(10,10,10,0.8) 100%);
  --gradient-primary: linear-gradient(135deg, #FFE600 0%, #FFF200 100%);

  /* ============================================
   * TYPOGRAPHY
   * ============================================ */

  /* Font Families */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes - Desktop (8px base scale) */
  --font-size-xs: 12px;      /* 0.75rem */
  --font-size-sm: 14px;      /* 0.875rem */
  --font-size-base: 16px;    /* 1rem */
  --font-size-lg: 18px;      /* 1.125rem */
  --font-size-xl: 22px;      /* 1.375rem */
  --font-size-2xl: 24px;     /* 1.5rem */
  --font-size-3xl: 32px;     /* 2rem */
  --font-size-4xl: 48px;     /* 3rem */
  --font-size-5xl: 64px;     /* 4rem */
  --font-size-6xl: 72px;     /* 4.5rem */
  --font-size-7xl: 82px;     /* 5.125rem - Hero */

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-none: 1;
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --line-height-loose: 1.8;

  /* Letter Spacing */
  --letter-spacing-tighter: -0.02em;
  --letter-spacing-tight: -0.01em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* ============================================
   * SPACING - 8px Grid System (STRICT)
   * ============================================ */

  --space-1: 8px;     /* 1 x 8 */
  --space-2: 16px;    /* 2 x 8 */
  --space-3: 24px;    /* 3 x 8 */
  --space-4: 32px;    /* 4 x 8 */
  --space-5: 40px;    /* 5 x 8 */
  --space-6: 48px;    /* 6 x 8 */
  --space-8: 64px;    /* 8 x 8 */
  --space-10: 80px;   /* 10 x 8 */
  --space-12: 96px;   /* 12 x 8 */
  --space-15: 120px;  /* 15 x 8 */
  --space-20: 160px;  /* 20 x 8 */

  /* ============================================
   * LAYOUT - Container System
   * ============================================ */

  --container-max-width: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;

  /* Container Padding (responsive) */
  --container-padding-mobile: 24px;
  --container-padding-tablet: 40px;
  --container-padding-desktop: 80px;

  /* Section Padding */
  --section-padding-mobile: 80px;
  --section-padding-tablet: 120px;
  --section-padding-desktop: 160px;

  /* ============================================
   * COMPONENTS - Buttons
   * ============================================ */

  --button-height: 48px;           /* 6 x 8 */
  --button-height-sm: 40px;        /* 5 x 8 */
  --button-height-lg: 56px;        /* 7 x 8 */
  --button-padding-x: 32px;        /* 4 x 8 */
  --button-padding-x-sm: 24px;     /* 3 x 8 */
  --button-padding-x-lg: 40px;     /* 5 x 8 */
  --button-radius: 8px;            /* 1 x 8 */
  --button-font-size: 16px;
  --button-font-weight: 600;

  /* ============================================
   * COMPONENTS - Forms
   * ============================================ */

  --input-height: 48px;            /* 6 x 8 */
  --input-padding-x: 16px;         /* 2 x 8 */
  --input-padding-y: 12px;
  --input-radius: 8px;             /* 1 x 8 */
  --input-border-width: 2px;
  --input-font-size: 16px;

  /* ============================================
   * COMPONENTS - Cards
   * ============================================ */

  --card-padding: 32px;            /* 4 x 8 */
  --card-padding-sm: 24px;         /* 3 x 8 */
  --card-padding-lg: 48px;         /* 6 x 8 */
  --card-radius: 16px;             /* 2 x 8 */
  --card-radius-sm: 12px;

  /* ============================================
   * SHADOWS
   * ============================================ */

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 4px 16px rgba(255, 230, 0, 0.3);
  --shadow-glow-hover: 0 8px 24px rgba(255, 230, 0, 0.5);

  /* ============================================
   * BORDERS
   * ============================================ */

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* ============================================
   * TRANSITIONS & ANIMATIONS
   * ============================================ */

  /* Timing - STRICT: Only 150ms, 300ms, 500ms */
  --transition-fast: 150ms ease-out;
  --transition-base: 300ms ease-out;
  --transition-slow: 500ms ease-in-out;

  /* Easing */
  --ease-out: ease-out;
  --ease-in-out: ease-in-out;
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* ============================================
   * Z-INDEX SCALE
   * ============================================ */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-header: 1000;
  --z-mobile-nav: 999;
  --z-overlay: 1001;

  /* ============================================
   * BREAKPOINTS (Reference)
   * ============================================ */

  /*
   * Mobile:       0 - 479px
   * Small Mobile: 480px - 767px
   * Tablet:       768px - 1023px
   * Desktop:      1024px - 1279px
   * Large:        1280px - 1535px
   * XL:           1536px+
   */

  /* ============================================
   * GRID GAPS - STRICT: Only these values
   * ============================================ */

  --gap-2: 16px;     /* 2 x 8 */
  --gap-3: 24px;     /* 3 x 8 */
  --gap-4: 32px;     /* 4 x 8 */
  --gap-6: 48px;     /* 6 x 8 */
  --gap-8: 64px;     /* 8 x 8 */

  /* ============================================
   * HEADER
   * ============================================ */

  --header-height: 80px;
  --header-height-mobile: 64px;
  --header-bg: rgba(10, 10, 10, 0.85);
  --header-bg-scrolled: rgba(10, 10, 10, 0.95);

  /* ============================================
   * ASPECT RATIOS
   * ============================================ */

  --aspect-video: 16 / 9;
  --aspect-square: 1 / 1;
  --aspect-portrait: 3 / 4;
  --aspect-wide: 21 / 9;
}

/* ============================================
 * RESPONSIVE TYPOGRAPHY OVERRIDES
 * ============================================ */

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 48px;
    --font-size-6xl: 56px;
    --font-size-7xl: 48px;
    --font-size-4xl: 36px;
    --font-size-3xl: 28px;
    --font-size-2xl: 22px;
    --font-size-xl: 18px;
  }
}

/* ============================================
 * DARK MODE (Default - no toggle needed)
 * ============================================ */

html {
  color-scheme: dark;
}
