/* ===== NAVBAR — Premium Redesign ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(212, 160, 48, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(212, 160, 48, 0.3));
}

.navbar.scrolled .navbar-logo img {
  height: 38px;
}

.navbar-logo span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

/* Premium CTA Button in Navbar */
.nav-cta {
  padding: 12px 28px !important;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)) !important;
  color: var(--color-dark) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 160, 48, 0.35);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(212, 160, 48, 0.5) !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.8);
    border-left: 1px solid rgba(212, 160, 48, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }
}
/* ===== NAV WISHLIST & CART ICONS ===== */
.nav-wishlist {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 8px 6px !important;
  color: rgba(255,255,255,0.75) !important;
}
.nav-wishlist:hover { color: #e83e8c !important; }
.nav-wishlist svg { vertical-align: middle; flex-shrink: 0; }
.wishlist-count,
.cart-count {
  background: var(--color-primary);
  color: var(--color-dark);
  font-size: 0.6rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  margin-left: 1px;
}

/* ===== EXTRA RESPONSIVE NAVBAR FIXES ===== */
@media (max-width: 768px) {
  .nav-links {
    padding: 100px 40px 40px;
    overflow-y: auto;
  }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .navbar-logo span { font-size: 1.1rem; }
}
