@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rock+Salt&family=Vina+Sans&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}



.hero {
  display: flex;
  position: relative;
  background-image: url('../img/alayo\ inicio2.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.content {
  max-width: 800px;
  width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

.content h4 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: "Anton", sans-serif;
  color: #fff;
  text-align: left;
  font-weight: 500;
  text-shadow: 2px 2px 2px rgb(0, 38, 255);
}

.content p {
  font-size: 1.75rem;
  margin-bottom: 50px;
  text-align: left;
  text-shadow: 2px 2px 2px rgb(0, 38, 255);
}

.btn {
  display: inline-block;
  padding: 15px 25px;
  background-color: #006eff70;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  border: 2px solid #ffffff;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
  background-color: #000;
  border-color: #000;
}


@media screen and (max-width: 768px) {
  .hero {
    width: 100%;
    padding: 50px 0;
  }

  .content {
    width: 100%;
    height: auto;
    padding: 0 20px;
    margin-left: 0;
  }

  .content h4 {
    font-size: 36px;
    text-align: left;
    margin-top: 0;
  }

  .content p {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: left;
  }

  .btn {
    padding: 12px 20px;
    margin-left: 0;
    margin-top: 15px;
  }
}

.new-hero {
  display: flex;
  position: relative;
  background-color: #fff;
  background-size: cover;
  padding: 60px 0;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.new-content {
  max-width: 1200px;
  width: 90%; /* Ajusta el ancho para adaptarse mejor */
  margin: 0 auto;
  flex: 1;
}

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rock+Salt&family=Vina+Sans&display=swap');

.titulo {
  font-family: "Anton", sans-serif;
  font-size: 4rem; /* Utiliza 'rem' para escalabilidad */
  margin-bottom: 5px;
  color: #01063e;
}

p.subtitle {
  font-size: 1.5rem; /* Utiliza 'rem' para escalabilidad */
  color: #000000;
  margin-bottom: 10px;
}

.divider {
  width: 50px;
  height: 3px;
  background-color: #6c63ff;
  margin: 10px auto;
  margin-bottom: 80px;
}

.features {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.feature {
  width: 30%;
  margin-bottom: 20px;
}

.feature img {
  width: 100px;
  height: 100px;

}

.feature h3 {
  font-family: "Anton", sans-serif;
  font-size: 1.5rem;
  margin: 10px 0 5px 0;
  color: #01063e;
}

.feature .additional-image {
  width: 100%;
  max-width: 300px;
  margin: 10px auto;
  height: 30vh;
  border-radius: 5px;
  border: 2px solid #000000;
}

.feature p {
  font-size: 1.02em;
  font-weight: 500;
  color: #000000;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .titulo {
    font-size: 51px;
    margin-top: -50px;
    margin-bottom: 50px;
  }

  p.subtitle {
    font-size: 25px;
  }

  .feature {
    width: 45%;
  }

  .feature img {
    width: 80px;
    height: 80px;
  }

  .feature .additional-image {
    max-width: 250px;
    height: auto;
  }
}

@media (max-width: 480px) {

  .feature {
    width: 100%;
  }

  .feature img {
    width: 60px;
    height: 60px;
  }

  .feature .additional-image {
    max-width: 200px;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .new-hero {
    width: 100%;
    flex-direction: column;
  }

  .new-content {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .new-content h4 {
    font-size: 36px;
    text-align: left;
  }

  .new-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: center;
  }
}


.orange-hero {
  display: flex;
  position: relative;
  background-image: url('../img/fondo\ carros.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 21.5vh 0;
}

.orange-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}

.orange-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.orange-content h4 {
  font-size: 60px;
  margin-bottom: -9vh;
  font-family: "Anton", Sans-serif;
  margin-left: 0;
  margin-top: -12vh;
  color: #c9c9c9;
}

.orange-content p {
  font-size: 35px;
  margin-bottom: 100px;
  font-family: "Poppins", sans-serif;
  margin-left: 0;
}

@media screen and (max-width: 768px) {
  .orange-hero {
    width: 100%;
    padding: 90px 0;
  }

  .orange-content {
    width: 100%;
    height: auto;
    padding: 0 20px;
    margin-left: 0;
  }

  .orange-content h4 {
    font-size: 36px;
    text-align: center;
    margin-left: 0;
    margin-top: -40px;
  }

  .orange-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: left;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

.container__card {
  max-width: 1000px;
  margin: auto;
  margin-top: 100px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.card__father {
  margin: 20px;
  perspective: 1000px;
}

.card__father:hover .card {
  transform: rotateY(180deg);
}


.card {
  width: 350px;
  height: 400px;
  position: relative;
  transform-style: preserve-3d;
  transition: all 600ms;
  border: 2px solid #cecece;
  border-radius: 5px;
}

.card__front {
  background-size: cover;
  background-position: center;
}


.card__front,
.card__back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  border-radius: 20px;
}

.card__back {
  transform: rotateY(180deg);
  background: rgb(0, 0, 0);
}

.body__card_front {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: orange;
  text-shadow: 2px 2px 2px rgb(0, 0, 0);
  transform: translateZ(60px);
}

.bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
}

.body__card_back {
  margin-top: 9%;
  padding: 35px;
  text-align: center;
  transform: translateZ(60px);
  color: white;
}

.body__card_back p {
  margin-top: 30px;
  font-size: 18px;
  color: white;
}

.body__card_back input {
  padding: 10px 40px;
  margin-top: 30px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  color: white;
  background: #cf0000;
  box-shadow: 1px 1px 30px -5px #ff0000;
  border-radius: 10px;
  transition: box-shadow 600ms;
}

.body__card_back input:hover {
  box-shadow: 1px 1px 30px 0px #ffffff;
}

@media (max-width: 768px) {
  .card {
    max-width: none;
    height: 21em;
  }
}

/**/
.mantenimiento-hero {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/fondo002.jpg');
}


.seccion-mantenimiento {
  display: flex;
  flex-direction: column; /* Cambia a column para dispositivos móviles */
  align-items: center;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;

}

.seccion-mantenimiento .texto {
  width: 100%; /* Ocupa todo el ancho en dispositivos pequeños */
  padding: 20px;
  color: #000;
}

.seccion-mantenimiento .imagen {
  width: 100%; /* Ocupa todo el ancho en dispositivos pequeños */
  padding: 20px;
}

.seccion-mantenimiento img {
  max-width: 90%;
  height: auto;
  display: block;
  border-radius: 20px;
  margin: 0;
  border: 2px solid #ffffff;
  margin-bottom: 65px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.555);
}

.seccion-mantenimiento h2 {
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
}

.seccion-mantenimiento p {
  font-weight: 500;
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #79bcff;
}

.seccion-mantenimiento ul {
  font-weight: 500;
  list-style: disc;
  padding-left: 20px;
  color: #ffffff;
  font-size: 1.1em;
}

.seccion-mantenimiento ul li {
  margin-bottom: 5px;
}

.seccion-mantenimiento a {
  color: #eef7ff;
  text-decoration: none;
}

.seccion-mantenimiento a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .seccion-mantenimiento {
    flex-direction: row; /* Cambia a row en pantallas más grandes */
  }

  .seccion-mantenimiento .texto {
    width: 60%;
  }

  .seccion-mantenimiento .imagen {
    width: 40%;
  }
}




/**/
.contact-hero {
  display: flex;
  position: relative;
  background-image: url('../img/fondocuadros.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 150px 0;
  border-bottom: 2px solid rgb(0, 0, 0);
}


.contact-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}


.visit-text {
  text-align: center;
  margin-bottom: 20px;
}

.visit-text p {
  font-family: "Anton", Sans-serif;
  font-size: 4em;
  color: #01063e;
  margin-top: -100px;
  margin-bottom: 220px;
}

@media screen and (max-width: 768px) {
  .contact-hero {
    width: 100%;
    padding: 100px 0;
  }

  .contact-content {
    width: 100%;
    height: auto;
    padding: 0 20px;
    margin-left: 0;
  }

  .contact-content h4 {
    font-size: 36px;
    text-align: center;
    margin-left: 0;
  }

  .contact-content p {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: left;
  }

  .visit-text p {
    text-align: center;
    font-size: 3rem;
    margin-top: -65px;
    margin-bottom: 11rem;
  }
}

.custom-container {
  display: flex;
  width: 100%;
  height: 600px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.555);
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  margin-top: -11rem;
  margin-left: 0;
}

.custom-contact-info {
  background-color: #000000;
  color: white;
  padding: 45px;
  width: 45%;
  box-sizing: border-box;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.custom-title {
  font-size: 2.8em;
  margin-bottom: 5px;
  margin-top: 0em;
}

.custom-subtitle {
  margin: 0;
  font-size: 1.5em;
  margin-bottom: 50px;
}

.custom-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.custom-icon {
  font-size: 36px;
  margin-right: 20px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90a0ff;
}

.custom-info h3 {
  margin: 0;
  font-size: 1.5em;
  text-align: left;
}

.custom-info p {
  margin: 5px 0 0;
  font-size: 1.1em;
  text-align: left;
}

.custom-map-image-container {
  width: 55%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.custom-map {
  flex: 1;
  height: 300px;
}

.custom-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-top-right-radius: 10px;
}

.custom-image {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f4f4;
  border-bottom-right-radius: 10px;
  padding: 10px;
}

.custom-image img {
  max-width: 100%;
  height: 280px;
  border-radius: 10px;
  border: 3px solid #000000;
}

.custom-social-icons {
  display: flex;
  justify-content: center;
  margin-top: 2px;
}

.custom-social-icons a {
  font-size: 45px;
  margin: 0 20px;
  transition: all 0.3s ease;
  border-radius: 100px;
  width: 50px;
  height: 59px;
}

.custom-social-icons a:hover {
  transform: scale(1.2);
}

.custom-social-icons a.facebook {
  color: #006eff;
}

.custom-social-icons a.instagram {
  color: #e4405f;
}

.custom-social-icons a.tiktok {
  color: #ffffff;
}

@media (max-width: 768px) {
  .custom-container {
    width: 100%;
    height: auto;
    flex-direction: column;
    margin-top: -10rem;
    margin-left: 0;
  }

  .custom-contact-info {
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 10px 10px 0 0;
  }

  .custom-map-image-container {
    width: 100%;
  }

  .custom-map {
    height: 250px;
  }

  .custom-image {
    height: 150px;
  }

  .custom-image img {
    height: auto;
    width: 100%;
  }

  .custom-title {
    font-size: 2rem;
  }

  .custom-subtitle {
    font-size: 1rem;
  }

  .custom-info h3 {
    font-size: 1rem;
  }

  .custom-info p {
    font-size: 1rem;
  }

  .custom-social-icons {
    margin-top: 0;
  }
}

/**/


.galery-hero {
  display: flex;
  position: relative;
  background-image: url('../img/fondocuadros.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 1px 0;
}

.galery-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}


@media (max-width: 768px) {
  .galery-content {
    padding: 0 20px;
    height: auto;
  }
}

/**/


h6 {
  margin-top: 35px;
  margin-bottom: 35px;
  font-size: 50px;
  font-family: "Anton", sans-serif;
  color: #01063e;
}


@media (max-width: 768px) {
  h6 {
    font-size: 2.5rem;
  }
}

.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 70px;
  height: 70px;
  background-color: rgb(0, 189, 0);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon {
  font-size: 53px;
  color: white;
  transition: color 0.3s ease;
}

.whatsapp-icon:hover {
  color: lightgray;
}

/**/



/*carrusel*/

.scroller {
  max-width: 900px;
  overflow: hidden;
}

.scroller__inner {
  padding-block: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-animated="true"] {
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 40s;
}

@keyframes scroll {
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}


.carrusel {
  display: grid;
  place-content: center;
  font-family: system-ui;
  font-size: 1.125rem;
}

.tag-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
  display: flex;
}

.tag-list li {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eceff133;
  border-radius: 0.5rem;
}

.tag-list li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}
