/* Header-specific styles for Grand Hall Club */

.ghc-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.ghc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.6rem;
}

/* Branding */
.ghc-header__branding {
  display: flex;
  align-items: center;
}

.ghc-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.ghc-header__logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, rgba(255,255,255,0.8), rgba(6,42,51,0.95));
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.ghc-header__brand-text {
  display: flex;
  flex-direction: column;
}

.ghc-header__brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.ghc-header__brand-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Navigation */
.ghc-header__nav {
  display: none;
}

.ghc-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ghc-header__nav-item--cta {
  margin-top: 0.25rem;
}

.ghc-header__nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-soft);
}

.ghc-header__nav-link:hover,
.ghc-header__nav-link:focus-visible {
  color: var(--color-text);
}

.ghc-header__nav-link.is-active {
  color: var(--color-text);
  position: relative;
}

.ghc-header__nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Mobile toggle */
.ghc-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-soft);
}

.ghc-header__toggle-bar {
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.ghc-header__toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Mobile menu panel */
.ghc-header__nav.ghc-header__nav--open {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148,163,184,0.25);
  padding: 0.75rem 1.25rem 1rem;
  display: block;
}

/* Sticky CTA button refinement */
.ghc-header__sticky-cta {
  box-shadow: var(--shadow-medium);
}

@media (max-width: 959.98px) {
  .ghc-header__nav {
    display: none;
  }
}

@media (min-width: 960px) {
  .ghc-header__inner {
    padding-block: 0.85rem;
    gap: 2.5rem;
  }

  .ghc-header__toggle {
    display: none;
  }

  .ghc-header__nav {
    display: block;
  }

  .ghc-header__nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
  }

  .ghc-header__nav-item--cta {
    margin-top: 0;
  }

  .ghc-header__nav-cta {
    padding-inline: 1.4rem;
  }

  .ghc-header__sticky-cta {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ghc-header__brand-tagline {
    display: none;
  }
}
