.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  z-index: 1001;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--primary-color);
}

/* Responsive navigation menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .list-item {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--card-bg-light);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
    transition: right 0.3s ease, background-color 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .dark-theme .list-item {
    background-color: var(--card-bg-dark);
  }

  .list-item.active {
    right: 0;
  }

  .list-item ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .list-item ul li {
    font-size: 18px;
  }
}

/* Hide menu and toggle in main view */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  .list-item {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-direction: row !important;
  }
}
