/* ── Desktop Navigation ── */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: var(--nav-height);
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.3rem;
}

.logo {
  font-size: 2rem;
  margin: 2rem;
  padding-top: 1rem;
  line-height: 1.3;
}

.logo-title {
  font-weight: 600;
}

.logo-subtitle {
  font-weight: 300;
  color: var(--color-text-secondary);
}

.logo:hover {
  cursor: default;
}

/* ── Hamburger / Mobile Menu ── */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  transition: var(--transition-fast);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

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

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-bg-white);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-fast);
}

.menu-links.open {
  max-height: 400px;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.menu-links li {
  list-style: none;
}
