.topBar {
  height: 36px;
  background-color: var(--dark-2);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(245, 192, 0, 0.2);
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}

.topBarContainer {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topBarSocials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.topBarSocialLink {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-size: 14px;
  display: none; /* Hidden by default, script will show if links exist */
}

.topBarSocialLink:hover {
  color: var(--yellow);
}

.header {
  position: absolute;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, border-bottom 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.isSticky {
  position: fixed;
  top: 0;
  background-color: rgba(20, 20, 18, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 192, 0, 0.15);
}

.headerContainer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.headerLogo {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1002; /* Above mobile nav */
}

.headerLogoMark {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.headerLogoText {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  color: var(--white);
  letter-spacing: 1px;
}

.headerLogoText span {
  color: var(--yellow);
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navLink {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 0;
  display: inline-block;
}

.navLink::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}

.navLink:hover, .navLink.active {
  color: var(--yellow);
}

.navLink.active::after, .navLink:hover::after {
  width: 100%;
}

.navCta {
  background-color: var(--yellow);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navCta:hover {
  background-color: var(--yellow-hover);
}

@media (max-width: 1024px) {
  .headerNav { display: none !important; }
  .mobileMenuBtn { display: flex !important; }
}

@media (min-width: 1025px) {
  .headerNav { display: flex !important; }
  .mobileMenuBtn { display: none !important; }
}

.mobileMenuBtn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1002;
  margin-right: 0;
}

.mobileMenuBtn span {
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--yellow); /* Changed to yellow */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobileMenuBtn.isActive span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobileMenuBtn.isActive span:nth-child(2) {
  opacity: 0;
}

.mobileMenuBtn.isActive span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobileNavOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(20, 20, 18, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 40px;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  counter-reset: nav-counter;
}

.mobileNavOverlay.isActive {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
}

.mobileNavOverlay.isActive .mobileNavLink {
  opacity: 1 !important;
  transform: translateY(0);
}

.mobileNavLink {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.mobileNavLink::before {
  counter-increment: nav-counter;
  content: "0" counter(nav-counter);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  opacity: 0.5;
}

.mobileNavLink:hover, .mobileNavLink.active {
  color: var(--yellow);
  padding-left: 10px;
}

.nav-item--events {
  background: var(--yellow) !important;
  color: var(--text-dark) !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-item--events:hover {
  background: var(--yellow-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 192, 0, 0.3);
}

/* Mobile Nav Adjustments for Events Pill */
.mobileNavOverlay .nav-item--events {
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: 12px 24px !important;
  width: auto;
  margin-top: 10px;
}
