/* css/navbar.css */
.custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  background: rgba(4, 13, 12, 0.4);
  /* Glass effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Subtle border for glass look */
}

/* Logo on the left */
.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 54px;
  width: auto;
}

/* Centered Links */
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li a {
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Underline effect similar to image */
.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--amber, #b5de00);
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li.active a {
  color: #fff;
}

.nav-links li a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

/* Hamburger Menu on the right */
.nav-hamburger {
  cursor: pointer;
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  gap: 6px;
  z-index: 10001;
}

.nav-hamburger span {
  display: block;
  width: 35px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger span.mid {
  width: 25px;
  /* Middle line slightly shorter, matching image */
}

.nav-hamburger:hover span {
  background-color: var(--amber, #b5de00);
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    /* Hide links on mobile, rely on hamburger full menu */
  }

  .nav-hamburger {
    display: flex;
    /* Show only on mobile/tablet */
  }

  .custom-nav {
    padding: 15px 30px;
  }
}