nav {
  height: var(--nav-height);
  background: #222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
}

.nav-link.active {
  background: rgba(255,255,255,0.2);
}

.toggle-btn {
  cursor: pointer;
  background: #444;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.toggle-btn:hover {
  background: #666;
}
