/* Estilos generales */
html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 37px; /* Para compensar la navbar fija */
}

.brand-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem; /* Ajusta según prefieras */
    font-weight: 600;
}

.nuevo{
    color: #66BB6A;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem; /* Ajusta según prefieras */
    font-weight: 600;
}

:root {
    --color-primario: #1A237E;
    --color-secundario: #ECEFF1;
    --color-acento-verde: #66BB6A;
    --color-acento-naranja: #FFA726;
    --color-texto: #212121;
    --color-fondo: #FFFFFF;
}

.servicio-box {
  height: 250px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.btn-custom {
  background-color: var(--color-texto);
  color: white;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-custom:hover {
  background-color: var(--color-acento-verde);
  transform: scale(1.05);
}

.servicio-box:hover {
  transform: scale(1.02);
}

.bg-comprar {
  background-image: linear-gradient(rgba(13, 28, 50, 0.75), rgba(13, 28, 50, 0.75)),
                    url('../assets/portada/comprar02.png'); /* Cambia la URL */
}

.bg-rentar {
  background-image: linear-gradient(rgba(255, 87, 87, 0.75), rgba(255, 87, 87, 0.75)),
                    url('../assets/portada/arrendar02.jpeg'); /* Cambia la URL */
}


.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/portada/inicio05.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
}

/* Cards de propiedades */
.property-card {
  border-radius: 0.5rem;
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.property-card:hover {
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}
.property-card img {
    height: 200px;
    object-fit: cover;
}
.property-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-acento-verde);
}


.property-card .list-inline-item {
  margin-bottom: 0.5rem;
}


/* Botones */
.btn-primary {
    background-color: #212121;
    border-color: #212121;
}
.btn-primary:hover {
    background-color: #66BB6A;
    border-color: #66BB6A;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

.servicio-box h3 {
  transition: color 0.3s ease;
}


/* Estilo base para ambos botones */
.whatsapp-float {
  align-items: center;
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  position: fixed;
  right: 20px;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: white;
}

/* Estilo específico para el botón de WhatsApp */
.whatsapp-float {
  background-color: #25d366; /* Color de WhatsApp */
  height: 60px;
  width: 60px;
}

/* Efecto hover para ambos botones */
.whatsapp-float:hover,
.phone-float:hover {
  transform: scale(1.1);
}

/* Estilo para la imagen de WhatsApp */
.whatsapp-float img {
  height: 40px;
  width: 40px;
}

/*Detalles propiedades */

.carousel-inner {
  width: 100%;
  height: 400px; /* Ajusta el alto deseado */
  background-color: #000; /* Para que no se note si la imagen no llena */
}

.carousel-item {
  height: 400px; /* o 300px si quieres más grande */
}

@media (min-width: 768px) {
  .carousel-item {
    height: 400px;
  }
}

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


/*boton volver*/
.btn-back {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--color-acento-verde);
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px; 
}

.btn-back:hover {
  background-color: #57a25a;
  transform: translateY(-2px);
}

