/* fix letter spacing, add hover on nav, fix dropdown box size and color */

body {
  background: linear-gradient(to right, #4a1a7a 0%, #0f1f4a 100%);
  min-height: 100vh;
  margin: 0;
}

/* ── MOBILE FIRST ── */
#hamburger-nav {
  background: transparent;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* .interior #hamburger-nav {
  background: linear-gradient(to right, #5e2a8a 0%, #1a2f5e 95%);
  box-shadow: 0 4px 15px rgba(140, 80, 255, 0.4),
              0 2px 6px rgba(80, 120, 255, 0.3),
              0 1px 0px rgba(180, 120, 255, 0.6);
} */

#nav-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#nav-logo img {
  height: 35px;
  width: auto;
  display: block;
}

#nav-right {
  display: flex;
  align-items: center;
}

#hamburger-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  z-index: 1001;
}

#hamburger-links {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  background: rgba(70, 26, 122, 0.95);
  width: 200px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 20px;
  border-radius: 0 0 12px 12px;
}

#hamburger-links.open {
  display: flex;
  z-index: 1000;
}

#hamburger-links > a,
.dropdown-toggle,
.dropdown-item,
#hamburger-links a {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;

}

/* #hamburger-links > a,
.dropdown-toggle {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
} */

.dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.dropdown-menu.open {
  display: flex;
}

.dropdown-item {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  text-decoration: underline;
  text-align: center;
  background: none;
  padding: 4px 0;
}

/* ── DESKTOP ── */
@media (min-width: 768px) {
  #hamburger-btn {
    display: none;
  }

  #hamburger-links {
    display: flex !important;
    position: static;
    background: transparent;
    flex-direction: row;
    width: auto;
    gap: 40px;
    padding: 0;
    border-radius: 0;
  }

  .dropdown {
    flex-direction: row;
    align-items: center;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4c1471;
    border-radius: 12px;
    padding: 12px 20px;
    min-width: 90px;
    z-index: 999;
    gap: 8px;
    margin-top: 0;
  }

  /* On desktop, ignore the JS .open class and use hover instead */
  .dropdown-menu.open {
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}