/* Navbar module: keeps navigation-specific styles isolated. */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}

.nav-left {
  display: flex; align-items: center; gap: 10px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
}

.nav-logo span {
  width: 36px; height: 36px;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
}

.nav-logo span svg { width: 16px; height: 16px; }
.nav-logo span img { width: 36px; height: 36px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 450;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all .2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
  display: block;
}

@media (max-width: 900px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-actions .btn-ghost,
  .nav-actions .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .nav-left { display: flex; align-items: center; gap: 10px; }
}
