/* =============================================
   CROWN GEM — HEADER / NAVBAR CSS
   Styles for the sticky navigation bar only
   ============================================= */

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* --- Logo --- */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

/* --- Nav Links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
  
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Action Icons --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 36px; */
  height: 36px;
  color: var(--text-dark);
  font-size: 16px;
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}

.nav-icon-btn:hover {
  color: var(--gold);
}

.nav-icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Inquire Button --- */
.nav-inquire {
  background: var(--gold);
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 22px;
  transition: background var(--transition);
  white-space: nowrap;
}

.nav-inquire:hover {
  background: var(--navy-mid);
}

/* --- Hamburger (Mobile) --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
}

/* --- Mobile Menu (JS controlled) --- */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inquire {
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    height: 60px;
  }

  .nav-logo img {
    height: 30px;
  }
}
