*{
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}

.background-animation {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #ffffff, #ffffff 70%);
  animation: pulseBG 6s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes pulseBG {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.logo-intro {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  animation: logoZoom 2s ease-in-out, fadeOut 1s ease-in-out 2s forwards;
  z-index: 1000;
}

.logo-intro img {
  width: 280px;
  height: auto;
}

@keyframes logoZoom {
      0% { transform: scale(0.8); opacity: 0; }
      50% { transform: scale(1.05); opacity: 1; }
      100% { transform: scale(1); }
    }

    @keyframes fadeOut {
      to {
        opacity: 0;
        visibility: hidden;
      }
    }

    @keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}

#banner {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

    body {
      font-family: 'Molle&family';
      margin: 0;
      padding: 0;
    }

    .redes{
    position: fixed;
    top: 100px;
    left: 0;
    z-index: 9;
}


#facebook a{
    background-color: rgb(52, 72, 255);
    padding: 10px 25px;
    text-decoration: none;
    width: 55px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .6s;
    margin: 5px 0;
}

#instagram a{
    background-color: rgb(192, 122, 253);
    padding: 10px 25px;
    text-decoration: none;
    width: 55px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .6s;
    margin: 5px 0;
}

#tiktok a{
    background-color: rgb(0, 0, 0);
    padding: 10px 25px;
    text-decoration: none;
    width: 55px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .6s;
    margin: 5px 0;
}
    
#facebook a:hover {
    background-color: rgb(52, 72, 255);
    padding: 10px 25px;
    text-decoration: none;
    width: 70px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .2s;
    margin: 5px 0;
}

#instagram a:hover {
    background-color: rgb(192, 122, 253);
    padding: 10px 25px;
    text-decoration: none;
    width: 70px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .2s;
    margin: 5px 0;
}

#tiktok a:hover {
    background-color: rgb(0, 0, 0);
    padding: 10px 25px;
    text-decoration: none;
    width: 70px;
    font-size: 1.3em;
    box-sizing: border-box;
    transition: all .2s;
    margin: 5px 0;
}

    

  
     .seccion1, .seccion2, .seccion3, .seccion4 {
      background-color: #ffffff;
      min-height: auto;
      padding-top: 120px;
      padding-bottom: 80px;
      display: flex;
      justify-content: center;
      padding: 100px 20px 50px;
      box-sizing: border-box;
      flex-direction: column;
      text-align: center;
    }

 

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease;
  justify-content: center;
  display: flex;
  height: 90px;
  left: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 230px;
  text-decoration: none;
  list-style: none;
  align-items: center;
}


.nav-links li {
  margin: 0 15px; 
  width: 100%;
}


.nav-links li a {
  text-decoration: none;
  font-weight: bold;
  color: #ffb1f6; 
  font-size: 2em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-style: oblique;
}


.nav-links li a:hover {
  color: rgb(255, 72, 172);
  word-spacing: 15px;
}



.logo {
  height: 70px;
  width: auto;
}

.logo-item {
  display: flex;
  align-items: center;
}

     h2 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

   .seccion2 h3{
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 30%;
  margin-left: 10%;
  font-size: 1.7em;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


.menu-gallery {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  gap: 2rem;
}

.menu-item {
  position: relative;
  overflow: hidden;
  width: 30%;
  cursor: pointer;
}

.menu-item h4{
  font-size: 2.3em;
}

.menu-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.menu-item .overlay {
  position: absolute;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  width: 100%;
  text-align: center;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.menu-item:hover img {
  transform: scale(1.05);
}

.menu-item:hover .overlay {
  transform: translateY(0);
}

.menu-item .overlay {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  font-family: 'Dancing Script', cursive;
}

.banner {
    width: 100%;
    height: 1000px;
    background-image: url(./img/imagen\ pagina\ 1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}


.content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  margin-top: 5%;

}

.text-column {
  flex: 2;
}

.image-scroll {
  flex: 1;
  width: 600px; 
  height: 800px;
  overflow: hidden;
  position: absolute; 
  top: 10px; 
  left: 20px; 
  flex-direction: column;
  margin-left: 55%;
}

.image-container {
  display: flex;
  flex-wrap: nowrap; 
  gap: 10px;
  animation: scrollImages 30s linear infinite;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@keyframes scrollImages {
  0% { transform: translateX(0); }
  100% { transform: translateX(-910%); } 
}



.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  justify-items: center;
}

.galeria-item {
  overflow: hidden;
 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease-in-out;
}

.galeria-item:hover img {
  transform: scale(1.1) rotate(1deg);
}

.galeria-item {
  margin-bottom: 20px;
}



.seccion4 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 200px;
}


.trayectoria-imagen img {
  width: 400px;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.trayectoria-texto {
  max-width: 600px;
  font-family: 'Molle&family';
  font-size: 1.3em;
  color: #402023;
  line-height: 1.6;
}
.trayectoria-texto h2 {
  font-family: 'Molle&family';
  font-size: 2em;
  margin-bottom: 20px;
  color: #ff80f0;
  font-size: 3.5em;
  display: flex;
  justify-content: center;

}

.columnas{
    width: 100%;
    height: 100%;
    gap: 270px;
    justify-content: center;
    display: flex;
    align-items: baseline;
    left: 0;
    margin: 0;
}

.col3{
    width: 33.33%;
    padding: 20px;
}

.col3 img{
width: 200px;
height: 200px;
}

.col3 h4{
    font-size: 2.4em;
    color: rgb(255, 130, 220);
    margin: 10px 0;
    justify-content: center;
    display: flex;
}

.col3 h5{
    font-size: 1.7em;
    color: rgb(0, 0, 0);
    margin: 0;
    justify-content: center;
    display: flex;
}
    
 

  .footer {
  background-color: #ffaef6; 
  text-align: center;
  font-family: 'Molle&family';
  color: #ffffff;
  width: 100%;
  position: absolute;
  left: 0;
}

.footer-container {
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  font-size: 5rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}
.footer-bajo {
  font-size: 2em;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.footer-nav a {
  margin: 0 1.2rem;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  justify-content: center;
  display: flex;
  align-items: center;
}

.footer-nav a:hover {
  color: rgb(255, 106, 183);
  font-size: 1.5em;
}

@media screen and (max-width: 1024px) {
  .nav-links {
    gap: 100px;
    justify-content: center;
  }

  .nav-links li a {
    font-size: 1.5em;
  }

  .menu-gallery {
    flex-direction: column;
    align-items: center;
  }

  .menu-item {
    width: 80%;
  }

  .image-scroll {
    width: 100%;
    position: static;
    margin-left: 0;
    height: 400px;
  }

  .content {
    flex-direction: column;
    margin-top: 2%;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .columnas {
    gap: 50px;
    flex-direction: column;
    align-items: center;
  }

  .col3 {
    width: 80%;
  }
}

/* Vista celular */
@media screen and (max-width: 768px) {
  .navbar {
    height: 50px;
    padding: 10px 0;
  }

  .nav-links {
    flex-direction: row;
    gap: 5px;
    padding: 10px 0;
    justify-content: center;
    font-size: .3em;
  }

  .logo {
    height: 50px;
  }

  .banner {
    height: 500px;
  }

  .seccion2 h3 {
    width: 80%;
    margin-left: 5%;
    font-size: 1.4em;
  }

  .menu-item h4 {
    font-size: 1.8em;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }

  .trayectoria-imagen img {
    width: 100%;
    max-width: 300px;
  }

  .trayectoria-texto {
    font-size: 1.1em;
  }

  .trayectoria-texto h2 {
    font-size: 2.5em;
  }


  .footer-container {
    flex-direction: column;
  }

  .footer-logo {
    font-size: 3rem;
  }

  .footer-bajo {
    font-size: 1.5em;
  }
}

/* muy pequeño */
@media screen and (max-width: 480px) {
  .nav-links li a {
    font-size: 1.2em;
    justify-content: center;
  }

  .menu-item {
    width: 95%;
  }

  .col3 h4 {
    font-size: 1.8em;
  }

  .col3 h5 {
    font-size: 1.4em;
  }

  .col3 img {
    width: 150px;
    height: 150px;
  }
}