.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
}

/* =====================================================
   HEADER BACKGROUND (FULL WIDTH)
===================================================== */

.site-header {
  background: #ffffff;
  width: 100%;
}

/* =====================================================
   INNER CONTAINER (CENTERED, PADDED)
===================================================== */

.header-inner {
  max-width: 80vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  flex-wrap: nowrap; /* Prevent wrapping */
}

/* =====================================================
   LOGO (LEFT)
===================================================== */

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  max-height: 48px;
  width: auto;
  display: block;
}

/* =====================================================
   MENU (RIGHT)
===================================================== */

.main-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0; /* Prevent shrinking */
  width: auto; /* Don't expand */
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-menu a {
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  font-size: 15px;
}

/* =====================================================
   TOP BAR
===================================================== */

.topbar {
  width: 100%;
  background: #6b264b;
  color: #fff;
  font-size: 14px;
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.topbar a:hover {
  text-decoration: underline;
}

/* =====================================================
   TABLET & MOBILE - FORCE HAMBURGER (1024px and below)
===================================================== */

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 24px;
    flex-wrap: nowrap !important;
  }

  .main-nav {
    width: auto !important; /* Force auto width */
    flex: 0 0 auto !important; /* Don't grow or shrink */
  }

  /* Hide the full menu */
  .primary-menu {
    display: none !important;
  }
}

/* =====================================================
   MOBILE SPECIFIC (768px and below)
===================================================== */

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    gap: 6px;
    padding: 8px 24px;
    text-align: center;
  }

  .header-inner {
    max-width: 100%;
  }
}