/* --------------------------------------------------
   NAVBAR
-------------------------------------------------- */

nav {
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1b263b;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #415a77;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e0e6ed;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #c7d3e0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #ffffff;
}

/* --------------------------------------------------
   HAMBURGER (MOBILE)
-------------------------------------------------- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #e0e6ed;
  border-radius: 3px;
}

/* --------------------------------------------------
   MOBILE MENU PANEL
-------------------------------------------------- */

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #1b263b;
  padding: 1rem;
  border-bottom: 2px solid #415a77;
}

.mobile-menu a {
  color: #c7d3e0;
  text-decoration: none;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid #415a77;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu {
  position: absolute;
  top: 70px; /* below navbar */
  left: 0;
  right: 0;
  background-color: #1b263b;
  display: none;
  flex-direction: column;
  padding: 1rem;
  border-bottom: 2px solid #415a77;
  z-index: 999;
}


/* --------------------------------------------------
   RESPONSIVE BEHAVIOR
-------------------------------------------------- */

@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }
}
