/* Molecule: Navigation Item */
.molecule-nav-item {
  display: inline-block;
  padding: var(--spacing-2) var(--spacing-4);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-light-gray);
  transition: color 0.3s ease;
  position: relative;
}

.molecule-nav-item:hover {
  color: var(--color-text-white);
}

.molecule-nav-item--active {
  color: var(--color-text-white);
}

.molecule-nav-item--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--spacing-4);
  right: var(--spacing-4);
  height: 2px;
  background: var(--color-primary-gradient);
}

/* Dropdown Navigation */
.molecule-nav-dropdown {
  position: relative;
  display: inline-block;
}

.molecule-nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
  cursor: pointer;
}

.molecule-nav-dropdown__icon {
  width: 10px;
  height: 8px;
  transition: transform 0.3s ease;
}

.molecule-nav-dropdown:hover .molecule-nav-dropdown__icon {
  transform: rotate(180deg);
}

.molecule-nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--color-bg-dark-gray);
  border: 1px solid var(--color-border);
  padding: var(--spacing-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.molecule-nav-dropdown:hover .molecule-nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.molecule-nav-dropdown__link {
  display: block;
  padding: var(--spacing-3) var(--spacing-4);
  color: var(--color-text-light-gray);
  text-decoration: none;
  text-transform: none;
  font-weight: var(--font-weight-normal);
  transition: color 0.3s ease;
}

.molecule-nav-dropdown__link:hover {
  color: var(--color-text-white);
  background-color: rgba(255, 255, 255, 0.05);
}
