/* Header styles for EVENT HALL LOUNGE */
.eh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: radial-gradient(circle at top, rgba(230, 57, 70, 0.22), transparent 55%), rgba(5, 8, 17, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.eh-header__logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 25% 0, #ff7b4a 0, #e63946 45%, #050811 100%);
  box-shadow: var(--shadow-glow-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-header__logo-chip {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(5, 8, 17, 0.8);
}

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

.eh-header__brand-title {
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.eh-header__brand-subtitle {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

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

.eh-header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0;
}

.eh-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e63946, #ff7b4a);
  transition: width var(--transition-base);
}

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

.eh-header__nav-link--cta {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(255, 123, 74, 0.12));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.eh-header__nav-item--cta .eh-header__nav-link::after {
  display: none;
}

.eh-header__nav-link--cta:hover,
.eh-header__nav-link--cta:focus-visible {
  background: linear-gradient(135deg, #e63946, #ff7b4a);
  color: #ffffff;
}

/* Mobile toggle button */
.eh-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 10, 22, 0.9);
  color: #ffffff;
  cursor: pointer;
}

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

/* Mobile layout */
@media (max-width: 880px) {
  .eh-header__toggle {
    display: inline-flex;
  }

  .eh-header__nav {
    position: fixed;
    inset-inline: 0;
    inset-block-start: 180px;
    inset-block-end: 0;
    z-index: 50;
    padding: var(--space-5) var(--space-4) var(--space-6);
    background: rgba(5, 8, 17, 0.96);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  }

  .eh-header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: min(440px, 100%);
    margin: 0 auto;
    padding: var(--space-5);
    gap: var(--space-3);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(10, 14, 28, 0.98), rgba(8, 10, 22, 0.98));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

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

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

  .eh-header--menu-open .eh-header__nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Toggle animation */
  .eh-header--menu-open .eh-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .eh-header--menu-open .eh-header__toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .eh-header--menu-open .eh-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

body.eh-menu-open {
  overflow: hidden;
}

@media (max-width: 540px) {
  .eh-header__brand-title {
    font-size: var(--font-size-xs);
  }

  .eh-header__brand-subtitle {
    display: none;
  }
}
