/* Basic Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 15px 20px;
}

.navbar.scrolled {
  background: #00090f; 
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Inner Container */
.navbar-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar-logo {
  width: 100px;
  cursor: pointer;
}

/* Center Links */
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  transition: max-height 0.3s ease;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f37f2d; /* Accent orange */
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #efefef; /* Matches your background */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 80%;
    background: #0e0e0e; /* Same as scrolled background */
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open {
    max-height: 500px; /* Enough to show all links */
  }

  .nav-links a {
    padding: 15px 0;
    font-size: 16px;
  }

  .hamburger {
    display: flex;
  }
}
