/*

	Theme Name: TPS - 2025
	Theme URL: http://www.visualko.com/
	Description: Sitio web para la empresa constructora TPS.
	Author: Ernesto Schulz
	Author URI: http://www.visualko.com/
	Version: 1.0

*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --negro: #000;
  --blanco: #fff;
  --claro: #f5f5f5;
  --oscuro: #33393b;
  --gris: #e5e4e2;
  --naranja: #f5ad00;

  --principal: #e6232d;
  --secundario: #f15e19;
  --tercero: #f88e36;


  --textoClaro: #DADADA;
  --textoGris: #9D9D9D;
  --textoOscuro: #575757;
  --textoBlanco: #F2F2F2;

}




html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--blanco);
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  color: var(--negro);
  line-height: 1.66;
  padding-top: 80px;
}


.centrada {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

h1,
h2,
h3,
h4 {}

h1.titulo {
  color: var(--principal);
  font-weight: 800;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  letter-spacing: 0;
  font-weight: 300;
  margin-bottom: 25px;
}

h2.titulo {
  color: var(--principal);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 300;
}

h3.titulo {
  color: var(--principal);
  font-weight: 800;
}

a {
  color: var(--principal);
  text-decoration: none;
}

a:hover {
  color: var(--tercero);
  text-decoration: none;
}

.img-circular {
  width: auto;
  /* Mantiene el tamaño original */
  height: auto;
  /* Asegura que siga siendo un cuadrado */
  border-radius: 50%;
  /* Lo convierte en un círculo */
  object-fit: cover;
  /* Asegura que la imagen se recorte bien */
}

.clear {
  clear: both;
}

.hl {
  clear: both;
  height: auto;
  overflow: hidden;
}

.hlb {
  clear: both;
  height: 1px;
  overflow: hidden;
  background: var(--principal);
  margin-top: 10px;
  margin-bottom: 10px;
}

.hl5 {
  clear: both;
  height: 5px;
}

.hl10 {
  clear: both;
  height: 10px;
}

.hl25 {
  clear: both;
  height: 25px;
}

.hl30 {
  clear: both;
  height: 30px;
}

.hl50 {
  clear: both;
  height: 50px;
}

.hl100 {
  clear: both;
  height: 100px;
}

.hl150 {
  clear: both;
  height: 150px;
}


.accordion-collapse {
  transition: all 0.5s ease; /* Suaviza apertura/cierre */
}

.accordion-body {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.accordion-button {
  color: #333;
  background-color: #fff;
  /* border: 1px solid #f15e19; */
}

.accordion-button:focus {
  /*  box-shadow: 0 0 0 0.25rem rgba(241, 94, 25, 0.5); */
}

.accordion-body {
  background-color: #fff;
  /*border-left: 2px solid #f15e19;*/
}



.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background: #e6232d;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: #e6232d;
  border-radius: 50%;
  border: 3px solid #fff;
  z-index: 1;
}

.timeline-item.left::before {
  left: calc(50% - 10px);
}

.timeline-item.right::before {
  left: calc(50% - 10px);
}

.timeline-inner {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .timeline-inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .timeline-item.left .timeline-inner {
    flex-direction: row;
  }

  .timeline-item.right .timeline-inner {
    flex-direction: row-reverse;
  }

  .timeline-item.left .timeline-content {
    text-align: left;
  }

  .timeline-item.right .timeline-content {
    text-align: right;
  }
}

.timeline-date {
  font-weight: bold;
  background: #e6232d;
  color: white;
  padding: 6px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 10px;
}

.timeline-content {
  border-radius: 8px;
  padding: 20px;

}




.bb {
  padding-bottom: 10px;
  border-bottom: solid 1px #ccc;
  margin-bottom: 10px;
}

.bt {
  padding-top: 10px;
  border-top: solid 1px #ccc;
  margin-top: 10px;
}

.br {
  padding-right: 10px;
  border-right: solid 1px #ccc;
  margin-right: 10px;
}

.bl {
  padding-left: 10px;
  border-left: solid 1px #ccc;
  margin-left: 10px;
}

.p0 {
  padding: 0;
}

.pl0 {
  padding-left: 0
}

.pr0 {
  padding-right: 0
}

.m0 {
  margin: 0;
}

.m10 {
  margin: 10px 0;
}

.p50 {
  padding: 50px 0;
}

.p25 {
  padding-top: 25px;
  padding-bottom: 25px
}

.p100 {
  padding: 100px 0;
}

.pbox {
  padding: 50px;
}



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

.img-circular {
  border-radius: 50%;
}

.center {
  margin: auto 0;
}

.btn-principal {
  background-color: var(--principal);
  color: var(--claro);
}

.btn-principal:hover {
  background-color: var(--oscuro);
  color: var(--claro);
}

.btn-secundario {
  background-color: var(--principal);
  color: var(--claro);
  box-shadow: 0px 0px 5px var(--principal);
}

.btn-secundario:hover {
  background-color: var(--principal);
  box-shadow: 0px 0px 20px var(--principal);
  color: var(--claro);
}

.btn-oscuro {
  background-color: var(--principal);
  color: var(--claro);
}

.btn-oscuro:hover {
  background-color: var(--oscuro);
  color: var(--claro);
}

.google-maps {
  position: relative;
  padding-bottom: 540px; // This is the aspect ratio
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 540px !important;
  filter: grayscale(100%);
}

.formulario {
  padding: 50px 20px;
}


.italica {
  font-style: italic;
}

.centrado {
  text-align: center
}

.alignRight {
  text-align: right
}

.mayuscula {
  text-transform: uppercase;
}

/*
.naranja{color:rgba(209,132,86,1)}
.bg-naranja{background-color:rgba(209,132,86,1)}
.blanco{color:rgba(255,255,255,1)}
.bg-blanco{background-color:rgba(255,255,255,1)}
.azul{color:rgba(120,148,204,1)}
.bg-azul{background:rgba(120,148,204,1)}
.gris{color:rgba(223,223,220.1)}
.bg-gris{background-color:rgba(223,223,220,1)}
.negro{color:rgba(44,44,44,1)}
.bg-negro{background-color:rgba(44,44,44,1)}
*/

.weight200 {
  font-weight: 200
}

.weight300 {
  font-weight: 300
}

.weight400 {
  font-weight: 400
}

.weight700 {
  font-weight: 700
}

.weight800 {
  font-weight: 800
}

.weight900 {
  font-weight: 900
}

.oscuro {
  background-color: var(--oscuro);
}

.textoOscuro {
  color: var(--oscuro);
}

.claro {
  background-color: var(--claro);
}

.textoClaro {
  color: var(--claro);
}

.texto-principal {
  color: var(--principal);
}

.texto-secundario {
  color: var(--principal);
}

.bgBlanco {
  background-color: var(--blanco);
}

.textoPrincipal {
  color: var(--principal);
}

.textoSecundario {
  color: var(--secundario);
}

/****************** CONTACTO footer --------------------//*/

.contact-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.contact-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: white;
  transition: 0.3s;
}

.whatsapp {
  background-color: var(--principal);
}

.email {
  background-color: var(--principal);
}

.phone {
  background-color: var(--principal);
}

.contact-buttons a:hover {
  opacity: 0.8;
}

/********************/


.formulario-contacto {
  background-color: var(--blanco);
  padding: 2rem;
  border-radius: 1rem;
}

.formulario-contacto .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.formulario-contacto .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.75rem;
  font-size: 1rem;
}

.formulario-contacto .btn-primary {
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.formulario-contacto .btn-primary:hover {
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
}


/********   navegacion **********/


.navbar {
  background: var(--blanco);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.navbar a {
  color: var(--principal);
}

.navbar-blanco {
  background: var(--blanco);
}

.navbar-toggler {
  background-color: var(--principal);
  color: var(--blanco);
  border: 1px solid var(--blanco);
}

.navbar-toggler-icon {
  background-image: none;
  /* Quitamos el ícono por defecto */
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  /* Espaciado entre líneas */
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon .line {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
}


a.navbar-brand img {
  height: 60px;
  width: auto;
}

/* Elimina transición vertical que hace Bootstrap por defecto */
.collapsing {
  transition: none !important;
  height: auto !important;
}

/* Estado base oculto */
.navbar-collapse {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

/* Menú full screen rojo */
.navbar-collapse.show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
  display: flex !important;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column-reverse;
  padding-top: 10%;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Centrado del menú */
ul.menu-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

ul.menu-principal li {
  float: none;
  margin: 15px 0;
  list-style: none;
}

ul.menu-principal li a {
  color: white;
  font-size: 2rem;
  text-transform: uppercase;
}


/* Botón de menú personalizado visible siempre */
.navbar-toggler {
  display: block;
  z-index: 10000;
  position: relative;
}



header .logo {
  float: left;
  margin-top: 23px;
  display: block;
  height: 60px !important;
  width: auto;
  line-height: auto;
}

header .logo a {
  margin: 0;
  padding: 0;
}

.texto-logo {
  color: var(--principal);
  font-weight: 800;
  font-size: 2rem;
  text-shadow: 2px 2px 2px var(--negro);
}

.hero {
  width: 100%;
  height: 80vh;
  position: relative;
  text-align: left;
  overflow: hidden;
}


#owl-contacto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#owl-contacto .item img {
  height: 100vh;
  object-fit: cover;
  width: 100%;
}



.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  /* Fondo negro con 50% de opacidad */
  z-index: 0;
  /* Debajo de los textos, pero sobre el video */
}

.textos-hero {
  position: relative;
  z-index: 1;
  /* Sobre el overlay */
  height: 100%;
  /* display: flex;*/
  align-items: center;
  justify-content: left;
  text-align: left;
}
.hero-text{
  padding-top:15%;
}

.hero-text h2 {
  font-size: 3rem;
  color: var(--blanco);
  font-weight: 200;

}

.hero-text p {
  font-size: 1.2rem;
  color: var(--blanco);
  font-weight: 400;

}

.hero-text span {
  font-size: 1rem;
  color: var(--blanco);
  font-style: italic;
}

@media screen and (max-width: 992px) {
  .hero-text h2 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}


.hero { position: relative; height: 100vh; overflow: hidden; }

/* Contenedor del “fondo” de YouTube */
.hero-youtube {
  position: absolute;
  inset: 0;
  z-index: -1; /* detrás de overlay + textos */
}

/* Truco para que el iframe cubra como background (16:9) */
.hero-yt-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* para cubrir el viewport respetando 16:9 */
  width: 100vw;
  height: 56.25vw;          /* 100 / (16/9) */
  min-height: 100vh;
  min-width: 177.78vh;      /* 100 * (16/9) */
  transform: translate(-50%, -50%);
  pointer-events: none;     /* que no capture clics del usuario */
}

/* Podés mantener tu .video-overlay y .textos-hero tal cual */
.video-overlay {
  position: absolute; inset: 0;
  background-color: rgba(0,0,0,0.0);
  z-index: 0;
}
.textos-hero { position: relative; z-index: 1; height: 100%; }


.seccion {}

#home {
  background: url(img/portada.jpg) no-repeat center center;
  background-size: cover;
}

#servicios {
  background: var(--claro);
}


#servicios-topframe {
  background: url(img/servicios-topframe.jpg) no-repeat center center;
  background-size: cover;
}

#contacto-topframe {
  background: url(img/portada.jpg) no-repeat center center;
  background-size: cover;
}


.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}



#nosotros {}

ul#summary {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* Espacio entre cada elemento */
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 50px;
}

ul#summary li {
  display: flex;
  align-items: center;
  /* Centrar verticalmente */
  gap: 20px;
  /* Espacio entre el círculo y el texto */
  position: relative;
  /* Necesario para aplicar el desplazamiento */
}

ul#summary li:nth-child(2) {
  left: 25px;
  /* Desplazamiento a la derecha */
}

ul#summary li:nth-child(3) {
  left: 50px;
  /* Desplazamiento a la derecha */
}

ul#summary li span {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--principal);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  /* Mantiene el tamaño del círculo */
}

ul#summary li p {
  color: var(--principal);
  font-weight: 800;
  font-size: 1rem;
  margin: 0;
}






.seccion {
  padding-top: 50px;
  padding-bottom: 50px;
}

.titulo-servicio {
  margin-top: 20px;
  margin-bottom: 20px;
}


#obras {}

.obra {}

.obra a img {
  width: 100%;
  height: auto;
}

.obra-overlay-wrapper {
  position: relative;
  overflow: hidden;
}

.obra-overlay-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.obra-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 35, 45, 0.6); /* fondo oscuro semitransparente */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.obra-overlay-wrapper:hover .obra-overlay {
  opacity: 1;
}

.obra-title {
  color: #fff;
  font-size: 1rem;
  text-align: center;
  padding: 0 10px;
}


.obra-card {
  position: relative;
  cursor: pointer;
}

.overlay-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 35, 45, 0.6); /* fondo oscuro semitransparente */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.obra-card:hover .overlay-title {
  opacity: 1;
}


h4.obra,
h4.partner-title,
h4.coaches {
  color: var(--principal);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0;
  margin: 20px 0;
}

.ficha h1 {
  color: var(--principal);
  font-weight: 800;
  margin-bottom: 50px;
}

#banner-1 {
  background: #e6232d;
  background: linear-gradient(90deg, #e6232d 0%, #c5121b 100%);
  color: var(--blanco);
  padding-top: 50px;
  padding-bottom: 50px;
  text-transform: uppercase;
  font-weight: 800;
}

#contacto {
  background: #f2f2f2;
  padding-top: 30px;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

#clientes h2 {
  color: var(--blanco);
}

#logo-clientes {
  background: var(--blanco);
}

#logo-clientes img {}

#footer {
  background: #1d2d36;
  color: var(--blanco);
}

.col-footer {}

.col-footer p {}

.col-footer p a {
  text-decoration: none;
  color: var(--principal)
}

.col-footer ul {
  margin: 0;
  padding: 0;
}

.col-footer ul li {
  list-style: none;
}

.col-footer ul li a {
  text-decoration: none;
  color: var(--texto-gris)
}

.titulo-col-footer {
  color: var(--principal);
  text-transform: uppercase;
  font-weight: 600;
}

.after-footer {
  margin-top: 50px;
  background: var(--principal);
  padding-top: 20px;
  padding-bottom: 20px;
}



/*****************************/
.video-container {
  display: flex;
  justify-content: space-between;

}

.video-item {
  position: relative;
  width: 25%;
  height: auto;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 165, 158, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .overlay {
  opacity: 1;
}

.mobile-view .item {
  position: relative;
}

.mobile-view .item img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-view .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(76, 165, 158, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-view .item:hover .overlay {
  opacity: 1;
}

/* En móviles, ocultar el video y mostrar la imagen de fondo */
/* Ocultar la versión de escritorio en móviles */
@media (max-width: 768px) {
  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }
}

/* Ocultar la versión móvil en escritorio */
@media (min-width: 769px) {
  .desktop-view {
    display: flex;
  }

  .mobile-view {
    display: none;
  }
}
