
/* ---------- Menú de escritorio ---------- */
.menu-custom {
  background-color: white;
  color: black;
  text-align: center;
  padding-top: 20px;
}

.menu-logo-wrapper {
  display: flex;
  justify-content: center;
}

.menu-logo {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.menu-nav {
  margin-top: 10px;
}

.menu-list {
  list-style: none;
  padding: 20px 0px;
  margin: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.menu-list li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover elegante y clase activa */
.menu-list li a:hover,
.menu-list li a.active {
  background-color: #f41e54;
  color: white;
}

/* ---------- Menú móvil ---------- */
.menu-custom-mobile {
  display: none;
  background-color: white;
  color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.menu-mobile-logo {
  width: 128px;
  height: 40px;
  object-fit: contain;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

/* Menú desplegable animado */
.mobile-nav {
  background-color: white;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-nav.active {
  max-height: 500px; /* Ajusta si tu menú tiene más elementos */
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.mobile-menu-list li a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: black;
  border-top: 1px solid #eee;
  font-weight: bold;
  background-color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover elegante y clase activa en móvil */
.mobile-menu-list li a:hover,
.mobile-menu-list li a.active {
  background-color: #f41e54;
  color: white;
}

/* ---------- Responsividad ---------- */
@media screen and (max-width: 768px) {
  #menu-desktop {
    display: none;
  }

  #menu-mobile {
    display: block;
  }
}
