@import url("https://fonts.googleapis.com/css2?family=Anton+SC&family=Oswald:wght@200..700&family=Questrial&display=swap");
@import url("./landing-products.css");
@import url("./landing-about.css");
@import url("./landing-marquee.css");
@import url("./landing-brindar.css");
/* Reset básico para asegurar control total */
body {
  background-image: var(--semitrans-bg);
  background-size: auto;
  background-repeat: repeat;
}

@media screen and (max-width: 978px) {
  #page {
    overflow-x: hidden;
  }
}

body.page-template-template-landing {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}

/* --- ESTILOS DE TU SECCIÓN HERO (Basado en la imagen de Zaro) --- */
.hero-landing-section {
  height: 90vh;
  max-width: 1600px;
  margin-inline: auto;
  min-height: 800px;
  max-height: 900px;
  display: flex;
  flex-direction: row;
  text-align: left;
  color: white;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 5%;
}

.hero-button::before {
  content: "";
  position: absolute;
  bottom: -83%;
  z-index: -20;
  left: -40%;
  aspect-ratio: 16/9;
  min-width: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-image: var(--clouds-bg);
  background-size: auto;
  animation: float-clouds 22s ease-in-out infinite;
}

.hero-button:focus {
  color: #ffc000 !important;
}

.hero-images-stack::before {
  content: "";
  position: absolute;
  bottom: 60%;
  left: 45%;
  aspect-ratio: 16/9;
  min-width: 0;
  width: 600px;
  background-repeat: no-repeat;
  background-image: var(--clouds-bg);
  background-size: auto;
  animation: float-clouds 22s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-left: 20px;
  box-sizing: border-box;
}

.hero-content h1 {
  font-family: "Anton SC", Impact, sans-serif;
  font-size: 128px;
  line-height: 1;
  color: #ffc000;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.6em;
  margin-bottom: 1rem;
  font-family: "Oswald", Impact, sans-serif;
  color: #ffc000;
  text-transform: uppercase;
  margin-top: 1.2rem;
  font-weight: 300;
}

.hero-button {
  background-image: url("../../images/cta-bg.png");
  background-size: cover;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: normal;
  padding: 0px 70px;
  text-decoration: none;
  border: none;
  z-index: 3;
  border-radius: 38px;
  font-size: 2em;
  text-transform: uppercase;
  display: inline-block;
}

.hero-button:hover {
  color: #ffc000;
}

.landing-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

/* --- MEDIA QUERIES (RESPONSIVIDAD) --- */

/* --- HERO IMAGES STACK (apiladas) --- */
.hero-images-stack {
  position: relative;
  width: 420px;
  height: 500px;
  min-width: 320px;
  margin-right: 1rem;
}

.hero-image {
  position: absolute;
  width: 320px;
  height: 400px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(-80px);
}

.hero-image.animate {
      animation: descend-image 2.3s cubic-bezier(0.77, 0, 0.18, 1) forwards;

}

.hero-image.img1 {
  animation-delay: 1.5s;
}
.hero-image.img2 {
  animation-delay: 0.9s;
}
.hero-image.img3 {
  animation-delay: 0.2s;
}

@keyframes descend-image {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#cup-video {
  width: auto;
}
.img1 {
  top: 240px;
  left: -90px;
  z-index: 3;
}
.img2 {
  top: 130px;
  left: 40px;
  z-index: 2;
  background-image: var(--loberia-bg);
}
.img3 {
  top: 0;
  left: 160px;
  z-index: 1;
  background-image: var(--compartir-bg);
}

/* Responsive: apilar imágenes debajo del texto */
@media (max-width: 800px) {
}

/* Responsive para la sección hero-landing-section */
@media (max-width: 900px) {
  .hero-landing-section {
    padding-top: 7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 16px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    /* margin-bottom: 5%; */
  }

  .hero-content {
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: -1px;
    word-break: break-word;
  }

  .hero-button::before {
    background-size: cover;
  }

  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .hero-images-stack {
    margin-top: 24px;
    width: 100%;
    min-width: unset;
    &::before {
      bottom: 110%;
    }
  }

  .hero-image {
    width: 200px;
    height: 250px;
  }
  .img1 {
    top: 60px;
    left: unset;
    right: 0px;
  }
  .img2 {
    top: 40px;

    left: unset;
    right: 80px;
  }
  .img3 {
    top: 0;
    left: unset;
    right: 0px;
  }

  #cup-video {
    right: 150px;
    left: unset;
    top: 80px;
    /* width: 280px;
    height: 370px; */
  }
}

@keyframes float-clouds {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  20% {
    transform: translateY(-8px) translateX(6px);
  }
  40% {
    transform: translateY(-4px) translateX(-3px);
  }
  60% {
    transform: translateY(-12px) translateX(8px);
  }
  80% {
    transform: translateY(-6px) translateX(-5px);
  }
}

.split-animate .word {
  display: inline-block;
  white-space: pre; /* Opcional, ayuda a respetar espacios y saltos de línea */
}
.split-animate .char {
  display: inline-block;
}
