/* Dropdown Button */
.dropbtn {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.dropbtn:hover {
    color: var(--primary-gold);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  margin-left: var(--spacing-md);
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: var(--primary-purple);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-top: var(--spacing-sm);
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: var(--light-text);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: var(--primary-gold);
    color: var(--primary-purple);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
