/* Modern Navbar Fix */
.header_section {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0;
  transition: all 0.3s ease;
}

.header_section.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.custom_nav-container {
  padding: 15px 0;
  background: transparent !important;
}

.navbar-brand {
  margin-right: 2rem;
}

.navbar-brand img {
  height: 45px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav {
  align-items: center;
  gap: 1rem;
}

.navbar-nav .nav-item {
  margin: 0;
}

.navbar-nav .nav-link {
  color: #1f2937 !important;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.1);
}

/* Dropdown Styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  background: white;
}

.dropdown-item {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #2563eb;
  transform: translateX(4px);
}

/* User Options */
.user_option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 1rem;
}

.user_link,
.cart_link {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.3s ease;
  text-decoration: none;
}

.user_link:hover,
.cart_link:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

.nav_search-btn {
  background: #2563eb;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.nav_search-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Mobile Menu */
.navbar-toggler {
  border: none;
  padding: 8px;
  border-radius: 8px;
  background: #f8fafc;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  background: #374151;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Mobile Dropdown */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    margin-top: 15px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 0 !important;
    border-radius: 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .user_option {
    margin-top: 20px;
    justify-content: center;
  }
}
