* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body { 
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

body{
    background-color: #e8efe8;
}


.logo {
    position: absolute;
    top: 20px; 
    right: 20px; 
    width: 100px; 
    height: auto; 
    z-index: 2; 
    transform: scale(1.4);
    filter: drop-shadow(2px 2px 2px rgba(11, 11, 11, 11)); 
}




/*busqueda*/
.container {
    max-width: 800px;
    
}

.search-input-box {
    width: 100%;
    background-color: #2f3640;
    border-radius: 5px;
    position: relative;
    color: #f5f6f4;
    opacity: 80%;
}

.search-input-box input {
    width: 43vw;
    border: none;
    outline: none;
    border-radius: 5px;
    height: 45px;
    padding: 0 60px 0 20px;
    font-size: 18px;
    opacity: 80%;
}

.icon {
    position: absolute;
    top: 12px;
    right: 25px;
    font-size: 22px;
    cursor: pointer;
    color: #666666;
}

/* Contenedor de sugerencias */
.container-suggestions {
    max-height: 280px;
    opacity: 0;
    pointer-events: none;
    padding: 0;
    overflow-y: auto;
}

.search-input-box.active .container-suggestions {
    opacity: 1;
    pointer-events: auto;
    padding: 10px 8px;
}

.search-input-box.active .container-suggestions li {
    display: block;
}

.container-suggestions li {
    list-style: none;
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
    display: none;
}

.container-suggestions li:hover{
    background-color: #414b57;
}







@media (max-width: 425px) { 
    .logo {
        position: absolute;
        top: 15%; 
        left: 50%; 
        transform: translate(-50%, -50%) scale(1.4); 
        right: auto; 
        filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0)); 
    }
}

.background-container {
    width: 100vw; 
    height: 100vh; 
    overflow: hidden; 



}

.background-image {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 


}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
  width: 100vw; 
    height: 100vh;
    background:  linear-gradient(to top, rgba(107, 142, 35, 0.26), transparent);
    z-index: 1; 
}

.seccion1 {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.seccion1 h1{
    font-size: 2rem;
     font-weight: 400;
     
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
}

.seccion1 header {
    position: relative;
    z-index: 1;

}

/* Estilos para los filtros */
.filtros {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: "Montserrat", sans-serif;
    opacity: 80%;
}

.filtros div {
    margin-right: 10px;
}

.filtros label {
    font-weight: bold;
    color: #2d2c2c; 

}

.filtros select, .filtros input[type="text"] {
    padding: 5px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    border-radius: 10px;
    border: none;
}


#buscar {
    padding: 8px 20px;
    font-size: 16px;
    background-color: #6b8e23;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    opacity: 95%;
}

#buscar:hover {
    background-color: green;
}

/* Estilos para los resultados de la búsqueda */
#resultados {
    /* Agrega estilos según necesites para mostrar los resultados de la búsqueda */
}


.seccion1 .frase{
    font-size: 6vh;
    padding: 15px;
    color: #F8F8FF;
}

@media screen and (max-width: 768px) {
    .seccion1 {
        align-items: center; 
        text-align: center; 
    }

    .filtros {
        flex-direction: column;
        align-items: center; 
        width: 80%;
        max-width: 400px; 
    }
    
    .filtros div {
        width: 100%; 
        margin-bottom: 10px; 
    }
    
    /* Define el mismo ancho para todos los elementos dentro de .filtros */
    .filtros select,
    .filtros input[type="text"],
    #buscar {
        width: 100%;
    }
}



.dp{
    font-size: 5vh;
    background: linear-gradient(to right, #6b8e23, #728e1a, #728e1a, #93ba35);
    color: white;
    width: 100%;
    text-align: center; 
    padding: 5px;
}

.cs{
     font-size: 6vh;
     background: linear-gradient(to right, #6b8e23, #728e1a, #728e1a, #93ba35);
     color: white;
     width: 100%;
     text-align: center; 
}

.contenedor h1{
    font-family: "Montserrat", sans-serif;
    font-weight: 420;
}

h2 {
    font-family: "Montserrat", sans-serif;
    color: #2d2c2c; 
}

p {
	font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #2d2c2c; 
}



.casas-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #e8efe8;
}


h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    color: #2d2c2c;
    font-weight: 400;
}

.contenedor h1::after {
    content: "."; 
    color: #2d2c2c; 
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start; 

}

.card {
    width: 30%; 
    border-radius: 10px;
    overflow: hidden;
    background-color: #e6e6e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(0.9);
    display: flex;
    flex-direction: column;
    margin: 20px;
}

@media screen and (max-width: 768px) {
    .card {
        width: 40%; 
    }
}

@media screen and (max-width: 576px) {
    .card {
        width: 80%; 
    }
}


.card:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover; 
}

.titulo-especifico {
    font-size: 1.64rem !important;
     white-space: nowrap;
      letter-spacing: -1px;
}

.card-info h2 {
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 500;
}


.card-info p {
    margin-bottom: 3px;
}

.numero-propiedad {
    color: #6b8e23; 
}


.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}


.boton-detalles {
    opacity: 0; /* Inicialmente oculto */
    position: absolute; /* Posición absoluta para centrar */
    top: 0; /* Extender desde la parte superior */
    left: 0; /* Extender desde la parte izquierda */
    width: 100%; /* Cubrir todo el ancho de la tarjeta */
    height: 100%; /* Cubrir todo el alto de la tarjeta */
    display: flex; /* Para centrar verticalmente */
    justify-content: center; /* Para centrar verticalmente */
    align-items: center; /* Para centrar horizontalmente */
    color: white; /* Color del texto */
    font-size: 2.1vw;
    font-weight: 300;
    border-radius: 5px; /* Bordes redondeados */
    text-align: center; /* Texto centrado */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Sombra en degradado */
    transition: opacity 0.3s ease; /* Transición suave */
    background: linear-gradient(to bottom, rgba(107, 142, 35, 0.7), rgba(107, 142, 35, 0.5), rgba(107, 142, 35, 0.7));
    text-decoration: none; /* Eliminar el subrayado */

}


.card:hover .boton-detalles {
    opacity: 1; /* Mostrar al pasar el mouse */
}



.card-divider {
    border-bottom: 1px solid #ccc; 
    margin-bottom: 10px; 
}


.contenedor {
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100vw; 
    height:25vh; 
}




.footer {
    background-color: #2d2c2c;  
    padding: 10px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: #e8efe8; 
    flex-wrap: wrap; 
}


.footer-left,
.footer-center,
.footer-right {
    flex-basis: calc(33.33% - 20px); 
    padding: 0 10px;
}
.footer-left {
    text-align: left; 
    line-height: 1.5;
}

.footer-left p{
    color: white;
}

.footer h3 {
    color: #6b8e23; 
    font-size: 4vh
}

.footer-right h3{
   padding-bottom: 5px;
   font-size: 4vh;
}

.footer-center {
    text-align: center; 
}

.footer-right {
    text-align: right; 
    line-height: 1.5;
}

.social-icons img {
    width: 30px; 
    margin: 0 5px; 

}

/* Estilos para hacer responsive el logo */
.footer-center img {
    max-width: 40%; 
    height: auto;
}


.footer a {
  color: white;
}

.chat {
position: fixed;
bottom: 10px;
  right: 10px;
  
  z
z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.chat a img {
  
 
width: 40px;  /* Ajusta el tamaño del ícono según tu preferencia */
  
 
height: auto;
}