/* Algemene Header Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: left;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease-in-out;
  z-index: 1000;
}
/* .desktop-nav {
 margin-right: 50px;
} */

.hamburger-menu {
  display: none; /* Alleen zichtbaar op mobiel */
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: black;
  transition: color 0.3s ease-in-out;
}

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

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

/* Mobiele Navigatie standaard verbergen */
.mobile-nav-container {
  display: none;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.7) !important;
}

header.scrolled .logo {
  color: white !important;
}

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

nav ul li {
  display: inline-block;
}

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

nav ul li.contact-btn {
  margin-left: auto;
}

nav ul li.contact-btn a {
  background: black;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

header.scrolled nav ul li a {
  color: white !important;
}

header.scrolled nav ul li.contact-btn a {
  background: rgba(180, 3, 76, 0.3) !important;
  color: white;
}

.mobile-nav-container {
  display: none;
}

.hamburger-menu {
  display: none;
}

/* ========== MOBIELE NAVIGATIE STYLING ========== */
@media (min-width: 300px) and (max-width: 600px) {
  .desktop-nav {
    display: none;
  }

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

  .hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: rgb(0, 0, 0);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* Hamburger shape */
  .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;
  }

  /* Open animatie */
  .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%;
  }

  /* Mobiele Navigatie */
  .mobile-nav-container {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    transition: height 0.4s ease-in-out;
    z-index: 998;
    display: flex;
    justify-content: center; /* Zorgt voor centreren */
    align-items: center;
    flex-direction: column; /* ✅ Maakt de nav verticaal */
  }

  /* Open animatie */
  body.small-screen .mobile-nav-container {
    height: 200px;
  }

  .mobile-nav-container ul {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    margin-top: -15px;
  }

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

  .mobile-nav-container ul li {
    margin: 15px 0;
  }

  .mobile-nav-container ul li a {
    text-decoration: none;
    font-size: 18px;
    color: black;
    font-weight: medium;
    transition: color 0.3s ease-in-out;
  }

  .mobile-nav-container ul li a:hover {
    color: rgba(0, 0, 0, 0.6);
  }
}
