/* ═══════════════════════════════════════════════════════════════
   VOLPE PASTICCERIA — DESIGN SYSTEM VARIABLES
   Brand: #1F3579 (Royal Blue) + #FFD240 (Gold)
   ═══════════════════════════════════════════════════════════════ */

:root {

  /* ── Brand Colors ─────────────────────────────────────────── */
  --blue:          #1F3579;
  --blue-dark:     #0F1E4A;
  --blue-deeper:   #0A1330;
  --blue-mid:      #2A4299;
  --blue-light:    #3A5BC7;
  --blue-ghost:    #EDF0F9;

  --gold:          #FFD240;
  --gold-dark:     #E6BC30;
  --gold-deep:     #C9A220;
  --gold-light:    #FFE27A;
  --gold-pale:     #FFF8E1;

  /* ── Neutrals ─────────────────────────────────────────────── */
  --white:         #FFFFFF;
  --cream:         #FAF7F2;
  --cream-dark:    #F2EDE4;
  --warm-gray:     #E8E2D9;
  --mid-gray:      #9E9589;
  --charcoal:      #3A3530;
  --black:         #111111;

  /* ── Text ─────────────────────────────────────────────────── */
  --text-primary:  #111111;
  --text-secondary:#4A4540;
  --text-muted:    #7A7570;
  --text-on-dark:  #F5F2EE;
  --text-on-blue:  rgba(255,255,255,0.92);
  --text-gold-on-dark: var(--gold);

  /* ── Semantic ─────────────────────────────────────────────── */
  --color-new:     #C62828;
  --color-success: #2E7D32;
  --color-border:  rgba(31,53,121,0.12);
  --color-border-dark: rgba(255,255,255,0.12);

  /* ── Typography ───────────────────────────────────────────── */
  /* NOTE: Futura font — if you own the license, place the font files in
     src/assets/fonts/ and replace the @import in base.css with @font-face */

  --font-heading: 'Jost', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
  --font-display: 'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --font-body:    'Lato', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* ── Type Scale (Major Third — 1.25) ─────────────────────── */
  --text-xs:    0.64rem;   /* 10.2px */
  --text-sm:    0.8rem;    /* 12.8px */
  --text-base:  1rem;      /* 16px */
  --text-md:    1.25rem;   /* 20px */
  --text-lg:    1.563rem;  /* 25px */
  --text-xl:    1.953rem;  /* 31.2px */
  --text-2xl:   2.441rem;  /* 39px */
  --text-3xl:   3.052rem;  /* 48.8px */
  --text-4xl:   3.815rem;  /* 61px */
  --text-5xl:   4.768rem;  /* 76.3px */
  --text-6xl:   5.96rem;   /* 95.4px */
  --text-hero:  clamp(3rem, 8vw, 6rem);

  /* ── Font Weights ─────────────────────────────────────────── */
  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;
  --weight-black:   900;

  /* ── Letter Spacing ──────────────────────────────────────── */
  --tracking-tight:   -0.03em;
  --tracking-normal:  0em;
  --tracking-wide:    0.05em;
  --tracking-wider:   0.1em;
  --tracking-widest:  0.18em;
  --tracking-caps:    0.12em;

  /* ── Line Height ─────────────────────────────────────────── */
  --leading-none:    1;
  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;
  --leading-loose:   2;

  /* ── Spacing (8px base) ──────────────────────────────────── */
  --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 */
  --space-40:  10rem;     /* 160px */
  --space-48:  12rem;     /* 192px */

  /* ── Section Padding ─────────────────────────────────────── */
  --section-pad-y: clamp(4rem, 8vw, 8rem);
  --section-pad-x: clamp(1.5rem, 5vw, 6rem);

  /* ── Layout ──────────────────────────────────────────────── */
  --container-max:  1400px;
  --container-wide: 1200px;
  --container-text: 760px;
  --container-narrow: 600px;

  /* ── Border Radius ───────────────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-blue: 0 8px 32px rgba(31,53,121,0.3);
  --shadow-gold: 0 4px 20px rgba(255,210,64,0.35);
  --shadow-card: 0 2px 8px rgba(31,53,121,0.06), 0 8px 32px rgba(31,53,121,0.08);

  /* ── Transitions ─────────────────────────────────────────── */
  --ease-default:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --ease-out:      cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-luxury:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 600ms;

  --transition-base: var(--duration-base) var(--ease-default);
  --transition-slow: var(--duration-slow) var(--ease-luxury);

  /* ── Z-index ─────────────────────────────────────────────── */
  --z-base:    0;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-top:     400;

}

/* ── Dark Sections Override ───────────────────────────────────── */
[data-theme="dark"] {
  --bg:           var(--blue-dark);
  --text-primary: var(--text-on-dark);
  --color-border: var(--color-border-dark);
}
