/* =========================
   3. NAVBAR
========================= */

.navbar {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: white;
}

/* =========================
   4. HAMBURGER
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 999;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  display: block;
}

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 1.5rem;
    overflow: visible;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 220px;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}