/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #1f1f1f;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo img {
  width: 32px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.navbar-logo:hover img {
  opacity: 1;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-links a {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.navbar-links a:hover {
  color: var(--light);
}

.navbar-links a.active {
  color: var(--red);
}

/* ── HAMBURGER ── */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-hamburger span {
  display: block;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.navbar-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.navbar-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
@media (max-width: 600px) {
  .navbar-hamburger {
    display: flex;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid #1f1f1f;
    padding: 0.5rem 0;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-size: 0.85rem;
  }
}

/* ── BODY OFFSET ── */
body {
  padding-top: 52px;
}

/* Hero sections: undo body offset so bg fills full visual height */
.hero {
  margin-top: -52px;
  padding-top: 52px;
  min-height: 100vh;
}
