/* ============================================
   HEADER / NAVIGATION CSS
   ============================================ */

.site-topbar {
  background: var(--dark);
  padding: 8px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
}
.site-topbar .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left a { color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--gold); }
.topbar-left i { color: var(--gold); font-size: .85rem; }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.topbar-right a { color: rgba(255,255,255,.6); font-size: .95rem; transition: color var(--transition); }
.topbar-right a:hover { color: var(--gold); }

/* ---- MAIN HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  height: var(--header-h);
  transition: all var(--transition);
}
.site-header.scrolled {
  height: 64px;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
}

/* ---- LOGO ---- */
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--gold); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; color: var(--navy);
  flex-shrink: 0;
}
.logo-text .brand { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.logo-text .tagline { display: block; font-size: .68rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ---- MAIN NAV ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 6px;
  color: rgba(255,255,255,.85); font-weight: 500;
  font-size: .92rem; transition: all var(--transition);
}
.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--gold); background: rgba(255,215,0,.1);
}
.main-nav > li > a.active::after {
  content: ''; position: absolute; bottom: -2px;
  left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--gold); border-radius: 2px;
}

/* ---- DROPDOWN ---- */
.has-dropdown:hover > .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 220px; background: var(--white);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.15);
  padding: 8px 0; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: all var(--transition);
  border-top: 3px solid var(--gold);
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--text); font-size: .9rem;
  transition: all var(--transition);
}
.dropdown a i { color: var(--gold); width: 16px; text-align: center; }
.dropdown a:hover { background: var(--light); color: var(--navy); padding-left: 26px; }

/* ---- CALL BUTTON ---- */
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy) !important;
  padding: 10px 20px !important; border-radius: 50px !important;
  font-weight: 700 !important; font-size: .88rem !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-dk) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,215,0,.4); }

/* ---- MOBILE MENU TOGGLE ---- */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: transparent;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 850;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
}
.mobile-nav {
  position: fixed; top: 0; left: -100%; z-index: 860;
  width: min(320px, 85vw); height: 100dvh;
  background: var(--navy); padding: 0;
  transition: left .3s ease; overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-nav.open { left: 0; }
.mobile-nav-overlay.open { display: block; }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-close {
  background: rgba(255,255,255,.1); border: none; color: var(--white);
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { padding: 16px 0; flex: 1; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 24px; color: rgba(255,255,255,.85);
  font-size: .95rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all var(--transition);
}
.mobile-nav-links a i { color: var(--gold); width: 18px; text-align: center; }
.mobile-nav-links a.active, .mobile-nav-links a:hover { color: var(--gold); background: rgba(255,215,0,.08); }
.mobile-nav-footer {
  padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-footer .btn { width: 100%; justify-content: center; }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6); max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }

.footer-col h5 {
  color: var(--white); font-family: var(--font-body); font-size: .88rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--gold); display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6); font-size: .88rem;
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
}
.footer-links a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 16px;
  font-size: .88rem; color: rgba(255,255,255,.65);
}
.footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,.8); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
  font-size: .83rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 20px; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-topbar { display: none; }
  .main-nav, .nav-cta-wrap { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; gap: 14px; }
}
