/* Header styles for NORTH VENUE CLUB */

.nvc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.96), rgba(5, 7, 11, 0.9));
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.nvc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
  gap: var(--space-4);
}

.nvc-header__brand {
  display: flex;
  align-items: center;
}

.nvc-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
}

.nvc-header__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, rgba(212, 175, 55, 0.6), transparent 60%), #05070b;
  border: 1px solid rgba(212, 175, 55, 0.7);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.nvc-header__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nvc-header__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nvc-header__tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* Navigation */

.nvc-header__nav {
  margin-left: auto;
}

.nvc-header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nvc-header__nav-item--cta {
  margin-left: var(--space-2);
}

.nvc-header__nav-link {
  position: relative;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.35rem 0;
}

.nvc-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  transition: width var(--transition-base);
}

.nvc-header__nav-link:hover::after,
.nvc-header__nav-link:focus-visible::after {
  width: 100%;
}

.nvc-header__nav-link--cta {
  padding-inline: 1.2rem;
}

/* Mobile toggle */

.nvc-header__toggle {
  display: none;
  flex-direction: column;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  background: rgba(5, 7, 11, 0.9);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nvc-header__toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nvc-header__toggle--active .nvc-header__toggle-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nvc-header__toggle--active .nvc-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nvc-header__toggle--active .nvc-header__toggle-bar:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile layout */

@media (max-width: 900px) {
  .nvc-header__inner {
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
  }

  .nvc-header__toggle {
    display: inline-flex;
  }

  .nvc-header__nav {
    position: fixed;
    inset-inline: 0;
    top: 56px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  }

  .nvc-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4);
    margin: 0 auto;
    max-width: 640px;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 55%), rgba(5, 7, 11, 0.98);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: var(--shadow-md);
  }

  .nvc-header__nav-item--cta {
    width: 100%;
    margin-left: 0;
    margin-top: var(--space-2);
  }

  .nvc-header__nav-link--cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nvc-header__nav-link {
    display: block;
    width: 100%;
  }

  .nvc-header__nav-link::after {
    display: none;
  }

  .nvc-header__nav--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Tablet optimization (768px) */

@media (max-width: 768px) {
  .nvc-header__mark {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }

  .nvc-header__name {
    font-size: 0.8rem;
  }

  .nvc-header__tagline {
    font-size: 0.65rem;
  }

  .nvc-header__nav-link {
    font-size: 0.8rem;
  }
}

/* Small mobile (480px) */

@media (max-width: 480px) {
  .nvc-header__inner {
    gap: var(--space-2);
    padding-top: var(--space-1);
    padding-bottom: var(--space-1);
  }

  .nvc-header__brand {
    min-width: 0;
    flex-shrink: 1;
  }

  .nvc-header__mark {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  .nvc-header__text {
    min-width: 0;
    flex-shrink: 1;
  }

  .nvc-header__name {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nvc-header__tagline {
    display: none;
  }

  .nvc-header__toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    gap: 3px;
  }

  .nvc-header__toggle-bar {
    width: 16px;
    height: 1.5px;
  }

  .nvc-header__nav-list {
    max-width: 100%;
  }

  .nvc-header__nav-link {
    font-size: 0.75rem;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .nvc-header,
  .nvc-header__nav,
  .nvc-header__toggle-bar {
    scroll-behavior: auto;
    transition: none !important;
  }
}