@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #713696;
  --primary-color-dark: #2E2B41;
  --secondary-color: #713696;
  --secondary-color-dark: #0a0b0f;
  --text-light: #6b7280;
  --extra-light: #f8f7fd;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0; 
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
}

.section__header {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 3.5rem;
  color: var(--secondary-color-dark);
}

.section__description {
  margin-bottom: 2rem;
  color: var(--text-light);
  text-align: justify;
}

.btn {
  padding-top: 20px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  outline: none;
  border: none;
  border-radius: 5px;
  transition: 0.3s;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
}

img {
  width: 100%;
  display: flex;
}

.logo img {
  max-width: 70px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

/* .header {
  padding-block: 5rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("assets/header.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
} */

header {
  position: relative;
  width: 100%;
  height: 100vh; /* Asegura que el header ocupe toda la altura de la pantalla */
  overflow: hidden; /* Evita que el contenido se desborde */
  background-image: linear-gradient(rgba(0, 0, 0, 0.658), rgba(255, 255, 255, 0));
}
#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que el video cubra todo el espacio sin distorsionarse */
  z-index: -1;
}

@media(min-aspect-ratio: 16/9) {
  #background-video {
    height: 100%;
    top: auto;
  }
}




/* Estilos barra de desplazamiento ------------------------------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 12px; 
}

::-webkit-scrollbar-track {
  background: #f6f7ec; /* Color de fondo de la pista de desplazamiento */
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color); /* Color de la barra de desplazamiento */
  border-radius: 10px; 
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light); /* Color de la barra de desplazamiento al pasar el ratón */
}



nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: #713696;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(to bottom, rgb(255, 255, 255), #fff4ff);  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  color: var(--primary-color);
  transition: 0.3s;
  font-weight: 600;
}

.nav__links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.header__content {
  /* max-width: 600px; */
  width: 85%;
  position: absolute;
  color: var(--extra-light);
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

/* .header__content h1 {
  font-size: 5rem;
  line-height: 6rem;
} */

.header__btn{
  margin-top: 20px;
}

.banner__container {
  display: grid;
  grid-auto-rows: minmax(0, 350px);
}

.banner__card {
  padding: 5rem 2rem;
  display: grid;
  place-content: center;
}

.banner__card:nth-child(1) {
  background-color: var(--secondary-color);
}

.banner__card:nth-child(2) {
  background-color: var(--secondary-color-dark);
}

.banner__card h4 {
  max-width: 300px;
  margin: auto;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.banner__image img {
  height: 100%;
  object-fit: cover;
}

.experience__container {
  display: grid;
  gap: 2rem;
}

.experience__image img {
  max-width: 700px;
  margin: auto;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.experience__image img:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}


.service {
  background-color: var(--extra-light);
}

.service__container {
  text-align: center;
}

.service__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 2rem;
}

.service__card {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.075);
  border-radius: 10px;
  transition: 0.3s;
}
.service__card:hover{
  box-shadow: 0 4px 50px rgba(235, 232, 232, 0.384);
  transform: scale(1.05);
  transition: 0.6s;
}


.service__card img {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.service__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color-dark);
}

.service__card p {
  color: var(--text-light);
}

.customisation {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("assets/customisation.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.customisation__container {
  text-align: center;
}

.customisation__container :is(.section__header, .section__description) {
  max-width: 750px;
  margin: auto;
  color: var(--white);
}

.customisation__grid {
  margin-top: 4rem;
  display: grid;
  gap: 4rem 2rem;
}

.customisation__card h4 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
}

.customisation__card p {
  color: var(--white);
}

.price__container {
  text-align: center;
}

.price__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem 1rem;
}

.price__card {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
  border-top: 5px solid var(--extra-light);
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  transition: all 0.9s ease 0s;

}

.price__card:hover {
  border-color: var(--primary-color);
  background-color: var(--extra-light);
}

.price__card__ribbon {
  position: absolute;
  width: fit-content;
  top: 2rem;
  right: -4.5rem;
  transform: rotate(45deg);
  padding: 5px 5rem;
  font-size: 0.9rem;
  color: var(--white);
  background-color: var(--primary-color);
  transition: 0.3s;
}

.price__card:hover .price__card__ribbon {
  font-size: 1rem;
}

.price__card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color-dark);
}

.price__card h3 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--secondary-color-dark);
  transition: 0.3s;
}

.price__card h3 sup {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
}

.price__card:hover h3 {
  color: var(--primary-color);
}

.price__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.price__card .btn {
  margin-top: 1rem;
  min-width: 150px;
}

.contact {
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)); */
    /* url("assets/images/control.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; */
  background-color: #f8f7fd;
}
.contact__container {
  display: grid;
  gap: 2rem;
}

.contact .contact__container .contact__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* .contact__container img{
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

.contact__container :is(.section__header, .section__description) {
  color: var(--secondary-color-dark);
}

.contact__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__btns .btn:nth-child(1) {
  background-color: var(--primary-color);
  border: 2px solid var(--white);
}

.contact__btns .btn:nth-child(2) {
  color: var(--primary-color);
  background-color: var(--white);
  border: 2px solid var(--white);
}

.testimonial__container {
  text-align: center;
}

.swiper {
  width: 100%;
  margin-top: 4rem;
  padding-bottom: 4rem;
}

.testimonial__card {
  max-width: 600px;
  margin: auto;
}

.testimonial__card img {
  max-width: 100px;
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 100%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.testimonial__card p {
  margin-bottom: 1rem;
  color: var(--secondary-color-dark);
}

.testimonial__card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
}

.footer {
  background-color: #f8f7fd;
}

.subscribe__container {
  padding-bottom: 0;
  display: grid;
  gap: 2rem;
}

.subscribe__content .section__header {
  color: var(--white);
}

.subscribe__form form {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subscribe__form input {
  width: 100%;
  padding: 0.75rem 1rem;
  outline: none;
  border: none;
  border-radius: 5px;
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 2rem;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--extra-light);
  background-color: var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--extra-light);
  background-color: var(--secondary-color-dark);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__links a {
  color: var(--text-light);
  transition: 0.3s;
}

.footer__links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer__links p {
  color: var(--text-light);
}

.footer__links p span {
  font-weight: 500;
  color: var(--secondary-color-dark);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
  background-color: var(--secondary-color);
  text-align: center;
}
.footer__bar2 {
  padding: 1rem;
  font-size: 0.8rem;
  color: #12F7FF;
  font-weight: 600;
  font-size: 14px;
  background-color: var(--secondary-color);
  text-align: center;
}

.footer__bar2:hover {
  color: #12F7FF;
  text-decoration: underline;
}

.align {
  text-align: center;
}

img.visa {
  width: 380px;
  height: 60px;
}

.copyright {
  text-align: center;
  color: var(--secondary-color-dark);
  background-color: #F8F7FD;
  padding: 10px;
}

.custom {
  color: #09D0EF; /* Cambia este valor al color que desees */
}
.custom:hover {
  color: #0A84FF; /* Cambia este valor al color que desees */
  text-decoration: underline;
}

/* Burbuja de WhatsApp */
.whatsapp-burbuja {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  animation: modogoku 1.5s ease-in-out infinite; 
}

.whatsapp-burbuja::after {
  content: '1';
  position: absolute;
  top: 5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid white; /* Opcional: para agregar un borde blanco alrededor del círculo */
}

.burbuja{
  color: white;
  font-size: 30px;
}

@keyframes modogoku {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.whatsapp-burbuja img {
  width: 40px;
  height: 40px;
}

/* Ventana de mensaje simulado */
.mensage-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 250px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1001;
}

.mensage-header{
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #075E54;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  color: white;
}

.mensage-header img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.mensage-content {
  padding: 15px;
  color: #333;
}

.mensage-popup button {
  width: 100%;
  padding: 10px;
  background-color: #25D366;
  border: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: white;
  cursor: pointer;
  font-size: 16px;
}

.mensage-popup button:hover {
  background-color: #128C7E;
}



@media only screen and (max-width: 480px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 6rem;
  }

  .header__btn .btn {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
  }

  .experience__content{
    text-align: center;
  }

  .banner__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact__container{
    text-align: center;
  }
  
  .contact__btns {
    flex-direction: column;
  }
  .banner__image {
    grid-column: 1/3;
  }

  .service__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .price__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }
  .footer__socials {
    justify-content: center;
  }

  .footer__col:first-child {
    grid-column: 1/1;
  }

  .footer__links {
    text-align: center;
  }
  .footer__col {
    text-align: center;
  }

  .footer__bar {
    text-align: center;
  }

}

@media (width > 768px) {
  nav {
    padding: 5px 0;
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f7fd;
    padding:0 10px;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }


  .nav__bar {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent;
  }

  .header {
    padding-top: 0;
  }

  .header__content h1 {
    font-size: 6rem;
    line-height: 6rem;
    text-shadow: 5px 2px 2px var(--primary-color);
  }

  .header__content h2{
    font-size: 3rem;
    line-height: 2rem;
    color: var(--extra-light);
    text-shadow: 2px 2px 2px var(--primary-color);
  }

  .banner__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .banner__image {
    grid-column: 3/5;
  }

  .experience__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .service__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .customisation__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .price__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__content {
    grid-column: 2/3;
  }

  .subscribe__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__col:first-child {
    max-width: 400px;
  }
}

@media (width > 1024px) {
  .price__grid {
    gap: 2rem;
  }
}
