/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* SIDEBAR */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 100;
  transition: left 0.3s ease;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
}

.mobile-menu.active {
  transform: translateX(0);
  left: 0;
}

.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-header button {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 90;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* MOBILE */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}