/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  text-decoration: none;
  list-style-type: none;
  font-family: "Oswald", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* Cierra estilos generales */

/* Navbar y Menú*/
.navbar {
  width: 100%;
  height: 8rem;
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: -8rem;
  padding: 3rem;
  z-index: 10;
  animation: animarNavbar 1s 0.5s forwards;
  transition: height 0.5s;
}

/* Para funcionalidad menu en JS */
.navbar.change {
  height: 100vh;
}

@keyframes animarNavbar {
  0% {
    top: -8rem;
  }

  100% {
    top: 0;
  }
}

.navbar-logo {
  position: absolute;
  top: 1.5rem;
  left: 4rem;
}

.navbar-logo a {
  font-family: "Martel Sans", sans-serif;
  font-size: 2.5rem;
  color: #eee;
  letter-spacing: 0.1rem;
}

.navbar-logo span {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ad580e;
  font-family: "Martel Sans", sans-serif;
}

.menu {
  width: 4rem;
  height: 4rem;
  position: fixed;
  z-index: 500;
  top: 2rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  cursor: pointer;
}

.line {
  width: 100%;
  height: 0.2rem;
  background-color: #eee;
  transition: transform 0.3s;
}

.line-1 {
  width: 50%;
}

.line-3 {
  width: 50%;
  margin-left: auto;
}

.change .line-1 {
  transform: translate(100%, 1rem) rotate(-35deg);
  transform-origin: right;
}

.change .line-3 {
  transform: translateY(-1rem) rotate(35deg);
  transform-origin: right;
}

.nav-list {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.change .nav-list {
  opacity: 1;
  visibility: visible;
  transform: all 0.7s 0.5s;
}

.nav-link {
  font-family: "Oswald", sans-serif;
  font-size: 4rem;
  letter-spacing: 0.3rem;
  color: white;
  margin: 1rem 0;
  transition: color 0.4s;
}

.nav-link:hover {
  color: #9e0e09;
}

/* Cierra Navbar y menú */

/* Section 1 */
.section-1 {
  width: 100%;
  height: 100vh;
  background: url("../img/fondo-header.jpg") no-repeat;
  background-size: cover;
}

.banner {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.banner-heading {
  height: 20rem;
  margin-bottom: 4rem;
  perspective: 50rem;
  overflow: hidden;
}

.banner-heading span {
  font-family: "Oswald", sans-serif;
  font-size: 12rem;
  font-weight: 400;
  text-transform: uppercase;
  color: white;
  text-shadow: 0.3rem 0.3rem 0.6rem rgba(0, 0, 0, 0.5);
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  transform: translateZ(8rem);
  opacity: 0;
  letter-spacing: 3rem;
}

/* Usar animación para cada uno de los texto headings */
.heading-1 {
  animation: animarEncabezado 12s 3s infinite;
}

.heading-2 {
  animation: animarEncabezado 12s 6s infinite;
}

.heading-3 {
  animation: animarEncabezado 12s 9s infinite;
}

.heading-4 {
  animation: animarEncabezado 12s 12s infinite;
}

/* Animación span headings */
@keyframes animarEncabezado {
  0% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }

  3% {
    transform: translateZ(0);
    opacity: 1;
    letter-spacing: 1.5rem;
  }

  25% {
    transform: translateZ(0);
    opacity: 1;
    letter-spacing: 1.5rem;
  }

  28% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }

  100% {
    transform: translateZ(8rem);
    opacity: 0;
    letter-spacing: 3rem;
  }
}

.banner-paragraph {
  font-size: 4rem;
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  width: 30%;
  margin: 0 auto 6rem auto;
  padding: 1rem 0;
  box-shadow: 1rem 1rem 5rem rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  /* Para animación */
  animation: animacionSalida 1s 1.5s forwards;
}

@keyframes animacionSalida {
  0% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

.banner-btn {
  width: 30rem;
  height: 6rem;
  background: linear-gradient(to right, #9b0e0e, #7a1010);
  color: white;
  font-size: 2rem;
  text-transform: uppercase;
  border-radius: 3rem;
  border: 0.1rem solid #800505;
  box-shadow: 1rem 2rem 3rem rgba(0, 0, 0, 0.5);
  text-shadow: 0.6rem 0.3rem 0.2rem rgba(0, 0, 0, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  position: relative;
  overflow: hidden;
  animation: animacionSalida 1s 2s forwards;
}

.banner-btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, #fff, transparent);
  position: absolute;
  top: 0;
  left: -100%;
  transform: skewX(-30deg);
  transition: left 0.5s;
}

.banner-btn:hover::before {
  left: 100%;
}
/* Cierra Section 1 */

.section-2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 5rem 10rem;
  gap: 5rem;
  background-color: #222020;
  flex-wrap: wrap;
}

.video-wrapper {
  width: 35rem;
  height: 70rem;
  box-shadow: 3rem 3rem 6rem rgba(0, 0, 0, 0.7);
  overflow: hidden;
  flex-shrink: 0;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

.section-2-paragraph {
  max-width: 60rem;
  color: #eee;
  font-size: 2rem;
  line-height: 1.6;
  text-align: justify;
  border-top: 0.3rem double #aaa;
  border-bottom: 0.3rem double #aaa;
  padding: 2rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.6);
  background-color: transparent;
}

.section-2-paragraph i {
  font-size: 4rem;
  color: #bbb;
  display: block;
  margin-bottom: 1rem;
}

.section-2-paragraph i.fa-quote-right {
  text-align: right;
  margin-top: 1rem;
}


/* abre ventajas */

.section-ventajas {
  width: 100%;
  background-color: #1c1c1d;
  padding: 5rem 10rem;
  text-align: center;
}

.section-ventajas .section-heading {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.ventajas-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 80rem;
}

.ventajas-list li {
  color: #ccc;
  font-size: 1.8rem;
  margin: 1rem 0;
}
/* Cierra ventajas */

/* Section 3 */
.section-3 {
  width: 100%;
  min-height: 100vh;
  background-color: #03070e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
}

.section-heading {
  font-size: 5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 300;
}

.section-heading-line {
  width: 10rem;
  height: 0.3rem;
  background: linear-gradient(to right, #087285, #0da5d3);
  margin: 0 auto 3rem auto;
  border-radius: 1rem;
}

.pricing-cards-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-card {
  width: 28rem;
  height: 45rem;
  background-color: #181b1d;
  border-radius: 1rem;
  box-shadow: 2rem 2rem 6rem rgba(0, 0, 0, 0.7);
}

.pricing-card-front {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 2rem 2rem 2rem;
}

.pricing-card-heading {
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  width: 100%;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border-radius: 1rem 1rem 0 0;
}

.heading-free {
  background: linear-gradient(to right, #087285, #0da5d3);
}

.heading-basic {
  background: linear-gradient(to right, #946809, #bdba0e);
}

.heading-standard {
  background: linear-gradient(to right, #a10c14, #e23b3b);
}

.heading-diamante {
  background: linear-gradient(to right, #0b7e48, #3be286);
}

.pricing-card-price {
  font-family: "Martel Sans", sans-serif;
  font-size: 6rem;
  color: white;
  font-weight: 400;
  margin-bottom: 2rem;
}

.pricing-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing-card-list i {
  font-size: 1.8rem;
  width: 3rem;
  margin-right: 1rem;
}

.pricing-card-list span {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

.list-free {
  color: #0da5d3;
}

.list-basic {
  color: #bdba0e;
}

.list-standard {
  color: #e23b3b;
}

.list-diamante {
  color: #3be286;
}

.pricing-card-btn {
  width: 18rem;
  height: 5rem;
  margin-top: auto;
  border-radius: 3rem;
  border: none;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: white;
  text-shadow: 0.3rem 0.3rem 0.6rem rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.btn-free {
  background-color: #0da5d3;
}

.btn-basic {
  background-color: #bdba0e;
}

.btn-standard {
  background-color: #e23b3b;
}

.btn-diamante {
  background-color: #3be286;
}

/* Section 4 */
.section-4 {
  width: 100%;
  height: 100vh;
  background-color: #171718;
  display: flex;
  align-items: center;
  padding: 0 10rem;
}

.contact-wrapper {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-details {
  display: flex;
  margin-bottom: 8rem;
}

.contact-details div {
  width: 25rem;
  text-align: center;
  margin: 4rem;
}

.contact-details i {
  font-size: 5rem;
  color: #7a1010;
}

.contact-details h3 {
  font-family: "Martel Sans", sans-serif;
  font-size: 2.5rem;
  margin: 2rem 0;
  color: #ccc;
}

.contact-details p {
  font-size: 1.6rem;
  color: #ccc;
}

.contact-wrapper h1 {
  font-size: 4rem;
  color: #ccc;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.contact-form {
  width: 70rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-btn {
  display: inline-block;
  width: 25rem;
  height: 6rem;
  background-color: #7a1010;
  color: #eee;
  text-decoration: none;
  text-align: center;
  line-height: 6rem;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
  font-family: "Oswald", sans-serif;
}

.contact-btn:hover {
  background-color: #5f0303;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

/* Cierra Section 4 */

/* Footer */
.footer {
  width: 100%;
  height: 12rem;
  background-color: #202122;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10rem;
}

.footer-nav a {
  font-family: "Martel Sans", serif;
  font-size: 2rem;
  color: #ccc;
  margin-right: 3rem;
  letter-spacing: 0.1rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #862323;
}

.copyright {
  font-size: 2rem;
  color: #ddd;
}

/* Cierra Footer */

/* Galería de Screenshots */
.section-gallery {
  width: 100%;
  min-height: 100vh;
  background-color: #1a1a1b;
  padding: 5rem 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-gallery .section-heading {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.section-gallery .section-heading-line {
  width: 10rem;
  height: 0.3rem;
  background: linear-gradient(to right, #087285, #0da5d3);
  margin: 0 auto 5rem auto;
  border-radius: 1rem;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 3rem;
  max-width: 120rem;
  width: 100%;
}

.gallery-item {
  position: relative;
  height: 45rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-1rem);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  padding: 3rem 2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0da5d3;
}

.gallery-overlay p {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #ccc;
}

/* Responsive para galería */
@media (max-width: 1400px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .section-gallery {
    padding: 3rem 5rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  }
  
  .gallery-item {
    height: 35rem;
  }
}

@media (max-width: 500px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 30rem;
  }
}

/* Responsive */ /* <-- Aquí empieza la sección responsive existente */

/* Responsive */
@media (max-width: 1800px) {
  .video-wrapper {
    width: 32rem; /* Mantiene proporción vertical */
    height: 64rem; /* Más alto que ancho */
    right: 12%;
  }
  .section-2-paragraph {
    width: 85rem;
    bottom: 3rem;
    right: 12%;
  }
}

@media (max-width: 1650px) {
  html {
    font-size: 57%;
  }
  .video-wrapper {
    width: 30rem; /* Mantiene proporción vertical */
    height: 60rem; /* Más alto que ancho */
    right: 12%;
  }
  .section-2-paragraph {
    width: 80rem;
    bottom: 3rem;
    right: 12%;
  }
}

@media (max-width: 1500px) {
  .video-wrapper {
    width: 28rem; /* Mantiene proporción vertical */
    height: 56rem; /* Más alto que ancho */
    right: 12%;
  }
  .section-2-paragraph {
    width: 75rem;
    bottom: 3rem;
    right: 12%;
  }
  .pricing-cards-wrapper {
    width: 70%;
  }
}

@media (max-width: 1400px) {
  html {
    font-size: 45%;
  }

  .banner-heading span {
    font-size: 10rem;
  }

  .banner-paragraph {
    width: 45rem;
    font-size: 3rem;
  }

  .section-2,
  .section-3,
  .section-4 {
    flex-direction: column;
  }
  .section-2 {
    height: 120vh;
  }
  .video-wrapper {
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 25rem; /* Mantiene proporción vertical */
    height: 50rem; /* Más alto que ancho */
  }

  .pricing-card {
    width: 40rem;
    margin: 0 2rem;
  }

  .section-2-paragraph {
    left: 50%;
    top: 65%;
    transform: translateX(-50%);
    width: 80rem;
  }

  .section-3,
  .section-4 {
    height: auto;
  }

  .section-3 {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 40%;
  }
  .banner {
    top: 25%;
  }

  .banner-heading {
    height: 15rem;
  }

  .banner-heading span {
    font-size: 8rem;
  }

  .video-wrapper {
    width: 22rem; /* Mantiene proporción vertical */
    height: 44rem; /* Más alto que ancho */
  }

  .footer {
    padding: 0 5rem;
  }

  .footer-nav a {
    font-size: 1.8rem;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 35%;
  }

  .section-2 {
    height: 100vh;
  }

  .video-wrapper {
    width: 20rem; /* Mantiene proporción vertical */
    height: 40rem; /* Más alto que ancho */
  }

  .section-2-paragraph {
    width: 60rem;
  }

  .contact-details div {
    margin: 3rem 2rem;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
  }

  .footer-nav {
    margin-bottom: 2rem;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 30%;
  }

  .banner-heading span {
    font-size: 4.5rem;
    letter-spacing: 2rem;
  }

  .video-wrapper {
    width: 18rem; /* Mantiene proporción vertical */
    height: 36rem; /* Más alto que ancho */
  }

  .section-2-paragraph {
    width: 55rem;
  }

  .contact-details div {
    width: 18rem;
    margin: 3rem 1rem;
  }

  .contact-form {
    width: 60rem;
  }

  /* Animación span headings */
  @keyframes animarEncabezado {
    0% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }

    3% {
      transform: translateZ(0);
      opacity: 1;
      letter-spacing: 1rem;
    }

    25% {
      transform: translateZ(0);
      opacity: 1;
      letter-spacing: 1rem;
    }

    28% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }

    100% {
      transform: translateZ(8rem);
      opacity: 0;
      letter-spacing: 2rem;
    }
  }
}
/* Cierra Responsive */

