@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aladin&display=swap');
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(270deg, #1CB5E0 0%, #000851 100%);
    color: #ffffff;
}

.logo-img {
    width: 200px;   /* Ajusta el tamaño horizontal */
    height: auto;  /* Mantiene la proporción */
    margin-right: 10px; /* Espacio entre imagen y texto */
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #000;
  color: white;
}
.navbar a:hover {
    color: #1CB5E0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
/**/
.cta {
  display: inline-flex;
  align-items: center;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 2px;
  font-size: 14px;
  padding-right: 10px;
  text-transform: uppercase;
  color: white;
}

.cta svg {
  transform: translateX(-8px);
  transition: all 0.3s ease;
  fill: white;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active svg {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #1CB5E0;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
@media (max-width: 768px) {
  .logo-img {
    width: 120px; /* Tamaño más pequeño para móviles */
  }

  .navbar {
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .cta {
    font-size: 12px; /* Opcional: tamaño de texto más compacto */
  }

  .cta span {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .cta svg {
    width: 12px;
    height: 9px;
  }
}

.hero {
    background-image: url('img/trembo.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;

    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.hero-text {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.336);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}
@media (max-width: 768px) {
  .hero {
    height: 90vh;
    font-size: 2rem;
      margin: 0;
    padding: 0;
  }

  .hero-text {
    font-size: 2rem;
  }

  .overlay {
    padding: 0; /* elimina espacio interior */
    background-color: rgba(0, 0, 0, 0.6); /* más opaco si quieres más contraste */
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;  }

  .overlay h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }
    body, html {
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
    font-size: 1.6rem;
  }

  .hero-text {
    font-size: 1.6rem;
  }

  .overlay h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }
}

/* ESLOGAN: animación de entrada al hacer scroll */
/* Estado inicial: invisible y desplazado hacia abajo */
.overlay h1 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;    font-size: 5rem;
    font-weight: normal;
    line-height: 1.2;
    text-transform: uppercase;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2.5s ease, transform 1.5s ease;
}

/* Cuando se active la clase visible, aparece */
.overlay h1.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 3rem;
    }
}

.productos h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-style: italic;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}
.productos h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-style: italic;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

.productos {
    padding: 40px;
    text-align: center;
    background: linear-gradient(270deg, #1CB5E0 0%, #000851 100%);
}

.productos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.producto {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex: 1 1 calc(33.333% - 40px); /* 3 por fila en pantallas grandes */
  max-width: 300px;

    opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}
.producto.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .producto {
    flex: 1 1 calc(50% - 40px); /* 2 por fila en pantallas medianas */
  }
}

@media (max-width: 480px) {
  .producto {
    flex: 1 1 100%; /* 1 por fila en móviles */
  }
}

.producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.slider {
  position: relative; /* Importante para el posicionamiento absoluto de las imágenes */
  width: 100%;
  height: 300px; /* O el alto que quieras */
  overflow: hidden;
}

.slider-img {
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease-in-out;
}

.img-front {
    z-index: 2;
    opacity: 1;
}

.img-back {
    z-index: 1;
    opacity: 0;
}

.slider:hover .img-front {
    opacity: 0;
}

.slider:hover .img-back {
    opacity: 1;
}



.info-section {
  background-color: #fffafa;
  color: #000000;
  padding: 6rem 2rem;
}

.info-content {
    
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

.info-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.info-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s ease-out;
}

.info-img img.visible {
  opacity: 1;
  transform: translateX(0);
}

.info-texto {
  flex: 1.2;
    font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;    font-size: 5rem;
 
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
  transition: all 1.2s ease-out;
}

.info-texto.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.info-texto h2 {
 font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.info-texto p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
  .info-content {
    flex-direction: column;
    text-align: center;
  }

  .info-img, .info-texto {
    flex: 1 1 100%;
  }

  .info-texto h2 {
    font-size: 2rem;
  }

  .info-texto p {
    font-size: 1rem;
  }
}
footer {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
/* From Uiverse.io by javierBarroso */ 
.social-login-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  -webkit-box-reflect: below 5px linear-gradient(transparent, #00000055);
}
.social-login-icons svg {
  width: 40px;
}


.social-icon-2,
.social-icon-2-2,
.social-icon-3,
.social-icon-3-3{
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  margin: 20px 0 0px 0;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Estilo de cada contenedor de ícono */
.socialcontainer {
  height: 80px;
  overflow: hidden;
}


.social-icon-2 svg,
.social-icon-3 svg
 {
  opacity: 0;
  transition-duration: 0.5s;
  transition-delay: 0.2s;
}



.socialcontainer:hover .social-icon-2 svg,
.socialcontainer:hover .social-icon-3 svg{
  opacity: 1;
}
.social-icon-2 {
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);
  background: linear-gradient(
    72.44deg,
    #ff7a00 11.92%,
    #ff0169 51.56%,
    #d300c5 85.69%
  );
}
.socialcontainer:hover .social-icon-2 {
  transform: translateY(-70px);
}
.social-icon-3 {
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);
  background: #316ff6;
}

.socialcontainer:hover .social-icon-3 {
  transform: translateY(-70px);
}
