/* Glass Effect Navbar Styles */
.navbar {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.6)
    );
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: none;
    box-shadow: 
        0 4px 15px -3px rgba(0, 0, 0, 0.05),
        0 0 20px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.95),
        rgba(255, 255, 255, 0.92)
    );
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 30px rgba(255, 255, 255, 0.15) inset;
}

.nav-container {
  background: transparent;
}

/* Enhanced button styles to match glass effect */
.cart-button,
.my-orders-button,
.user-button {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none !important;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-button:hover,
.my-orders-button:hover,
.user-button:hover {
    background: transparent !important;
    border: none !important;
    transform: none;
    box-shadow: none;
}

/* Profile dropdown glass effect */
.profile-dropdown {
  background: #ffffff !important;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-link:hover {
  background: rgba(255, 127, 80, 0.1);
}

/* Nav links glass effect */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

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

/* Mobile menu adjustments */
@media (max-width: 768px) {
  .navbar {
    background: rgba(255, 255, 255, 0.95);
  }

  .nav-links {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* Cart count badge enhancement */
.cart-count {
  background: var(--color-primary);
  border: 2px solid rgba(255, 255, 255, 0.9);
}
