/* ============================================
   NAVBAR
   ============================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(32, 33, 30, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  transition: all 0.35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

nav.scrolled {
  background: rgba(32, 33, 30, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  gap: 1.5rem;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-light);
  font-size: 1.16rem;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.3s;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--gold-bright);
}

.logo-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.34);
  background: rgba(0, 0, 0, 0.15);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.logo-text small {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(245, 230, 200, 0.68);
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 248, 237, 0.88);
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  font-size: 0.96rem;
  padding: 0.4rem 0;
}

.nav-links a.active {
  color: var(--gold-light);
}

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

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: transparent;
  border: none;
  margin-left: auto;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.9rem 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0;
    background: rgba(18, 8, 3, 0.98);
    padding: 0.5rem 0;
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.95rem 1.2rem;
    display: block;
    border-bottom: 1px solid rgba(139, 105, 20, 0.1);
  }

  .nav-links a.active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .logo-text small {
    display: none;
  }
}
