/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between; /* Keeps "Join Now" button on the right */
  align-items: center;
  padding: 10px 20px !important;
  background-color: #ffffff;
  height: 60px;
  max-width: 100%;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid var(--dark-grey);
}

.navigation-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px; /* Adjust size as needed */
  margin-right: 5px; /* Reduced margin for tighter spacing */
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 17px; /* Reduced gap between links */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
  position: relative; /* Allows fine-tuning of position */
  top: -2px; /* Slight upward adjustment */
}

.nav-links li {
  margin: 0; /* Align links evenly without extra spacing */
  padding: 0 1rem;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.875rem; /* Smaller font size */
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #333; /* Highlight color on hover */
}

.join-now {
  background-color: #ffd700; /* Yellow background */
  color: #333; /* Dark text */
  padding: 10px 10px;
  border: none;
  font-size: .8rem;
  font-weight: bold;
  font-family: 'Oxanium';
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-left: 200px;
}

.join-now:hover {
  background-color: #e6c200; /* Darker yellow on hover */
}

.log-in {
  color: #333;
  font-size: 1rem;
  font-weight: bold;
}

.log-in a:hover {
  color: #e6c200; /* Darker yellow on hover */
}

/* LOGGED IN NAV BAR STYLES */

.user-profile {
  position: relative;
}

.user-profile box-icon {
  display: block;
}

.filterOpen {
  cursor: pointer;
}

.filters {
  z-index: 99;
  color: var(--black);
  position: absolute;
  background-color: white;
  padding: 1rem;
  right: 0;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
}

.dropdown-item:hover {
  cursor: pointer;
  background-color: rgb(243, 243, 243);
}

.option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links li.active {
  background-color: var(--yellow);
  border-radius: 5px;
}

.nav-links li.active:hover {
  background-color: var(--dark-yellow);
  border-radius: 5px;
}

/* MOBILE DESIGNS */

.navbar-hamburger {
  padding: 1rem;
}

.nav-links-mobile {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1rem; /* Reduced gap between links */
  position: fixed; /* Allows fine-tuning of position */
  z-index: 2;
  top: -100%;
  background-color: white;
  padding: 1rem;
  left: 0;
  width: 100%;
  transition: all 300ms ease-in-out;
}

.nav-links-mobile.clicked {
  top: 60px;
  z-index: 2;
}

.nav-links-mobile li {
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--yellow);
  border-radius: 5px;
}

.nav-links-mobile li.active {
  border: none;
  color: white;
  background-color: var(--dark-yellow);
}

.nav-links-mobile li.join-us {
  background-color: var(--yellow);
  font-weight: bold;
}

@media only screen and (max-width: 1200px) {
  .desktop {
    display: none !important;
  }

  .navigation-left {
    gap: 0;
  }
}

@media only screen and (min-width: 1200px) {
  .mobile {
    z-index: 99;
    display: none !important;
  }
}
