

body {
  font-family: "Outfit", sans-serif;
  margin: 0;
  padding: 0; /* Quitamos el margen superior para que el slider ocupe toda la pantalla */
  color: #333;
}

section {
    padding-top:40px;
    padding-bottom:40px;
    text-align:center;
}

#menu-horizontal{
    font-size:10px;
    padding-top:40px;
    padding-left:5px;
    padding-right:5px;
    padding-bottom:40px;
    text-decoration:none;
}

/* Barra de navegación superior */
.navbar.fixed-top {
  position: fixed; /* Nos aseguramos que sea fijo */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Definimos una altura fija para la barra */
  z-index: 1030; /* La ponemos por encima del contenido */
  
}

/* Botón hamburguesa */
.menu-btn {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}



.menu-btn span {
  display: block;
  height: 2px;
  background: #999999;
  width: 100%;
  transition: 0.3s;
}

/* Panel lateral */
.menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  background: rgba(0,0,0,0.9); /* negro 90% */
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* efecto inercia */
  z-index: 9999;
  width: 100%;
  color: white;
}

@media (min-width: 992px) {
  .menu-panel {
    width: 50%;
  }
}

.menu-panel.open {
  right: 0;
}

/* Bot車n cerrar */
.close-btn {
  align-self: flex-end;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin: 20px;
  color: white;
}

/* Contenido men迆 */
.menu-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: center;
}

.menu-links li {
  margin: 15px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-panel.open .menu-links li {
  opacity: 1;
  transform: translateY(0);
}

.menu-panel.open .menu-links li:nth-child(1) { transition-delay: 0.1s; }
.menu-panel.open .menu-links li:nth-child(2) { transition-delay: 0.2s; }
.menu-panel.open .menu-links li:nth-child(3) { transition-delay: 0.3s; }
.menu-panel.open .menu-links li:nth-child(4) { transition-delay: 0.4s; }
.menu-panel.open .menu-links li:nth-child(5) { transition-delay: 0.5s; }
.menu-panel.open .menu-links li:nth-child(6) { transition-delay: 0.6s; }

.menu-links a {
  text-decoration: none;
  font-size: 1.8rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.menu-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: white;
  transition: width 0.3s ease, left 0.3s ease;
}

.menu-links a:hover::after {
  width: 100%;
  left: 0;
}

/* Idiomas */
.lang-switcher {
  text-align: center;
}

.lang-switcher a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
}

.lang-switcher a:hover {
  color: white;
}


/* Footer */
.footer {
  padding: 20px;
  background: #333;
  font-size: 0.9rem;
  color: #fff;
}
