html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Manrope', sans-serif;
  background-color: black;
}

.logo {
  font-size: 1.8rem;
  font-weight: 550;
  text-decoration: none;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  font-family: 'Manrope', sans-serif;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: black;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.navlinks {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
}

.nav-item {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  font-weight: 500;
}

.navlinks a, .dropdown-toggle {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  padding: 0;
  transition: color 0.3s ease;
}

.navlinks a:hover, .dropdown-toggle:hover {
  color: #d4af37;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 120%;
  left: -60px;
  background-color: transparent;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  padding: 10px 0;
  border-radius: 6px;
  min-width: 150px;
  z-index: 1000;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content a {
  display: block;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger button (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 11;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navlinks {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 40px;
    gap: 20px;
  }

  .navlinks.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    box-shadow: none;
    padding-left: 10px;
    padding-right: 10px;
  }
}
