/* ===========================
   NAVIGATION / HEADER (floating pill)
=========================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 20px 0;
  pointer-events: none; /* let clicks pass through outside the pill */
  transition: padding var(--transition);
}

#header.scrolled {
  padding-top: 10px;
}

.nav-container {
  pointer-events: auto;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0.65rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition);
}

#header.scrolled .nav-container {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-icon,
.logo-text { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: #181818;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-active {
  color: var(--gold) !important;
}

.nav-active::after {
  width: 100% !important;
}

.nav-cta {
  border: 1px solid var(--gold) !important;
  background: var(--gold);
  padding: 0.55rem 1.4rem !important;
  color: #ffffff !important;
  border-radius: 999px;
  font-size: 0.82rem !important;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--gold-lt) !important;
  border-color: var(--gold-lt) !important;
  color: #ffffff !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

.mobile-menu {
  pointer-events: auto;
  display: none;
  margin: 12px 16px 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.2rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.mobile-menu ul { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-menu a { font-size: 1rem; color: var(--gray-lt); }
.mobile-menu.open { display: block; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0.45rem 0.7rem 0.45rem 1.1rem; }
}

@media (max-width: 600px) {
  #header { padding: 10px 12px 0; }
  .logo-img { height: 30px; }
}
