/* Shared nav/footer/reset — inline this block into each page's <style> */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0f1f38;
  --navy2:   #1a2f50;
  --navy3:   #243a60;
  --gold:    #c8a45a;
  --gold2:   #e8c07a;
  --white:   #ffffff;
  --light:   #f4f6fa;
  --mid:     #d0d6e2;
  --text:    #1e293b;
  --muted:   #64748b;
  --red:     #dc2626;
  --green:   #15803d;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.09);
  --shadow2: 0 2px 10px rgba(0,0,0,0.07);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navigation ── */
nav {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.nav-logo-text { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.nav-logo-sub  { color: var(--gold); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover  { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-links a.active { background: rgba(200,164,90,0.18); color: var(--gold); }
.nav-links .btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  margin-left: 0.5rem;
}
.nav-links .btn-nav:hover { background: var(--gold2); }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin-top: auto;
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { text-decoration: underline; }
