@charset "UTF-8";


/* HEADER STYLE */
.brand{display:flex;align-items:center;gap:10px}
.brand .logo{font-weight:700;font-size:20px; color: white}
.brand .logo span{color:var(--bs-blue)}
.avatar{width:50px;height:50px;border-radius:999px;background:linear-gradient(135deg,#fff,#e9ecef);display:flex;align-items:center;justify-content:center;color:#212529;font-weight:700;font-size:20px;}
.avatar_perfil {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00bfa6 0%, #00e0c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0, 191, 166, 0.35);
}
/* HEADER STYLE FIN */

/* BUSCADOR STYLE */

.bg-buscador {
  background-image:linear-gradient(180deg,rgba(13,27,42,0.7),rgba(13,27,42,0.7)),url('../../imgs/portada.webp');
  background-size: cover;
  background-position: center;
  padding:80px 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.maquina-escribir {
  /* Ancho inicial 0 para que no se vea hasta que el texto aparezca */
  width: 0;
  overflow: hidden;
  color: white;
  font-size:44px;
  font-weight:800;
  line-height:1.02;
  margin:0 0 18px;
  border-right: 0.15em solid #00B1B3; /* El cursor de la máquina de escribir */
  animation:
    escribir 3s steps(30, end) forwards,
    parpadear 0.75s step-end infinite;
}
/* La animación para el cursor */
@keyframes parpadear {
  from, to { border-color: transparent }
  50% { border-color: #00B1B3; }
}
/* La animación para el texto */
@keyframes escribir {
  from { width: 0 }
  to { width: 100% }
}

/* BUSCADOR STYLE FIN */

/* CARDS */

.price{font-size:20px;font-weight:800;margin-top:auto}
.card-title{font-weight:700;margin:0 0 8px}
.meta{color:var(--muted);font-size:14px;margin-bottom:14px}

/* ==== PROPIEDADES CARDS ==== */

card-link { position: relative; display: block; overflow: hidden; }

.card-link img {
  display: block; width: 100%; height: 225px; object-fit: cover;
  transition: transform .3s ease;
}
.card-link:hover img { transform: scale(1.05); }

.card-overlay{
  position:absolute; inset:0;
  background:rgba(0,177,179,.5);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .3s ease;
  pointer-events:none;   /* clave */
  z-index:1;
}
.card-link:hover .card-overlay{ opacity:1; }
.card-overlay .btn{ background:#fff; color:#00B1B3; font-weight:700; border:none; pointer-events:none; }

.btn-favorito{ z-index:10; } /* por encima del overlay */


.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}
.btn-favorito:hover {
  cursor: pointer;
}

.favorito-icon {
  background-color: rgba(255, 255, 255, 0.8); /* Blanco translúcido */
  border-radius: 50%;                  /* Círculo */
  padding: 10px;                       /* Espaciado interno */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background-color 0.3s;
}

.favorito-icon i {
  font-size: 20px;
  color: #e74c3c; /* Rojo corazón, puedes ajustarlo */
}

.favorito-icon:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.carousel-item img {
  height: 470px;
  object-fit: cover;
  width: 100%;
}


.property-card {
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-link {
  position: relative;
  display: block;
}

.property-link img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 177, 179, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.property-link:hover .overlay {
  opacity: 1;
}

.price {
  font-weight: bold;
  color: #00B1B3;
  font-size: 1.1em;
}


/* Cambiar color de las flechas del Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: #FF6B6B !important; /* aplica el color al SVG */
  fill: #FF6B6B !important;  /* asegura que el relleno se cambie */

}

/* Opcional: cambiar color cuando se pasa el mouse */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #008080 !important;
  fill: #008080 !important;
}


.hero {
  background: linear-gradient(165deg, #00B1B3, #FF6B6B);
  color: white;
  padding: 80px 20px;
  text-align: center;
}
.icon-box {
  font-size: 2rem;
  color: #FF6B6B;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  display: inline-block;
  position: relative;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-title .accent-bar {
  display: inline-block;
  width: 5px;
  height: 25px;
  background-color: #00bfa6; /* tu color principal */
  border-radius: 4px;
  margin-right: 10px;
}

.section-subtitle {
  color: #555;
  font-size: 1rem;
  margin-top: 0.25rem;
  margin-left: auto;
  margin-right: auto;
}
