/* ==============================================
   DESIGN TOKENS — Nebesa Gymnastics Club
   ============================================== */

:root {
  /* --- Colors --- */
  /* Primary */
  --color-primary: #1568e0;
  --color-primary-dark: #1255b8;
  --color-primary-light: #3b82f6;

  /* Accent */
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #60a5fa;

  /* Neutral */
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;

  /* Background */
  --color-bg-dark: #0c1929;
  --color-bg-light: #e8f0fc;       /* Pale Blue Tint */
  --color-bg-alt: #edf4ff;         /* Alternate section bg */
  --color-bg-card: #ffffff;

  /* Text */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;

  /* Status */
  --color-success: #10b981;
  --color-error: #ef4444;

  /* --- Typography --- */
  --font-family-base: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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-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;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;

  /* --- Spacing --- */
  --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 */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* --- Layout --- */
  --container-max-width: 1200px;
  --container-padding: var(--space-6);

  /* --- 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;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-card: 0 4px 20px rgb(0 0 0 / 0.08);

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

  /* --- Z-Index --- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-modal-top: 550;
  --z-tooltip: 600;

  /* --- Nebesa brand deep --- */
  --color-midnight: #041248;
  --color-deep-blue: #314CB6;
  --color-navy: #2D4192;

  /* --- Gymnastics page tokens --- */
  --color-success-light: #d1fae5;
  --color-star: #f5a623;
  --color-map-pin-active: #20bf60;
  --color-map-pin: #ff7043;
  --color-wa-green: #20bf60;
  --color-vk: #0077ff;

  /* --- Border --- */
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* --- Enhanced Shadows (Phase 2) --- */
  --shadow-card-hover: 0 16px 48px rgba(21, 104, 224, 0.14);
  --shadow-card-blue: 0 8px 32px rgba(21, 104, 224, 0.12);
  --shadow-hero: 0 24px 48px rgba(0, 0, 0, 0.12);

  /* --- Gradients --- */
  --gradient-primary: linear-gradient(135deg, #1568e0 0%, #4e96ff 100%);
  --gradient-dark: linear-gradient(135deg, #041248 0%, #1568e0 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(4, 18, 72, 0.7) 0%, rgba(21, 104, 224, 0.4) 100%);
  --gradient-card-overlay: linear-gradient(180deg, transparent 40%, rgba(4, 18, 72, 0.85) 100%);

  /* --- Image overlay --- */
  --overlay-dark: rgba(4, 18, 72, 0.6);
  --overlay-light: rgba(21, 104, 224, 0.08);

  /* --- Premium Shadows (multi-layer, brand-tinted HSL) --- */
  --shadow-premium-sm: 0 1px 2px hsl(215 70% 45% / 0.06), 0 2px 6px hsl(215 70% 45% / 0.04);
  --shadow-premium-md: 0 2px 4px hsl(215 70% 45% / 0.06), 0 8px 24px hsl(215 70% 45% / 0.08);
  --shadow-premium-lg: 0 4px 8px hsl(215 70% 45% / 0.06), 0 12px 36px hsl(215 70% 45% / 0.1);
  --shadow-premium-xl: 0 8px 16px hsl(215 70% 45% / 0.08), 0 24px 48px hsl(215 70% 45% / 0.12);

  /* --- Premium Transitions (springy cubic-bezier) --- */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* --- Premium Radii --- */
  --radius-premium: 1.25rem;
  --radius-premium-lg: 1.5rem;

  /* --- Gradient text --- */
  --gradient-text-primary: linear-gradient(135deg, #1568e0 0%, #4e96ff 50%, #60a5fa 100%);
  --gradient-text-dark: linear-gradient(135deg, #041248 0%, #1568e0 60%, #3b82f6 100%);
}
