
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5vw;
  font-size: 0.95rem;
  transition: opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.header-nav.hide-on-scroll {
  opacity: 0 !important;
  pointer-events: none;
  visibility: hidden;
}


/* Standard: header är statisk */
.main-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  background: transparent;
  color: #fff;
  font-family: inherit;
  text-shadow: 0 1px 2px rgba(0,0,0,0.10);
  margin: 0;
  padding: 0;
  border: none;
}




/* Om headern ligger direkt i .hero, placera den absolut */
.hero > .main-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

html, body {
  font-family: 'Inter', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5vw;
  font-size: 0.95 rem;
}
.header-left a, .header-right a {
  margin-right: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.10);
}
.header-left a:last-child, .header-right a:last-child {
  margin-right: 0;
}
.header-left a:hover, .header-right a:hover {
  color: #ffe082;
}
@media (max-width: 700px) {
  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.98rem;
  }
  .header-right {
    margin-top: 0.5rem;
  }
}

@media (min-width: 701px) {
  .header-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
  }
  .header-left,
  .header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 18px;
    flex-wrap: nowrap !important;
  }
  .header-left a,
  .header-right a {
    display: inline-flex !important;
    white-space: nowrap !important;
  }
}
