/* ===== MAIN CSS — Header, Footer, Navigation ===== */

/* Top Bar */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0;
  font-size: 0.82rem;
}
.top-bar a { color: rgba(255,255,255,0.8); margin-left: 1.5rem; }
.top-bar a:hover { color: var(--gold); }

/* Site Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
  padding: 0.75rem 0;
}
.site-branding { flex-shrink: 0; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.8rem; font-weight: 900;
  color: var(--navy);
  letter-spacing: 3px;
}
.logo-sub {
  font-size: 0.7rem; font-weight: 600;
  color: var(--green);
  letter-spacing: 5px;
  text-transform: uppercase;
}
.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub { color: var(--gold); }

/* Desktop Navigation */
.main-navigation { display: flex; }
.nav-menu { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 0.75rem 0.65rem;
  font-size: 0.85rem; font-weight: 500;
  color: var(--navy); white-space: nowrap;
  transition: color var(--transition);
}
.nav-menu > li > a:hover { color: var(--green); }
.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.6rem 1.2rem !important;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  min-width: 500px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  border-top: 3px solid var(--green);
}
.has-mega-menu:hover .mega-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-inner { display: flex; gap: 2rem; }
.mega-col { min-width: 150px; }
.mega-col h4 {
  font-size: 0.85rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}
.mega-col a {
  display: block; padding: 0.35rem 0;
  font-size: 0.85rem; color: var(--dark-gray);
  transition: all var(--transition);
}
.mega-col a:hover { color: var(--green); padding-left: 0.5rem; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none; background: none; border: none;
  width: 30px; height: 24px; cursor: pointer;
  position: relative; z-index: 1001;
}
.mobile-menu-toggle span {
  display: block; width: 100%; height: 3px;
  background: var(--navy); border-radius: 2px;
  margin-bottom: 5px; transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: -100%;
  width: 85%; max-width: 380px; height: 100vh;
  background: var(--navy);
  z-index: 999; padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.active { right: 0; }
.mobile-nav-inner a {
  display: block; padding: 0.85rem 0;
  color: rgba(255,255,255,0.9); font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-inner a:hover { color: var(--gold); }
.mobile-dropdown-toggle {
  display: block; width: 100%; text-align: left;
  background: none; border: none;
  padding: 0.85rem 0; color: rgba(255,255,255,0.9);
  font-size: 1rem; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-dropdown-content {
  display: none; padding-left: 1rem;
}
.mobile-dropdown.active .mobile-dropdown-content { display: block; }
.mobile-overlay {
  display: none; position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 998;
}
.mobile-overlay.active { display: block; }

/* Footer */
.footer-newsletter {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 3rem 0; color: var(--white);
}
.footer-newsletter h3 { color: var(--white); margin-bottom: 0.5rem; }
.footer-newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.newsletter-form {
  display: flex; max-width: 500px; margin: 0 auto;
  gap: 0; border-radius: var(--radius-sm); overflow: hidden;
}
.newsletter-form input {
  flex: 1; padding: 0.85rem 1rem; border: none;
  font-size: 0.95rem; outline: none;
}
.newsletter-form .btn { border-radius: 0; white-space: nowrap; }

.footer-main {
  background: var(--navy); color: rgba(255,255,255,0.8);
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  color: var(--gold); font-size: 1rem;
  margin-bottom: 1rem; font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a {
  color: rgba(255,255,255,0.7); font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-company-info { margin-top: 1rem; font-size: 0.85rem; line-height: 1.6; }
.footer-company-info p { margin-bottom: 0.2rem; color: rgba(255,255,255,0.7); }

.footer-bottom {
  background: var(--navy-dark); padding: 1.5rem 0;
  text-align: center; font-size: 0.82rem;
}
.footer-bottom-inner { color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 1rem; margin-bottom: 0.75rem; }
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: var(--gold); }
.footer-copy { margin-bottom: 0.3rem; }
.footer-address { font-size: 0.78rem; }

/* Info Content (for policy/info pages) */
.info-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.info-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.info-content p { margin-bottom: 1rem; color: var(--dark-gray); line-height: 1.8; }
.info-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.info-content ul li { margin-bottom: 0.5rem; color: var(--dark-gray); list-style: disc; }
.info-content strong { color: var(--navy); }
.info-content a { color: var(--green); text-decoration: underline; }

/* Pagination */
.pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--off-white); color: var(--navy); font-weight: 600;
  transition: all var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--green); color: var(--white); }
