/* NAV WRAPPER */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-vt {
  height: 32px;   /* choose your size: 28–34px usually looks best */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--fg);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

/* HAMBURGER BUTTON */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* MOBILE */
@media (max-width: 800px) {
  .nav {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 100%;
    right: 0;
    padding: 0.5rem 0;
    border: 1px solid #d9e2ec;
    border-radius: 0.5rem;
    min-width: 180px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }

  header.nav-open .nav-links {
    display: flex;
  }

  /* Hamburger animation */
  header.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  header.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  header.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
