/* ==========================================================================
   ERKEXIN.NET — LUXURY VISUAL IDENTITY & DESIGN TOKEN SYSTEM (PHASE 1)
   Palette: Obsidian Matte Black, Warm Alabaster, Metallic Royal Gold, Crimson Red
   ========================================================================== */

:root {
  /* 1. Core Brand Surfaces */
  --bg-obsidian: #0D0D0D;
  --bg-obsidian-elevated: #141414;
  --bg-obsidian-card: #1A1A1A;
  --bg-obsidian-glass: rgba(13, 13, 13, 0.92);

  --bg-alabaster: #FAF8F5;
  --bg-cream: #F3EFE7;
  --bg-white: #FFFFFF;

  /* 2. Metallic Royal Gold System (#D4AF37 -> #AA7C11) */
  --gold-light: #F2D675;
  --gold-primary: #D4AF37;
  --gold-deep: #AA7C11;
  --gold-muted: rgba(212, 175, 55, 0.16);
  --gold-border-subtle: rgba(212, 175, 55, 0.24);
  --gold-border-strong: rgba(212, 175, 55, 0.55);
  --gold-gradient: linear-gradient(135deg, #EAD07A 0%, #D4AF37 46%, #AA7C11 100%);
  --gold-gradient-hover: linear-gradient(135deg, #F7E193 0%, #DFBC48 48%, #BC8A15 100%);
  --gold-text-gradient: linear-gradient(135deg, #F5DF95 0%, #D4AF37 55%, #B68616 100%);

  /* 3. Crimson Passion Red System (#C8102E) */
  --crimson-primary: #C8102E;
  --crimson-hover: #DF1536;
  --crimson-deep: #9B0A21;
  --crimson-soft: rgba(200, 16, 46, 0.1);
  --crimson-glow: none;
  --crimson-gradient: linear-gradient(135deg, #D91434 0%, #C8102E 55%, #9B0A21 100%);

  /* 4. Typography Colors */
  --text-on-dark: #FAF8F5;
  --text-on-dark-muted: #B8B2A7;
  --text-on-dark-subtle: #857F74;

  --text-on-light: #111111;
  --text-on-light-muted: #57524A;
  --text-on-light-subtle: #827B70;

  /* 5. Editorial Borders & Shadows */
  --border-light: #E8E2D7;
  --border-light-strong: #D6CEBF;
  --border-dark: rgba(255, 255, 255, 0.08);

  --shadow-card: none;
  --shadow-card-hover: none;
  --shadow-luxury-dark: none;
  --shadow-gold-glow: none;
  --shadow-drawer: none;

  /* 6. Typography Stacks (FR / ES / EN / EU Default — Pure Google Fonts, Zero System Fonts) */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-editorial: 'Cormorant Garamond', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --tracking-eyebrow: 0.18em;
  --tracking-button: 0.1em;
  --tracking-heading: -0.015em;
  --lh-heading: 1.12;
  --lh-body: 1.65;

  /* 7. Layout & Rhythm */
  --container-max: 1320px;
  --container-pad: clamp(1.25rem, 4vw, 2.75rem);
  --section-pad-y: clamp(4.25rem, 7vw, 6.75rem);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 200ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-med: 380ms cubic-bezier(0.22, 1, 0.36, 1);

  /* 8. Subtle Honeycomb Hexagonal SVG Pattern (Inspired by ERKEXIN Cylinder Packaging) */
  --honeycomb-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-width='0.75' stroke-opacity='0.085'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 98'/%3E%3Cpath d='M0 50L28 66L56 50'/%3E%3Cpath d='M0 82L28 66L56 82'/%3E%3Cpath d='M28 0L28 32L0 50'/%3E%3Cpath d='M28 32L56 50'/%3E%3C/g%3E%3C/svg%3E");
}

/* Arabic (RTL) Typographic & Calligraphic Harmonization */
:root[lang="ar"] {
  --font-serif: 'Cairo', 'Tajawal', sans-serif;
  --font-editorial: 'Cairo', 'Tajawal', sans-serif;
  --font-sans: 'Tajawal', 'Cairo', sans-serif;

  /* Prevent disjointed Arabic cursive ligatures */
  --tracking-eyebrow: 0;
  --tracking-button: 0;
  --tracking-heading: 0;
  --lh-heading: 1.28;
  --lh-body: 1.78;
}

:root[dir="rtl"] {
  --shadow-drawer: none;
}
