/* =========================================================
   RAMSTEIN TRAVEL — Design Tokens
   Palette: Deep Navy + Eagle Gold + Military Olive
   Sourced from official logo (Option 3)
   ========================================================= */

:root,
[data-theme='light'] {
  /* Surfaces — warm parchment */
  --color-bg: #f5f3ee;
  --color-surface: #f9f7f2;
  --color-surface-2: #fdfcf8;
  --color-surface-offset: #eceae3;
  --color-surface-offset-2: #e3e0d8;
  --color-surface-dynamic: #d6d2c8;
  --color-divider: #cac6bc;
  --color-border: #b8b4a8;

  /* Text */
  --color-text: #1a1c24;
  --color-text-muted: #5a5c68;
  --color-text-faint: #a8aab0;
  --color-text-inverse: #f5f3ee;

  /* Primary Accent — Eagle Gold (from logo) */
  --color-primary: #c0a840;
  --color-primary-hover: #a89030;
  --color-primary-active: #887020;
  --color-primary-highlight: #f0e8c0;

  /* Secondary — Deep Navy (from logo) */
  --color-secondary: #003060;
  --color-secondary-hover: #002050;
  --color-secondary-active: #001030;
  --color-secondary-highlight: #c0cce0;

  /* Nav / Header / Footer surface */
  --color-nav-bg: #003060;
  --color-nav-text: #f5f3ee;
  --color-nav-accent: #c0a840;

  /* Tertiary — Military Olive (from logo) */
  --color-olive: #606020;
  --color-olive-hover: #484810;
  --color-olive-highlight: #d8dcc0;

  /* Success / Error / Warning */
  --color-success: #3d7a28;
  --color-success-highlight: #d0e0c8;
  --color-error: #a02a2a;
  --color-error-highlight: #e0caca;
  --color-warning: #c0a840;
  --color-warning-highlight: #f0e8c0;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.12 0.04 240 / 0.10);
  --shadow-md: 0 4px 16px oklch(0.12 0.04 240 / 0.14);
  --shadow-lg: 0 12px 40px oklch(0.12 0.04 240 / 0.18);
  --shadow-xl: 0 24px 64px oklch(0.12 0.04 240 / 0.24);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme='dark'] {
  --color-bg: #0a0f1a;
  --color-surface: #0e1525;
  --color-surface-2: #121b2e;
  --color-surface-offset: #101830;
  --color-surface-offset-2: #162038;
  --color-surface-dynamic: #1e2d4a;
  --color-divider: #1a2840;
  --color-border: #243650;
  --color-text: #e8e4d8;
  --color-text-muted: #8a8e9e;
  --color-text-faint: #4a5068;
  --color-text-inverse: #0a0f1a;
  --color-primary: #d4b848;
  --color-primary-hover: #e8cc60;
  --color-primary-active: #f0d878;
  --color-primary-highlight: #382e08;
  --color-secondary: #2a5090;
  --color-secondary-hover: #4068b0;
  --color-secondary-active: #5880c8;
  --color-secondary-highlight: #101828;
  --color-nav-bg: #060c18;
  --color-nav-text: #e8e4d8;
  --color-nav-accent: #d4b848;
  --color-olive: #888840;
  --color-olive-hover: #a0a050;
  --color-olive-highlight: #202010;
  --color-success: #6daa45;
  --color-success-highlight: #2a3d22;
  --color-error: #d16060;
  --color-error-highlight: #3d2020;
  --color-warning: #d4b848;
  --color-warning-highlight: #382e08;
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.30);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.40);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.50);
  --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.60);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0a0f1a;
    --color-surface: #0e1525;
    --color-surface-2: #121b2e;
    --color-surface-offset: #101830;
    --color-surface-offset-2: #162038;
    --color-surface-dynamic: #1e2d4a;
    --color-divider: #1a2840;
    --color-border: #243650;
    --color-text: #e8e4d8;
    --color-text-muted: #8a8e9e;
    --color-text-faint: #4a5068;
    --color-text-inverse: #0a0f1a;
    --color-primary: #d4b848;
    --color-primary-hover: #e8cc60;
    --color-primary-active: #f0d878;
    --color-primary-highlight: #382e08;
    --color-secondary: #2a5090;
    --color-secondary-hover: #4068b0;
    --color-secondary-active: #5880c8;
    --color-secondary-highlight: #101828;
    --color-nav-bg: #060c18;
    --color-nav-text: #e8e4d8;
    --color-nav-accent: #d4b848;
    --color-olive: #888840;
    --color-olive-hover: #a0a050;
    --color-olive-highlight: #202010;
    --color-success: #6daa45;
    --color-error: #d16060;
    --color-warning: #d4b848;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.30);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.40);
    --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.50);
    --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.60);
  }
}
