/* Shared navigation — all pages */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light, #f1f5f9);
}

nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text, #0f172a);
  text-decoration: none;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
}

.logo span {
  color: var(--lime, #b8e04a);
}

nav ul {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  align-items: center;
}

nav ul li a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary, #475569);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

nav ul li a:hover {
  background: rgba(184, 224, 74, 0.22);
  color: var(--lime-dark, #9cc832);
}

nav a.logo:hover {
  background: transparent;
  color: var(--text, #0f172a);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text, #0f172a);
  margin: 5px 0;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
    width: 100%;
  }

  nav ul li a {
    width: 100%;
  }
}
