/* SZINN Portal — Navigation */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(240, 235, 226, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--border);
  padding: 12px 4vw;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  filter: brightness(0.85);
}

.nav-logo-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  transition: color var(--duration) var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  color: var(--cream);
  font-weight: 400;
}

.nav-user-name {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 4px 0;
  transition: all var(--duration) var(--ease);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(240, 235, 226, 0.99);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 4vw;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-user-name { display: none; }
}

/* Spacer for fixed nav */
.nav-spacer { height: 68px; }
