/* ==========================================================================
   Raj Krishna Jewels — Design Tokens
   Royal Gold & Maroon theme
   ========================================================================== */
:root {
  /* Colors — maroon */
  --color-maroon-900: #5c0a1e;
  --color-maroon-700: #7b1230;
  --color-maroon-500: #9a1c40;
  --color-maroon-100: #f6e4e8;

  /* Colors — gold */
  --color-gold-700: #a97e1f;
  --color-gold-600: #caa244;
  --color-gold-500: #d4af37;
  --color-gold-300: #e8cf7a;
  --color-gold-100: #f5e2a8;

  /* Colors — neutrals */
  --color-bg: #faf6ee;
  --color-surface: #ffffff;
  --color-surface-alt: #f4ecdd;
  --color-text: #2a1810;
  --color-text-muted: #6b5a4d;
  --color-text-on-dark: #f8ecd4;
  --color-border: #e6d9bf;
  --color-success: #2e7d32;
  --color-error: #a4262c;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #f5e2a8 0%, #d4af37 45%, #a97e1f 100%);
  --gradient-gold-soft: linear-gradient(135deg, #fbf1d4 0%, #e8cf7a 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(92, 10, 30, 0.15) 0%, rgba(92, 10, 30, 0.88) 100%);
  --gradient-maroon: linear-gradient(135deg, #7b1230 0%, #5c0a1e 100%);

  /* Shadows — warm maroon-tinted, not gray */
  --shadow-sm: 0 2px 8px rgba(92, 10, 30, 0.08);
  --shadow-md: 0 4px 20px rgba(92, 10, 30, 0.1);
  --shadow-lg: 0 12px 32px rgba(92, 10, 30, 0.16);
  --shadow-gold: 0 8px 24px rgba(169, 126, 31, 0.25);

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --fs-display: clamp(2.25rem, 5vw, 4rem);
  --fs-h1: clamp(1.875rem, 3.5vw, 2.75rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2.125rem);
  --fs-h3: 1.375rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;
  --space-section: clamp(56px, 8vw, 96px);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.4s;
  --dur-slow: 0.8s;

  /* Scrim RGB channels (no rgba() var support, so store as channel list) */
  --scrim-rgb: 92, 10, 30;
}

/* ==========================================================================
   Theme: Minimal Gold & Ivory — lighter, editorial, more whitespace
   ========================================================================== */
:root[data-theme="ivory"] {
  --color-maroon-900: #5c4433;
  --color-maroon-700: #7a5c46;
  --color-maroon-500: #93725a;
  --color-maroon-100: #f2ece3;

  --color-bg: #fffdf9;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f1e6;
  --color-text: #362d24;
  --color-text-muted: #8c7f6f;
  --color-border: #ece2cd;

  --gradient-hero-overlay: linear-gradient(180deg, rgba(45, 36, 28, 0.12) 0%, rgba(45, 36, 28, 0.78) 100%);
  --gradient-maroon: linear-gradient(135deg, #4a3c30 0%, #2e2419 100%);
  --shadow-sm: 0 2px 8px rgba(45, 36, 28, 0.06);
  --shadow-md: 0 4px 20px rgba(45, 36, 28, 0.08);
  --shadow-lg: 0 12px 32px rgba(45, 36, 28, 0.12);
  --scrim-rgb: 45, 36, 28;
}

/* ==========================================================================
   Theme: Black & Gold Couture — dramatic, dark, statement
   ========================================================================== */
:root[data-theme="noir"] {
  --color-maroon-900: #f2e2b6;
  --color-maroon-700: #d4af37;
  --color-maroon-500: #caa244;
  --color-maroon-100: #2a2318;

  --color-bg: #0d0b0a;
  --color-surface: #17130f;
  --color-surface-alt: #1e1812;
  --color-text: #ece4d6;
  --color-text-muted: #a99d8c;
  --color-border: #332a1f;

  --gradient-hero-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.92) 100%);
  --gradient-maroon: linear-gradient(135deg, #000000 0%, #1a1512 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 22px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.65);
  --shadow-gold: 0 8px 26px rgba(212, 175, 55, 0.35);
  --scrim-rgb: 0, 0, 0;
}
