/* ==================================================
HEADER WRAPPER
================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;
  color: white;

  transition: all .3s ease;
}

/* scroll state */
body.scrolled .site-header {
  background: #C8F7E1;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

  color: black;
}


/* ==================================================
INNER WRAPPER
================================================== */

.header-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 1rem;
  padding: 14px 16px;

  transition: all .3s ease;
}

body.scrolled .header-inner {
  padding: 8px 16px;
}


/* ==================================================
TAGLINE
================================================== */

.tagline {
  font-size: 1.1rem;
  font-weight: 500;

  /* 👇 BELANGRIJK */
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ==================================================
NAV DESKTOP
================================================== */

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: 2rem;

  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  color: inherit;

  transition: .2s ease;
}

.site-nav a:hover {
  opacity: 0.6;
}

.site-nav .active a {
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}


/* ==================================================
HAMBURGER (DESKTOP VERBORGEN)
================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;

  background: none;
  border: none;
  cursor: pointer;
}

/* lijnen */
.hamburger span {
  width: 26px;
  height: 2px;
  background: currentColor;
  display: block;

  transition: all .3s ease;
}


/* ==================================================
MOBILE
================================================== */

@media (max-width: 768px) {

  /* hamburger zichtbaar */
  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  /* desktop menu uit */
  .site-nav .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    display: none;
    flex-direction: column;
    gap: 1.5rem;

    background: #C8F7E1;
    padding: 1.5rem;
  }

  /* menu open */
  .site-nav.active .menu {
    display: flex;
  }

  /* menu links */
  .site-nav a {
    font-size: 1.2rem;
    color: black;
  }

  /* tagline responsive */
  .tagline {
    max-width: 70%;
    font-size: 0.95rem;

    white-space: normal;
    line-height: 1.3;
  }
}