/* ============================================
   NAVIGATION STYLES
============================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 18px 0;
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(10,35,66,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(10,35,66,0.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 46px; width: auto; border-radius: 8px; object-fit: contain; }
.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.logo-sub { display: block; font-size: 0.62rem; font-family: var(--font-body); color: var(--gold-lt); font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }

/* Desktop Nav */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links li a {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--trans);
  position: relative;
  display: block;
}
.nav-links li a.active,
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.09); }
.nav-links li a.nav-highlight { color: var(--gold-lt); font-weight: 700; }
.nav-links li a.nav-highlight:hover { color: var(--gold-lt2); }

/* Nav right actions */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login-btn {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-login-btn:hover { color: var(--white); background: rgba(255,255,255,0.09); }
.nav-cta { font-size: 0.85rem; padding: 10px 22px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,35,66,0.99);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; animation: fadeIn 0.25s ease both; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  transition: var(--trans);
  text-align: center;
}
.mobile-menu a:hover { color: var(--gold-lt); }
.mobile-menu a.highlight { color: var(--gold-lt); }
.mobile-menu-divider { width: 40px; height: 2px; background: rgba(255,255,255,0.12); border-radius: 2px; }
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* User avatar in nav (logged in) */
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50px;
  transition: var(--trans);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.nav-user:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.35); }
.nav-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
}
.nav-user-name { font-size: 0.82rem; color: rgba(255,255,255,0.9); font-weight: 500; }

/* Dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--trans);
  z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--trans-fast);
}
.nav-dropdown a:hover { background: var(--offwhite); color: var(--navy); }
.nav-dropdown a i { width: 18px; color: var(--blue); font-size: 0.9rem; }
.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* ============================================
   FOOTER STYLES
============================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.72); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.45rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.58); margin: 16px 0 24px; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--trans);
}
.social-btn:hover { background: var(--gold-lt); color: var(--navy); border-color: var(--gold-lt); }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
  padding-bottom: 12px;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold-lt);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  transition: var(--trans);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold-lt); padding-left: 6px; }
.footer-col ul li a i { font-size: 0.68rem; color: var(--gold-lt); flex-shrink: 0; }
.contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.87rem; color: rgba(255,255,255,0.58);
  margin-bottom: 14px; line-height: 1.6;
}
.contact-item i { color: var(--gold-lt); font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.contact-item a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--gold-lt2); }

/* ---- Responsive Nav ---- */
@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-links li a { font-size: 0.84rem; padding: 7px 10px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-login-btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
