/* ==========================================================================
   DESIGN TOKENS - LA CEAUNU' CRĂPAT 2027
   Modern Carpathian Gastronomic Luxury & Alabaster Warmth
   ========================================================================== */

:root {
  /* Brand Master Palette */
  --color-brand-primary: #C26D0B;       /* Warm Carpathian Honey Amber */
  --color-brand-primary-hover: #9E5303; /* Deep Copper Roast */
  --color-brand-primary-light: #FBF0DF; /* Soft Honey Glow */
  --color-brand-secondary: #2C1E14;     /* Roasted Chestnut */
  --color-brand-accent: #9E2A2B;        /* Wild Bucegi Cranberry / Ember */
  --color-brand-forest: #1B4332;        /* Carpathian Spruce Green */
  --color-brand-gold: #D4AF37;          /* Heritage Gold Leaf */

  /* Modern Luminous Theme (Default Light Luxury) */
  --bg-primary: #FBF9F5;               /* Warm Alabaster Silk */
  --bg-secondary: #F3ECE1;             /* Travertine Sand */
  --bg-card: #FFFFFF;                  /* Crisp White Porcelain */
  --bg-card-glass: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #FFFFFF;
  --bg-surface: #EFE6D8;               /* Warm Linen */
  --bg-surface-elevated: #FFFFFF;
  --bg-header: rgba(251, 249, 245, 0.88);
  --bg-dock: rgba(26, 21, 16, 0.92);

  /* Typography Colors */
  --text-primary: #1A1510;             /* Dark Espresso / Slate */
  --text-secondary: #4A3E35;           /* Roasted Earth */
  --text-muted: #7A6F66;               /* Warm Stone Gray */
  --text-brand: #C26D0B;               /* Copper Accent Text */
  --text-light: #FAF7F2;

  /* Borders & Dividers */
  --border-subtle: rgba(194, 109, 11, 0.14);
  --border-medium: rgba(194, 109, 11, 0.28);
  --border-highlight: rgba(194, 109, 11, 0.6);
  --border-glass: rgba(255, 255, 255, 0.65);

  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(44, 30, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(44, 30, 20, 0.08);
  --shadow-lg: 0 18px 48px rgba(44, 30, 20, 0.12);
  --shadow-glow: 0 0 30px rgba(194, 109, 11, 0.18);
  --shadow-card: 0 4px 20px rgba(44, 30, 20, 0.06);

  /* Typography Scale */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.7vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.35rem + 1.1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.65rem + 1.6vw, 2.75rem);
  --text-4xl: clamp(2.35rem, 2rem + 2.5vw, 4rem);

  /* Layout & Spacing */
  --container-max: 1320px;
  --container-narrow: 980px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-info: #3B82F6;
}

/* Dark Obsidian Theme Option (when user toggles) */
[data-theme="dark"] {
  --bg-primary: #0F0D0A;
  --bg-secondary: #191512;
  --bg-card: #201A15;
  --bg-card-glass: rgba(32, 26, 21, 0.88);
  --bg-card-hover: #29221C;
  --bg-surface: #272019;
  --bg-surface-elevated: #332B23;
  --bg-header: rgba(15, 13, 10, 0.9);
  --bg-dock: rgba(32, 26, 21, 0.95);

  --text-primary: #FAF5EE;
  --text-secondary: #D6C8B8;
  --text-muted: #9E9182;
  --text-brand: #F59E0B;
  --text-light: #FAF5EE;

  --border-subtle: rgba(217, 119, 6, 0.2);
  --border-medium: rgba(217, 119, 6, 0.38);
  --border-highlight: rgba(217, 119, 6, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(217, 119, 6, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}
