.nav {
  border-bottom: 1px solid #ddd;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
}

.nav a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: #333;
}

.nav a:hover {
  background: #f5f5f5;
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 900;
}

.overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


body.is-fixed {
  overflow: hidden;
}

