@import url(navbar.css);
@import url(fontawesome/all.css);
@import url(colors.css);

/* BANNER PRINCIPAL*/
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 75vh;
}
.banner-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(70%);
}
.banner-text {
  padding: 0 1rem;
}
.logo-banner {
  width: 25%;
}
.titulo-banner {
  font-size: 4rem;
}
.subtitulo-banner {
  font-size: 2.5rem;
}
.titulo-banner-2 {
  font-size: 3rem;
}
.subtitulo-banner-2 {
  font-size: 2rem;
}
/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-banner {
    height: 70vh;
  }
  .titulo-banner {
    font-size: 2.5rem;
  }
  .subtitulo-banner {
    font-size: 1.5rem;
  }
  .logo-banner {
    width: 40%;
  }
}
@media (max-width: 576px) {
  .hero-banner {
    height: 60vh;
  }
  .titulo-banner {
    font-size: 1.8rem;
  }
  .subtitulo-banner {
    font-size: 1.1rem;
  }
  .logo-banner {
    width: 55%;
  }
}

/* FONDO MODAL */
body.modal-open #contenido-principal {
  filter: blur(5px);
  transition: filter 0.4s ease-in-out;
}

/* Fondo oscuro detrás del modal */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.6) !important;
}


/* CARTAS DE PROYECTOS */
.proyecto-card {
  position: relative;
  cursor: pointer;
  border: 2px solid #000; 
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}
.proyecto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.proyecto-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  padding: 1rem;
  border-radius: inherit;
}
.proyecto-card:hover .overlay {
  opacity: 1;
}
.proyecto-card a.stretched-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}
.proyecto-card .overlay button {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.proyecto-card .overlay button:hover {
  background-color: #0dcaf0;
  color: #000;
}

/*PROYECTO*/
.banner-proyecto {
  margin-bottom: 2rem;
}

.banner-proyecto img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  filter: brightness(0.7);
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Clase personalizada para cambiar alineación en móvil */
.text-center-md {
  text-align: inherit;
}

@media (max-width: 768px) {
  .text-center-md {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .banner-proyecto img {
    height: 100%;
  }
  .banner-proyecto .display-1 {
    font-size: 2.5rem;
  }
  .banner-proyecto .display-4 {
    font-size: 1.5rem;
  }
}

.carousel-img,
  .imagen-fija {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }

  .carrusel-fijo {
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Agrega espacio vertical entre las filas */
  section .row + .row {
    margin-top: 60px; /* ajusta según tu gusto */
  }

.lote {
  transition: opacity 0.3s ease;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:auto;
}
.oculto {
  opacity:0;
  pointer-events:none;
}
.masterplan-container {
  position:relative;
  display:inline-block;
  width:100%;
}