:root {
  --header-h: 70px;
}

/* standaard: content zakt onder de fixed header */
body {
  padding-top: var(--header-h);
}

/* pagina’s met banner: banner mag tot bovenaan doorlopen */
body.has-banner {
  padding-top: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease-in-out;
  z-index: 1000;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.85);
}

header .wrapper {
  width: 90%;
  max-width: 1440px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  color: black;
}

.logo a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.logo .logo-highlight {
  color: rgba(180, 3, 76, 0.75);
  font-size: 30px;
}

header.scrolled .logo {
  color: white;
}

header.scrolled .logo-highlight {
  color: rgba(185, 34, 97, 0.85);
}

.desktop-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 26px;
}

.desktop-nav ul li a {
  text-decoration: none;
  font-size: 16px;
  color: black;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
  color: rgba(180, 3, 76, 0.85);
}

.desktop-nav ul li.contact-btn a {
  background: black;
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
}

header.scrolled .desktop-nav ul li a {
  color: white;
}

header.scrolled .desktop-nav ul li.contact-btn a {
  background: rgba(180, 3, 76, 0.45);
}

.hamburger-menu {
  display: none;
}

@media (min-width:601px) {
    .mobile-nav-container {
        display: none !important;
    }
}

@media (max-width: 600px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1200;
  }

  .hamburger-menu span {
    height: 3px;
    width: 100%;
    background: black;
    position: absolute;
    transition: 0.3s ease-in-out;
  }

  .hamburger-menu span:nth-child(1) { top: 0; }
  .hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .hamburger-menu span:nth-child(3) { bottom: 0; }

  header.scrolled .hamburger-menu span {
    background: white;
  }

  .hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
  }
  .hamburger-menu.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
  }

  .mobile-nav-container {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.92);
    transition: height 0.55s ease;
    z-index: 999;
  }

  body.small-screen .mobile-nav-container {
    height: 240px;
  }

  .mobile-nav-container ul {
    list-style: none;
    padding: 0;
    margin: 25px auto 0 auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s ease;
  }

  body.small-screen .mobile-nav-container ul {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav-container ul li a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  .mobile-nav-container ul li.contact-btn {
    margin-top: 25px;
  }

  .mobile-nav-container ul li.contact-btn a {
    background: white;
    color: black !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
  }

  .mobile-bottom-logo {
    width: 80px;
    height: 80px;
    position: absolute;
    right: 12px;
    bottom: 12px;
    object-fit: contain;
  }
}
