@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,300,700);

* {
    font-family: Roboto;
    z-index: 2;
}

@font-face {
  font-family: BahuptaScript;
  src: url('../fonts/Batuphat Script.otf') format('opentype');
  font-style: normal;
}

html{
  background-color: #fff;
}

body {
  margin: 0;
  text-align: center;
  justify-content: center;
  /*background-image: url('../img/fondo.jpeg'); */
  background-attachment: fixed;
  background-position: center;



}

h1{
  color:#fff;
}

.banner{
  width: 30vw;
  height: auto;
  margin-left: 30px;
}

header{
  width: 100%;
  background-color: #fff;
}

.block{
  z-index: 999;
  background-color: #7b2ab1;
}

.block h1{
  opacity: 1;
}


.header_elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-right: 2rem;
  margin-left: 2rem;
  margin-top: 1rem;
  padding-bottom: 1rem;
}


ul li a {
  position: relative;
  color: #000;
  font-size: 25px;
  transition: color 0.3s ease-in-out;

}

ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: #9131d1;
  transition: width 0.3s ease-in-out;
}

ul li a:hover::after {
  width: 100%;
}

.header-active{
  text-decoration: underline #9131d1;
  height: 2px;
}

.special {
  color: #9131d1;
}

.menu{
  margin: 0;
}

.menu li{
  padding-right: 1.3rem;

}

.menu li a{
  font-size: 1.6vw;
}

.init_div {
  display: flex;
  color: #e4dbe8;
  width: 100%;

  background-color: #7b2ab1;
  margin-bottom: 30px;
}


.swiper-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.swiper-slide {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
}
.swiper-slide video {
  max-width: 100%;
  width: 100%;
  height: 100%;
}

.arrow-prev,
.arrow-next {
  width: 30px;
  height: 100px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.197);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}


.arrow-prev {
  left: 20px;
}

.arrow-next {
  right: 20px;
}

.arrow-prev:hover,
.arrow-next:hover {
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.11);
  height: 125px;
}


.video {
  width: 100%;
  height: 100%;
  display: none;
}

.video-thumbnail {
  width: 100%;
  height: 920px;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.584);
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
}




h1{
  font-size: 4vw;
  font-family: BahuptaScript;
  text-shadow:
  -1px -1px 0 #00000066,
   1px -1px 0 #00000066,
  -1px 1px 0 #00000066,
   1px 1px 0 #00000066;
  margin: 0;
  margin-bottom: 30px;
  padding: 0;
}


ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

li{
  margin-right: 15px;

}

a{
  text-decoration: none;
}





.container {
  width: 80%;
  display: grid;
  margin: auto;
  align-items: center;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
}

.text_container {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 68%;
  height: 100%;
  padding: 10px;
}

.text_container h1{
  margin-top: 5.5rem;
  margin-bottom: 0;
}

.text_container p{
  width: 85%;
  font-size: 1.4vw;
  margin-top: 3rem;
  margin-right: 2rem;
  margin-left: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

img {
  max-width: 100%;
  max-height:100%;
}

.logo-circle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  box-shadow: 2px 2px 4px 1px #88888888;
}

.logo-circle:hover {
  cursor: pointer;
  background-color: #eee;
}

.logo-circle img {
  width: 80%;
  height: auto;
}


.title{
  color: #410352;
  text-transform: uppercase;
}


button a{
  color: #fff;
  text-decoration: none;
}


article{
  margin-bottom: 30px;
}

.image{
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s;
}

.image:hover{
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.15);

}



.circles {
  position: fixed;
  width: 80%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}


.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #4d04613c;
    animation: animate 15s linear infinite;
    bottom: -150px;

}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 25px;
    height: 25px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 90px;
    height: 90px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 40px;
    height: 40px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 30px;
    height: 30px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 11s;
}


@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}



.main-footer {
  position: relative;
  z-index: 2;
  background-color: #7b2ab1;
  color: #fff;
  padding: 30px;
  text-align: center;
}

.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  margin: 0 10px;
  color: #fff;
  font-size: 24px;
}

.social-icons a:hover {
  color: #eee;
}

.support-form {
  margin-bottom: 20px;
}

.support-form input {
  padding: 10px;
  margin-right: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.support-form button {
  padding: 10px 20px;
  background-color: #ff8a65;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.support-form button:hover {
  background-color: #ff9a7b;
}




body {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

body.fade-out {
  opacity: 0;
}


.transition-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}


.loader {
  box-sizing: border-box;
  border: 5px solid #9131d162;
  border-top: 5px solid #6c4a8c;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.logo {
  position: absolute;
  top: 40%;
  left: 49%;
  transform: translate(-50%, -50%);
  max-width: 400px;
  opacity: 0.8;
}


.swiper-pagination{
  display: none;
}




.container {
  position: relative;
  max-width: 80%;
  margin: auto;
  margin-bottom: 30px;

}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 999;
}

.carousel {
  display: flex;
  overflow: hidden;
  justify-content: center;
  gap: 4rem;
}

.carousel-card {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #691b9a15;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.5s ease;
  z-index: 9999;
}



.carousel-card h1{
  font-size: 2.5vw;
  margin: 0;
}

.carousel-card.active {
  transform: scale(1);
  background: linear-gradient(to right, #6a1b9a, #ff8a65);
  cursor: pointer;
}

.carousel-card img {
  width: 100%;
  height: auto;
}

.card-title {
  text-align: center;
  color: #fff;
  background-color: #6a1b9a;
  padding-top: 2vh;
  padding-bottom: 2vh;
  width: 100%;
}

#prev, #next {
  box-sizing: border-box;
  background: none;
  font-size: 24px;
  color: #6a1b9a;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.285);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: all 0.5s;
}

#prev:hover, #next:hover {
  color: #7b2ab1;
  transform: scale(1.1);
}

.fas {
  font-size: 2em;
}



.form-section {
  display: flex;
  text-align: center;
  margin: 20px;
  gap: 1rem;
}

.form-section .text_container {
  height: auto;
  max-height: unset;
  margin-inline: auto;
  width: calc(100% - 2em);
}


.cotiza-container {
  width: 100%;
  flex: calc(50% - 2em);
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
}

.text-cotiza{
  box-sizing: border-box;
  background-color: #7b2ab1;
  width: 100%;
  max-height: min(22em, 690px);
  display: inline-flex;
  justify-content: center;
  color: #e4dbe8;
  margin-bottom: 30px;
  padding: 2em 1em;
  flex: calc(50% - 2em);
  border-radius: 5px;
}

.text-cotiza h1{
  margin: 0;
}

.cotiza-form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
  flex-wrap: nowrap;
  gap: 1em;
  grid-gap: 20px;
  background-color: #f0eef1;
  padding: 30px;
  border-radius: 5px;
  margin: 0;
  height: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  box-sizing: border-box;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-btn {
  background-color: #7b2ab1;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #6a1b9a;
}

.hero {
  background-image: -webkit-image-set(
    url('../img/SitioBrandora32312.webp') type('image/webp'),
    url('../img/SitioBrandora32312.avif') type('image/avif'),
    url('../img/SitioBrandora32312.png') type('image/png'),
    url('../img/SitioBrandora32312.jpg') type('image/jpeg')
  );
  background-image: image-set(
    url('../img/SitioBrandora32312.webp') type('image/webp'),
    url('../img/SitioBrandora32312.avif') type('image/avif'),
    url('../img/SitioBrandora32312.png') type('image/png'),
    url('../img/SitioBrandora32312.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
  text-align: center;
  color: white;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 50px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0;
  text-shadow: none;
}



.slider-container {
  width: 70%;
  overflow: hidden;
  position: relative;
  margin: auto;
  margin-top: 3vh;
  margin-bottom: 3vh;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 33.3%;
  height: calc(70vw / 3); /* Ajusta este valor según tus necesidades */
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Clave para recortar sin deformar */
}






.btn-prev, .btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
}

.btn-prev {
  left: 10px;
}

.btn-next {
  right: 10px;
}

.cotiza-form :user-invalid {
  border-color: red;
}
.cotiza-form :user-valid {
  border-color: green;
}


@media screen and (max-width: 1380px) {


  .hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    text-align: center;
    color: white;
  }

  .hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5vw;
    margin-top: 2vh;
    margin-bottom: 2vh;
    padding: 0;
    text-shadow: none;
  }

.container{
  margin-bottom: 0;
  grid-gap: 0;
}



  .logo{
    display: block;
    width: 100vw;
    margin: auto;
  }


    .header_elements {
      flex-direction: column;
      padding: 10px;

    }

    .banner {
      width: 50vw;
      height: auto;
      margin: 0;
      margin-bottom: 20px;
    }


    .menu {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1vh;
      margin-bottom: 1vh;
    }

    .menu li{
      padding: 0;
    }

    .menu li a {
      padding: 0;
      font-size: 3vw;
    }

    .init_div, .text_container {
      flex-direction: column;
      align-items: center;
    }

    .text_container h1 {
      font-size: 7.5vw;
      margin-top: 1rem;
    }

    .text_container p {
      font-size: 3vw;
      margin-left: 0;
      margin-right: 0;
      margin-top: 2rem;
    }

    .main-footer {
      text-align: center;
    }


    h1 {
      font-size: 5vw;
    }




    .container{
      width: 90%;
      max-width: 100%;
      display: block;;
    }

    .carousel {
      display: flex;
      overflow: hidden;
      justify-content: center;
      gap: 1rem;
    }

    .carousel-card {
      flex: 33%;
      transform: scale(0.9);
      margin-bottom: 2rem;
    }

    .carousel-card.active {
      transform: scale(1);
    }

    .carousel-card img {
      height: auto;
    }


    .carousel-card h1{
      font-size: 3.5vw;
      margin: 0;
    }




  .carousel-controls {
    box-sizing: border-box;
    position: relative;
    height: auto;
    z-index: 100;
    width: 20%;
    margin: auto;
    margin-top: 1vh;
    margin-bottom: 1vh;
  }




  #prev:hover, #next:hover {
    color: #7b2ab1;
    transform: scale(1.1);
  }



  #prev, #next {
    box-sizing: border-box;
    font-size: 2vw;
    color: #6a1b9a;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.712);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    transition: all 0.5s;
  }



  #prev, #next {
    width: 6vw;
    height: 6vh;
    text-align: center;

  }



  .form-section {
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.text-cotiza {
    width: 100%;

}



.cotiza-container {
    width: 100%;
}

.cotiza-form {
    width: auto;
    margin: 0;
}


}
