/* ============================================
   ROYAL STITCH PUNJAB — CSS DESIGN TOKENS
   Theme: Royal (Light) / Apex (Dark)
   ============================================ */

:root {
  /* ── Light Mode: 'Royal' (Default) ── */
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F0EDEA;
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.6);

  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-inverse: #FFFFFF;

  --accent: #D4AF37;
  --accent-hover: #C5A028;
  --accent-light: rgba(212, 175, 55, 0.15);
  --accent-border: #D4AF37;

  --crimson: #D90429;
  --crimson-hover: #B80324;
  --crimson-light: rgba(217, 4, 41, 0.1);

  --icon-color: #FFC000;
  --icon-glow: drop-shadow(0 0 4px rgba(255, 192, 0, 0.5));
  --icon-glow-strong: drop-shadow(0 0 8px rgba(255, 192, 0, 0.7));

  --border-color: #E5E5E5;
  --border-accent: #D4AF37;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 32px;
  --border-radius-full: 50%;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
  --shadow-glow-strong: 0 0 40px rgba(212, 175, 55, 0.3);

  --gradient-hero: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #1A1A1A 100%);
  --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #F5D060 50%, #D4AF37 100%);
  --gradient-crimson: linear-gradient(135deg, #D90429 0%, #FF2E63 100%);
  --gradient-card: linear-gradient(145deg, #FFFFFF 0%, #F5F5F5 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);

  /* ── Spacing Scale ── */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* ── Typography Scale ── */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-punjabi: 'Noto Sans Gurmukhi', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3.25rem;
  --text-5xl: 4rem;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --line-height-tight: 1.15;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* ── Layout ── */
  --container-max: 1200px;
  --container-wide: 1400px;
  --navbar-height: 72px;

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* ── Z-Index Scale ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-whatsapp: 600;
  --z-sos: 700;
}

/* ── Dark Mode: 'Apex' ── */
[data-theme="dark"] {
  --bg-primary: #050505;
  --bg-secondary: #111111;
  --bg-tertiary: #1A1A1A;
  --bg-card: #141414;
  --bg-overlay: rgba(5, 5, 5, 0.9);
  --bg-glass: rgba(17, 17, 17, 0.7);

  --text-primary: #F5F5F5;
  --text-secondary: #AAAAAA;
  --text-muted: #666666;
  --text-inverse: #1A1A1A;

  --accent: #D90429;
  --accent-hover: #FF2E63;
  --accent-light: rgba(217, 4, 41, 0.15);
  --accent-border: #D90429;

  --icon-glow: drop-shadow(0 0 8px rgba(255, 192, 0, 0.6));
  --icon-glow-strong: drop-shadow(0 0 16px rgba(255, 192, 0, 0.9));

  --border-color: #222222;
  --border-accent: #D90429;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(217, 4, 41, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(217, 4, 41, 0.4);

  --gradient-hero: linear-gradient(135deg, #050505 0%, #141414 50%, #050505 100%);
  --gradient-accent: linear-gradient(135deg, #D90429 0%, #FF2E63 50%, #D90429 100%);
  --gradient-card: linear-gradient(145deg, #141414 0%, #0A0A0A 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
}
