.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-transparent {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
}

.navbar-scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

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

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

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-earth);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--color-gray-50);
  color: var(--color-oak);
}

/* Mobile Menu Styles - Fixed */
@media (max-width: 768px) {
  /* Mobile menu container */
  .navbar .hidden.md\:flex {
    display: none;
  }
  
  /* When menu is open */
  .navbar.mobile-menu-open .hidden.md\:flex {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
  }
  
  /* Reset spacing for mobile view */
  .navbar.mobile-menu-open .hidden.md\:flex.space-x-12 > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0.75rem 0;
  }
  
  /* Mobile dropdown styling */
  .navbar.mobile-menu-open .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    width: calc(100% - 2rem);
    padding: 0.5rem 0;
    display: none;
  }
  
  .navbar.mobile-menu-open .dropdown-menu.show {
    display: block;
  }
  
  /* Make links full width on mobile */
  .navbar.mobile-menu-open .nav-link,
  .navbar.mobile-menu-open .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }
/* Fix the icon alignment for the stores dropdown */
.navbar.mobile-menu-open #storesDropdown {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}


}

/* Add clearfix to properly contain floated children if needed */
.oak-container::after {
  content: "";
  display: table;
  clear: both;
}