* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0b1d51;
  color: white;
}

/* Menú */
header {
  background-color: #0b1d51;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #8f94fb;
}

.logosuperior {
  width: 250px; 
  height: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #39ff14; /* verde brillante */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem; /* un poco más grande */
  transition: color 0.3s ease, transform 0.2s ease;
}
nav ul li a:hover {
  color: #a020f0; /* morado */
  transform: scale(1.05); /* pequeño zoom al pasar el mouse */
}


/* Sección Inicio */
section#inicio {
  min-height: 80vh; /* en lugar de height para que crezca si hay más contenido */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #8f94fb, #0b1d51);
  margin-bottom: 0; /* evita espacio extra abajo */
}
.inicio-contenido {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-20px);
  margin-top: -80px; /* sube todo el bloque (logo + slogan) */
}

/* Logo */
.logo-box {
  width: 450px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  user-select: none;
  overflow: hidden;
}

/* Slogan */
.slogan {
  font-size: 1.8rem;
  font-weight: 500;
  max-width: 600px;
  line-height: 1.3;
  color: #9e40bb;
  font-family: 'Great Vibes', cursive;
  text-align: center;
  margin-top: -60px; /* lo sube un poco respecto al logo */
}


/* Footer */
footer {
  background-color: #0b1d51;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid #8f94fb;
  margin-top: 40px;
  color: #00ff7f;
  margin-top: 0; /* elimina separación con el contenido anterior */
}

/* Responsive */
@media (max-width: 480px) {
  nav ul {
    gap: 15px;
  }

  .logo-box {
    width: 180px;
    height: 180px;
    font-size: 1.2rem;
  }

  .slogan {
    font-size: 1.3rem;
    max-width: 90%;
  }
}

/* Animación de entrada desde abajo */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.inicio-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-20px); 
  
}

/* Fondo dinámico detrás del logo */
.fondo-slider {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  z-index: 0; 
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  overflow: hidden;
}

.fondo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); 
  z-index: 1; /* encima de la imagen */
  pointer-events: none;
}


