/* Hamburger menu icoon */
.menu-icon {
  font-size: 32px;
  cursor: pointer;
  color: var(--text-nav, #1f113a);
  z-index: 110;
  position: relative;
}

.menu-icon::before {
  content: "☰";
  font-size: 32px;
  transition: all 0.3s ease;
}

.menu-icon.open::before {
  content: "✕";
}

/* Mobile menu - standaard verborgen */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: #1f113a;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Menu zichtbaar bij openen */
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-family: 'Amoria', serif;
}

/* Desktop: menu inline */
@media screen and (min-width: 768px) {
  .mobile-menu {
    display: flex !important;
    position: static;
    background: none;
    height: auto;
    width: auto;
    opacity: 1 !important;
    pointer-events: auto !important;
    flex-direction: row;
    justify-content: flex-end;
  }

  .mobile-menu ul {
    display: flex;
    gap: 32px;
    align-items: center;
  }

  .mobile-menu li {
    margin: 0;
  }

  .menu-icon {
    display: none;
    font-size: 20px; /* ✅ hier pas je de grootte aan */

  }

    .menu-icon::before {
    font-size: 20px; /* ✅ ook het ::before element aanpassen */
  }

  .mobile-menu a {
    color: #1f113a; /* zwart op desktop */
  }
}
