/* ===================== RESET & BODY ===================== */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Poppins', sans-serif; 
  scroll-behavior: smooth; 
}
body { background: #F2EFEB; color: #111; line-height: 1.7; }
a { text-decoration: none; color: inherit; }

/* ===================== HEADER ===================== */
header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #F2EFEB;
  border-bottom: 2px solid #7A0000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
}

.logo {
  height: 45px;
  width: auto;
}

/* ===================== NAVIGATIE ===================== */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a,
.dropbtn {
  text-decoration: none;
  color: #7A0000;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.main-nav a:hover,
.dropbtn:hover,
.main-nav a.active {
  color: #A72B2B;
}

/* ===================== DROPDOWN ===================== */
.dropdown {
  position: relative;
}

/* Dropdown-menu luxe styling */
.dropdown-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 45px;
  left: 0;
  background-color: #FFF8F6; /* warmer dan wit */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  border: 1px solid #7A0000;
  z-index: 999;
}

.dropdown-menu li {
  margin: 0;
  border-bottom: 1px solid #F2EFEB;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 20px;
  color: #7A0000;
  font-size: 0.95rem;
  text-align: left;
  transition: all 0.25s ease;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, #F2EFEB, #FFE8E5);
  color: #A72B2B;
  transform: translateX(3px);
}

.dropdown-menu a::before {
  content: '•';
  color: #A72B2B;
  margin-right: 8px;
  font-size: 0.8rem;
}

/* Actieve dropdown zichtbaar */
.dropdown.show .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: flex;
}

/* ===================== NAV-BUTTONS ===================== */
.btn-nav {
  border: 1.5px solid #7A0000;
  background-color: transparent;
  color: #7A0000;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background-color: #7A0000;
  color: #F2EFEB;
}

/* ===================== HAMBURGER MENU ===================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  width: 30px;
  height: 24px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #7A0000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===================== MOBIEL MENU ===================== */
@media (max-width: 850px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #F2EFEB;
    border-top: 2px solid #7A0000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 15px 0;
    text-align: center;
  }

  .main-nav.show ul {
    display: flex;
  }

  /* Standaard gesloten dropdown */
  .dropdown-menu {
    position: static;
    display: none;
    flex-direction: column;
    padding-left: 0;
    background-color: #FFF8F6;
    border: 1px solid #7A0000;
    border-radius: 8px;
    margin: 5px 0;
    max-height: 300px;      /* maximaal hoogte van dropdown */
    overflow-y: auto;       /* scroll alleen bij teveel items */
  }

  /* Dropdown open */
  .dropdown.show .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 10px 20px;
  }

  .dropdown-menu a:hover {
    background-color: #F2EFEB;
    transform: none;
  }

  /* Brede klikbare knop */
  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
