@import url("https://fonts.googleapis.com/css2?family=BBH+Sans+Bartle&family=Bebas+Neue&family=Michroma&family=Orbitron:wght@400..900&family=Oswald&display=swap");

@font-face {
  font-family: "hyperRace-extended-bold";
  src: url("../fonts/hyperspace-race-extended-bold.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "hyperRace-italic";
  src: url("../fonts/hyperspacerace-italic.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "hyperRace-extended";
  src: url("../fonts/hyperspace-race-extended.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "hyperRace-expanded";
  src: url("../fonts/hyperspace-race-expanded.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "hyperRace-extended-light";
  src: url("../fonts/hyperspace-race-extended-light.otf") format("opentype");
  font-display: swap;
}

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-fondo: rgb(253, 122, 75);
  --color-borde: rgb(20, 20, 95);
}

body {
  background-color: white;
  width: 100%;
}

.textInline {
  text-align: right;
}

.btnWsp1 {
  color: black;
  text-decoration: none;
  font-weight: lighter;
  font-size: 1rem;
  text-align: right;
  padding-right: 3rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
}

.mailto1 {
  color: black;
  text-decoration: none;
  font-weight: lighter;
  font-size: 1rem;
  text-align: right;
  padding-right: 10rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
}

/* <!-- zzzzzzzzzzzzz --> */
/* NAV */
#navbarNavDropdown {
  justify-content: center;
}

.nav-underline {
  gap: 2rem;
}

.nav-underline li a {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--color-borde);
}

.nav-underline li a:hover {
  color: var(--color-fondo);
  transform: translateY(-5px);
}

.imagen_logo {
  height: auto;
  width: 250px;
  object-fit: cover;
  margin-left: 10%;
  z-index: 1;
  overflow: hidden;
}

/* .nav-underline li ul li a {
  margin-right: 400px;
  display: flex;
  gap: 4rem;
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
} */

.nav-underline li ul li a {
  color: black;
  font-weight: lighter;
  /* text-decoration: none; */
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}

.nav-underline li ul li a:hover {
  color: var(--color-fondo);
  transform: translateY(-5px);
}
/* NAV */
/* <!-- zzzzzzzzzzzzz --> */

/* <!-- BANNER --> */

.section_main {
  top: 0;
  width: 100%;
  height: 700px;
  color: white;
  position: relative;
}

.banner {
  position: relative;
  width: 100%;
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
}

.banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 30;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.7);
  z-index: 40;
}

.text_banner {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  z-index: 40;
  text-align: center;
}

.text_banner h2 {
  color: white;
  font-family: "Michroma", "Arial", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.text_banner span, .text_banner h1 {
  color: white;
  text-decoration-line: underline;
  text-decoration-color: skyblue;
  font-family: "hyperRace-extended-light", "Orbitron", "Arial", sans-serif;
  font-optical-sizing: auto;
  font-weight: 5000;
  font-style: normal;
}

.text_banner p {
  color: white;
  text-decoration-color: skyblue;
  font-family: "Michroma", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* <!-- FIN DE BANNER -- */

.cardMvv {
  position: relative;
  /* width: 100%; */
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  border-radius: 10px;
}

.cardMvv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.7);
  z-index: 40;
}

.text_cardMvv {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  z-index: 40;
  text-align: center;
}

.text_cardMvv h2 {
  color: var(--color-fondo);
  font-family: "Michroma", "Arial", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.text_cardMvv span {
  color: white;
  text-decoration-line: underline;
  text-decoration-color: skyblue;
  font-family: "hyperRace-extended-light", "Orbitron", "Arial", sans-serif;
  font-optical-sizing: auto;
  font-weight: 5000;
  font-style: normal;
}

.text_cardMvv p {
  color: white;
  text-decoration-color: skyblue;
  font-family: "Michroma", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  line-height: 35px;
}

/* SECTION DE SERVICIOS */

#column_services {
  display: block;
}

#carousel_services {
  display: none;
  /* Estado inicial: desplazado hacia abajo y transparente */
  opacity: 0;
  transform: translateY(30px);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1), opacity 800ms ease;
  will-change: transform, opacity;
}

/* Clase que se añade cuando el elemento entra en viewport */
#carousel_services.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.card-titulo h2 {
  color: orangered;
  justify-items: center;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 4rem;
}

.service {
  background-color: white;
  width: 500px;
  height: 500px;
  border-radius: 10px;
  position: relative;
  /* overflow: hidden; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-align: center;
  z-index: 1;
  align-content: center;
  opacity: 1;
}

.service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--color-borde);
}

.service img:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.button_overTitle {
  /* sitúa el botón sobre la imagen dentro de .service */
  position: absolute;
  bottom: -20px;
  left: 10px;
  width: calc(100% - 20px);
  background-color: var(--color-fondo);
  border: 2px solid var(--color-borde);
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 280;
  font-style: normal;
  font-size: 2rem;
  z-index: 5;
  display: block;
  text-align: center;
}

.button_overTitle2 {
  /* bottom: -20px; */
  /* left: 10px; */
  width: calc(100% - 20px);
  background-color: var(--color-fondo);
  border: 2px solid var(--color-borde);
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 280;
  font-style: normal;
  font-size: 2rem;
  z-index: 5;
  display: block;
  text-align: center;
}

/* ***FIN DE SERVICE*** */

.col img {
  width: 100%;
  height: 100%;
}

.multi_rows {
  margin: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1), opacity 800ms ease;
  will-change: transform, opacity;
  /* background-color: blue; */
}

.multi_rows.in-view {
  opacity: 1;
  transform: translateY(0);
}





.image_rows {
  height: 300px;
  background-repeat: no-repeat;
  object-fit: cover;
  overflow: hidden;
  position: relative;
}

.image_rows img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* overlay: elemento semitransparente sobre la imagen */
.image_rows::after {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: var(--color-fondo); /* color por defecto, ajustar aquí */
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.image_rows:hover::after,
.image_rows:focus-within::after {
  opacity: 0.75;
}

/* overlay-text: texto centrado sobre la imagen (opcional) */
.image_rows .overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 12;
}

.image_rows:hover .overlay-text,
.image_rows:focus-within .overlay-text {
  opacity: 1;
}

.image_rows:hover img,
.image_rows:focus-within img {
  background-color: var(--color-fondo);
  z-index: 10;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* colocar un fondo de color naranja encima del backgroung-image del div parallax */

/* .parallax {
  width: 500px;
  height: 500px;
  object-fit: cover;
  position: relative;
  z-index: 30;
  background-image: url("../img/Logo_grande.png");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */

/* .parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-fondo);
  z-index: 40;
  opacity: 0.6;
} */

.bannerWithour {
  background-color: skyblue;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background-image: url("../img/Logo_grande.png");
  background-color: skyblue;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bannerWithour::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-borde);
  z-index: 40;
  opacity: 0.9;
}

.work-image {
  position: relative;
  object-fit: cover;
  border-radius: 20%;
  overflow: hidden;
  margin: 0 auto;
  border-width: 50px;
  z-index: 100;
}

.work-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-radius: 50%;
  z-index: 1000;
}

.workList {
  position: relative;
  z-index: 100;
}

.workingText p {
  font-family: "hyperRace-italic", sans-serif;
  font-weight: 400;
  color: white;
  padding-top: 2rem;
}

/* .parallax:hover::after,
.parallax:focus-within::after {
  opacity: 0.75;
} */

/* Footer */
.icon_footer {
  display: flex;
  align-items: center;
  justify-content: left;
  padding-top: 15px;
}

/* Copyright Section */

.copyright {
  text-align: center;
  padding: 20px 0;
  background-color: #f1f1f1;
}

.copyright p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

/* <-----------------------------------------> */
/* PAGINA REBOBINADO */

.cardRewinded h5 {
  font-family: hyperRace-italic;
  color: var(--color-borde);
  font-weight: 800;
}

.cardRewinded li span {
  /* font-family: Arial, Helvetica, sans-serif; */
  color: black;
  /* font-weight: 800; */
}

.cardRewinded p {
  color: black;
}

.cardRewinded {
  border-color: var(--color-borde);
  border-width: 50;
}

.btn-wsp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}
.btn-wsp img {
  width: 30px;
  height: 30px;
}

.cardBeneficios ul li h4 {
  font-family: hyperRace-extended-bold;
  color: var(--color-borde);
  /* font-size: 20px; */
}

/********** FOOTER */

.footer {
  background-color: var(--color-borde);
}

.footer h2 {
  color: var(--color-fondo);
}

.footer i,
a {
  color: white;
}

@media screen and (max-width: 768px) {
  .banner {
    width: 100%;
    height: 400px;
  }

  .list-inline {
    display: none;
  }
  .text_banner {
    left: 0px;
  }

  .banner {
    height: 300px;
    width: 100vw;
  }

  .banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 100%;
    position: relative;
  }

  #column_services {
    display: none;
  }

  #carousel_services {
    display: block;
  }
  .cardMvv {
    height: 900px;
  }

  .footer {
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: var(--color-borde);
    padding: 0px;
  }

  .footer_division h4 {
    margin-bottom: 20px;
    font-size: 1.25rem;
  }

  .footer_division ul li {
    margin-bottom: 5px;
    font-size: 1rem;
    padding-top: 10px;
  }

  .imagen_logo-footer {
    padding: 0px;
    height: 50px;
    width: auto;
  }
}
