/* Sleek Modern Navbar */
.navbar {
  background: #fffffc;
  color: #242424;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e5e5;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Logo container */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo image */
.logo-image {
  height: 48px;          /* Typical navbar logo height */
  width: auto;           /* Keeps correct proportions */
  object-fit: contain;   /* Ensures it never distorts */
}



.nav-logo:hover {
  color: #6e6e73
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #242424;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links .nav-link.signup-link {
  border: 2px solid #242424;
  background-color: #242424;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: #fffffc;
  transition: all 0.3s ease;
}

.nav-links .nav-link.signup-link:hover {
  background: linear-gradient(90deg, #e2d9ff, #d3e9ff);
  color: #242424;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #242424;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #6e6e73;
  outline: none;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.active-link {
  color: #242424;
}

.active-link::after {
  width: 100%;
  background-color: #242424;
}

/* --- Hamburger Styles --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #242424;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Responsive Nav --- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #e5e5e5;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 2rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-container {
    position: relative;
  }
}
