/* Header styles for Social House Cllub */

.shc-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top left, rgba(210, 167, 84, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.98), rgba(6, 6, 8, 0.92));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Brand / Logo */

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

.shc-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.shc-header__logo::after {
  content: none;
}

.shc-header__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 0, rgba(210, 167, 84, 0.4), transparent 60%),
    linear-gradient(135deg, var(--color-primary), #040406);
  color: var(--color-primary-contrast);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-subtle);
}

.shc-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.shc-header__logo-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shc-header__logo-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Navigation */

.shc-header__nav {
  display: flex;
  align-items: center;
}

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

.shc-header__nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.2rem 0;
}

.shc-header__nav-link::after {
  height: 2px;
}

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

.shc-header__nav-item--cta .shc-header__nav-link {
  padding-inline: 1.4rem;
  padding-block: 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(210, 167, 84, 0.5);
  background: radial-gradient(circle at 10% 0, rgba(210, 167, 84, 0.35), transparent 55%),
    linear-gradient(135deg, var(--color-primary-soft), #020305);
  color: var(--color-primary-contrast);
  box-shadow: var(--shadow-soft);
}

.shc-header__nav-item--cta .shc-header__nav-link::after {
  content: none;
}

.shc-header__nav-item--cta .shc-header__nav-link:hover,
.shc-header__nav-item--cta .shc-header__nav-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

/* Mobile toggle */

.shc-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(6, 6, 8, 0.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  color: inherit;
}

.shc-header__toggle:focus-visible {
  box-shadow: var(--shadow-focus);
}

.shc-header__toggle-bar {
  width: 18px;
  height: 1.5px;
  border-radius: 99px;
  background-color: var(--color-text);
  transition: transform var(--transition-base), opacity var(--transition-base),
    translate var(--transition-base);
}

.shc-header__toggle.is-active .shc-header__toggle-bar:nth-child(1) {
  transform: rotate(45deg);
  translate: 0 3px;
}

.shc-header__toggle.is-active .shc-header__toggle-bar:nth-child(2) {
  transform: rotate(-45deg);
  translate: 0 -3px;
}

/* Mobile layout */

@media (max-width: 900px) {
  .shc-header__toggle {
    display: inline-flex;
  }

  .shc-header__nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: radial-gradient(circle at top left, rgba(210, 167, 84, 0.12), transparent 55%),
      linear-gradient(180deg, #060608, #060608);
    padding-block: var(--space-4);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
  }

  .shc-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: var(--space-4);
    gap: var(--space-4);
  }

  .shc-header__nav-item--cta {
    width: 100%;
  }

  .shc-header__nav-item--cta .shc-header__nav-link {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .shc-header__nav-link {
    font-size: 0.85rem;
  }

  .shc-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.shc-nav-open {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .shc-header__logo-subtitle {
    display: none;
  }
}
