/* Modern Navigation System */

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--lucas-diep-rood-bruin), var(--lucas-blauw-cyaan));
  color: var(--lucas-wit);
  border: none;
  padding: 1rem;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
  transform: scale(1.1);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Hamburger Icon */
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  max-width: 90%;
  height: 100%;
  background: var(--card-bg);
  box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  z-index: 1001;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu-panel.active {
  right: 0;
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 4rem 1.5rem 2rem 1.5rem;
}

.mobile-menu-content h2 {
  margin: 0 0 1.5rem 0;
  color: var(--secondary-color);
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.mobile-menu-content .nav-link {
  display: block;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.mobile-menu-content .nav-link:hover {
  background: var(--lucas-blauw-cyaan);
  color: var(--lucas-wit);
  border-left-color: var(--lucas-diep-rood-bruin);
  transform: translateX(4px);
}

/* Desktop Menu */
.desktop-menu {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .desktop-menu {
    display: none;
  }
}

/* Close Button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--lucas-diep-rood-bruin), var(--lucas-blauw-cyaan));
  color: var(--lucas-wit);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
  transform: scale(1.1);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--lucas-blauw-cyaan), var(--lucas-donkergrijs-blauw));
  color: var(--lucas-wit);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transition: var(--transition);
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--secondary-hover), var(--lucas-donkergrijs-blauw));
  transform: scale(1.1);
}

/* Animations */
@keyframes slideInRight {
  from {
    right: -100%;
  }
  to {
    right: 0;
  }
}

@keyframes slideOutRight {
  from {
    right: 0;
  }
  to {
    right: -100%;
  }
}
