@import url('https://fonts.bunny.net/css?family=inter:400,500,600,700,800&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --navy-dark: #111c33;
  --gold: #c9a84c;
  --gold-light: #dbc06a;
  --gold-dark: #a8893a;

  /* Light theme (default) */
  --bg-primary: #f8f9fb;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f7;
  --bg-card: #ffffff;
  --bg-nav: #1a2744;
  --bg-footer: #1a2744;
  --bg-hero: linear-gradient(135deg, #1a2744 0%, #243352 50%, #1a2744 100%);
  --text-primary: #1a2744;
  --text-secondary: #4a5568;
  --text-muted: #8896a6;
  --border-color: #e2e6ed;
  --border-light: #edf0f5;
  --ring-color: rgba(26, 39, 68, 0.08);
  --card-shadow: 0 1px 3px rgba(26, 39, 68, 0.06), 0 1px 2px rgba(26, 39, 68, 0.04);
  --card-shadow-lg: 0 10px 30px rgba(26, 39, 68, 0.08), 0 4px 12px rgba(26, 39, 68, 0.04);
}

[data-theme="dark"] {
  --bg-primary: #0f1724;
  --bg-secondary: #162033;
  --bg-tertiary: #1a2744;
  --bg-card: #182236;
  --bg-nav: #0d1320;
  --bg-footer: #0d1320;
  --bg-hero: linear-gradient(135deg, #0f1724 0%, #1a2744 50%, #0f1724 100%);
  --text-primary: #e8ecf2;
  --text-secondary: #a0aec0;
  --text-muted: #6b7a8d;
  --border-color: #243352;
  --border-light: #1e2d48;
  --ring-color: rgba(201, 168, 76, 0.1);
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15);
  --card-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--gold);
}
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: block; }
.theme-icon-light { display: none; }
.theme-icon-dark { display: block; }

/* Utility classes */
.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.border-themed { border-color: var(--border-color); }
.card-shadow { box-shadow: var(--card-shadow); }
.card-shadow-lg { box-shadow: var(--card-shadow-lg); }

@media print {
  nav, footer, .no-print, .theme-toggle { display: none !important; }
  body { background: white !important; color: #000 !important; }
  .shadow-xl, .card-shadow, .card-shadow-lg { box-shadow: none !important; }
}
