/* =========================================================
   nav.css — Navigation & Footer
   Matches reference SPA design exactly
   ========================================================= */

/* =========================================================
   Navigation
   ========================================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(11,61,31,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 2px;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8); text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: all .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: #F0C20A !important; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--deep); padding: 20px; z-index: 998;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; color: rgba(255,255,255,0.85);
  text-decoration: none; font-size: 15px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }

/* =========================================================
   Footer
   ========================================================= */
footer { background: var(--ink); padding: 60px 5% 30px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1200px; margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px; letter-spacing: 2px; color: white; margin-bottom: 12px;
}
.footer-logo span { color: var(--gold); }
.footer-desc {
  font-size: 13px; color: rgba(255,255,255,0.65); /* was 0.45 → 4.0:1 */
  line-height: 1.7; max-width: 260px;
}
.footer-col-title {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 16px; /* was 0.35 → 3.8:1 (large bold uppercase passes AA) */
}
.footer-links { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.75); /* was 0.55 → 4.8:1 */
  text-decoration: none; transition: color .15s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); /* was 0.3 → 3.2:1 (small legal text) */ }
.footer-disclaimer {
  font-size: 11px; color: rgba(255,255,255,0.2);
  max-width: 1200px; margin: 20px auto 0; line-height: 1.6;
}

/* =========================================================
   Responsive
   ========================================================= */
@media(max-width:1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  nav .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 48px 5% 24px; }
}
@media(max-width:480px) {
  /* Mobile menu — larger tap targets */
  .mobile-menu a { padding: 14px 0; font-size: 16px; }
  /* Footer bottom — stack vertically */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-grid { gap: 28px; }
}
