/* =========================
   NAV
========================= */

.nav-top {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  font-size: 2.2rem;
  font-weight: 900;
  cursor: pointer;
}

/* LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-accent);
}

/* =========================
   BURGER
========================= */

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 20;
  background: none;
  border: none;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* =========================
   MOBILE 428px
========================= */

@media (max-width: 428px) {
  .nav-top {
    padding: 1rem 1.5rem;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}
