/* ==========================================================================
   MoonWalk — SHARED header / navbar
   Ported from the identical <header class="header"> block in index.html and
   locations.html. Inline styles from the mobile drawer now live here as
   .moonwalk-mobile-* classes.
   ========================================================================== */

.moonwalk-header {
  --moonwalk-header-height: 75px;
  --moonwalk-header-bg: rgba(5, 8, 20, 0.92);
  --moonwalk-header-accent: #ffab91;
  --moonwalk-header-border: var(--border-color);

  position: relative;
  top: 0;
  z-index: 1000;
  background: var(--moonwalk-header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--moonwalk-header-border);
  width: 100%;
}

.moonwalk-header--sticky {
  position: sticky;
}

.moonwalk-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--moonwalk-header-height);
  width: 100%;
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.moonwalk-header .header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.moonwalk-header .header-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-blood-moon);
  box-shadow: var(--glow-orange);
  flex-shrink: 0;
}

.moonwalk-header .header-logo-icon--image {
  background: none;
  box-shadow: none;
  object-fit: contain;
  border-radius: 0;
  width: auto;
  max-height: 42px;
}

.moonwalk-header .header-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.moonwalk-header .header-logo-text span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--moonwalk-header-accent);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Event meta (desktop only)
   -------------------------------------------------------------------------- */
.moonwalk-header .header-event-meta {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.moonwalk-header .header-date-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.moonwalk-header .header-date-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.05em;
  border-right: 2px solid rgba(255, 87, 34, 0.4);
  padding-right: 0.7rem;
}

.moonwalk-header .header-date-numbers span:nth-child(1) {
  font-size: 1.2rem;
  color: #fff;
}

.moonwalk-header .header-date-numbers span:nth-child(2) {
  font-size: 1rem;
  color: var(--moonwalk-header-accent);
}

.moonwalk-header .header-date-numbers span:nth-child(3) {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.moonwalk-header .header-location-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
  max-width: 130px;
  line-height: 1.2;
}

.moonwalk-header .header-organisers {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-left: 1.2rem;
  border-left: 1px solid var(--border-color);
}

.moonwalk-header .header-org-item {
  display: flex;
  flex-direction: column;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.moonwalk-header .header-org-item strong {
  color: #fff;
  font-size: 0.68rem;
}

/* --------------------------------------------------------------------------
   Actions: language switcher, CTA, mobile toggle
   -------------------------------------------------------------------------- */
.moonwalk-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.moonwalk-header .lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 2px;
}

.moonwalk-header .lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.moonwalk-header .lang-btn.active,
.moonwalk-header .lang-btn:hover,
.moonwalk-header .lang-btn:focus-visible {
  background: var(--gradient-blood-moon);
  color: #fff;
}

.moonwalk-header .btn-cta-nav {
  background: var(--gradient-blood-moon-h);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: var(--glow-orange);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.moonwalk-header .btn-cta-nav:hover {
  transform: translateY(-1px);
  color: #fff;
}

.moonwalk-header .mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Mobile drawer — inline styles from the source markup live here now
   -------------------------------------------------------------------------- */
.moonwalk-header .mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(10, 17, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 1.25rem;
  position: absolute;
  top: var(--moonwalk-header-height);
  left: 0;
  width: 100vw;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.moonwalk-header .mobile-menu.open {
  display: flex;
}

.moonwalk-header .moonwalk-mobile-meta {
  color: var(--moonwalk-header-accent);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.moonwalk-header .moonwalk-mobile-cta {
  justify-content: center;
}

.moonwalk-header .moonwalk-mobile-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.moonwalk-header .moonwalk-mobile-link.is-active {
  color: var(--moonwalk-header-accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   GTranslate — its own menu is hidden, our .lang-btn buttons drive it
   -------------------------------------------------------------------------- */
.moonwalk-gt-hidden .gtranslate_wrapper,
.moonwalk-gt-hidden .menu-item-gtranslate,
.moonwalk-gt-hidden .gt_switcher_wrapper,
.moonwalk-gt-hidden .moonwalk-gt-hidden-target {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .moonwalk-header .header-event-meta {
    display: none;
  }
}

@media (max-width: 768px) {
  .moonwalk-header .header-actions .btn-cta-nav {
    display: none;
  }

  .moonwalk-header .mobile-toggle {
    display: block;
  }
}
