.logo-navbar {
  max-height: 50px;
}

/* Fondo oscuro y transición suave */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #000;
  color: #fff;
  transition: right 0.3s ease;
  z-index: 1050;
  padding: 1.5rem;
}

.side-menu.active {
  right: 0;
}

.side-menu-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.close-btn {
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

/* Overlay para móvil */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Estilo de links */
.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items li {
  margin-bottom: 1rem;
}

.menu-items a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.2s, color 0.2s;
}

.menu-items a:hover {
  background-color: #fff;
  color: #000;
}

/* ==== Escritorio: menú como dropdown debajo del botón ==== */
@media (min-width: 992px) {
  .side-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    height: auto;
    background-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
  }

  .side-menu.active {
    display: block;
  }

  .menu-overlay {
    display: none !important;
  }

  .close-btn {
    display: none;
  }
}
