body {
    font-family: 'Open Sans', sans-serif;
}

/* Estilos para la barra de scroll */
::-webkit-scrollbar {
    width: 10px; /* Ancho de la barra de desplazamiento */
  }
  
  /* Track de la scrollbar (fondo) */
  ::-webkit-scrollbar-track {
    background: #8CA4A1; /* Color de fondo */
  
  }
  
  /* Thumb de la scrollbar (la parte que se mueve) */
  ::-webkit-scrollbar-thumb {
    background-color: #153332; /* Color de la parte que se desplaza */
    border-radius: 10px; /* Añade un borde redondeado */
    border: 2px solid transparent; /* Espacio alrededor del thumb */
    background-clip: content-box; /* Esto hace que el color de fondo no invada los bordes */
  }
  
  /* Thumb en hover (cuando el usuario pasa el mouse sobre el scrollbar) */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #1A403F; /* Color cuando el usuario pasa el cursor */
  }
  

.navbar {
    background-color: transparent !important;
    transition: background-color 0.3s ease; 

}


.navbar-scroll {
    background-color: rgba(146, 144, 144, 0.8) !important; 
  

}

.navbar-nav .nav-link {
    font-size: 18px;
    color: #1A4240;
    font-weight: 400;
    margin-right: 20px;
    position: relative;
    transition: color 0.3s ease;



}




/* Hamburger button */
.navbar-toggler {
    border: none; 
    z-index: 10000;
  
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='green' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
   
    background: #8CA4A1;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar-nav {
        text-align: left;
    }

    .navbar-nav .nav-link {
        font-size: 16px; 
        margin: 0;
        color: #D9D9D9;
    }

    .main-banner {
        height: 60vh; 
    }

    .banner-title {
        font-size: 20px; 
    }
    .navbar-brand img {
        height: 40px; 
       
    }
    .navbar-collapse {
        background-color: rgba(26, 64, 63, 0.9); /* Fondo verde con opacidad del 90% */
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
      
        padding: 20px;
        z-index: 1030;
    }
    

}





/* FOOTER */


.footer {
    background-color: #F1F0F0;
    padding: 30px 0;
  }
  
  .footer-top {
    padding-bottom: 30px;
  }
  
  .footer-logo img {
    width: 200px;
  }
  
  .footer-logo p {
    font-size: 14px;
    color: #333;
  }
  
  .footer-social a {
    margin-left: 10px;
  }
  
  .footer-social img {
    width: 34px;
    height: 34px;
  }
  
  .footer-divider {
    width: 90%;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 20px auto;
  }
  
  .footer-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .info-item {
    flex: 1;
    padding: 20px;
  }
  
  .info-item h4 {
    color: #111111;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .info-item p {
    color: #1A4240;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    line-height: 1.2;
    align-items: flex-start;
    margin-bottom: 5px;
  }
  
  .info-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }
  
  .footer-bottom {
    margin-top: 10px;
  }
  
  .footer-bottom p, .footer-bottom a {
    color: #1D1C1C;
    font-size: 14px;
  }
  
  .footer-bottom a {
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .footer-info {
      flex-direction: column;
    }
    
    .info-item {
      padding:0;
    }
  
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-divider {
      width: 100%;
    }
    .info-item h4 {
        display: none;
    }
    .info-item p {
        font-size: 14px;
    }
    .footer-bottom p, .footer-bottom a {
        font-size: 10px;
        margin-bottom: 0;
    }
  }
  
  @media (max-width: 360px){

   
    .footer-social img {
     width: 24px;
     height: 24px
    }
    .footer-social a {
     margin-left: 5px;
    }
    .footer-logo img {
     width: 150px;
    }
   }


.propiedades-destacadas {
    padding: 50px 20px;
}


.propiedades-destacadas h2{

    color: #1A4240;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 40px !important;
}

.propiedades-swiper {
    position: relative;
    max-width:90%;
    margin: 0 auto;
    
 overflow: hidden;
  
}

.swiper-slide {
    width: 428px; 
    height:auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 50px;
  
}

.propiedad-img {
    width: 100%;
    height: auto;
  
    
}
.swiper-button-next,
.swiper-button-prev {
    
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 20;
    background: none; 
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 

}

/* Asegurar que solo las flechas personalizadas estén visibles */
.swiper-button-prev img,
.swiper-button-next img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.swiper-button-prev {
    left: 0px; 
}

.swiper-button-next {
    right: 0px; 
}
.swiper-pagination-bullet {
    background: #497371 ;
    width: 14px;
    height: 14px;
}

.swiper-pagination-bullet-active {
    background: #1A4240;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}
@media (max-width: 768px) {
    .propiedades-destacadas{
        padding: 10px 0 !important;
    }

    .propiedades-destacadas h2 {
        font-size: 20px;
    }
    .swiper-slide {
        width: 100%; /* Mostrar una sola tarjeta a la vez en móviles */
    }

    .propiedades-swiper {
        padding: 0 15px; /* Espacio lateral para que no quede pegado a los bordes */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 25px;
        height: 25px;
        top: 60%;
    }

    .swiper-button-prev {
        left: 10px; /* Ajustar posición para no salir del viewport */
    }

    .swiper-button-next {
        right: 10px; /* Ajustar posición para no salir del viewport */
    }
    .swiper-pagination-bullet{
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .swiper-slide {
        width: 48%; /* Mostrar dos tarjetas a la vez en tabletas */
    }

    .propiedades-swiper {
        padding: 0 30px; /* Más espacio para tabletas */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev {
        left: -20px; 
    }

    .swiper-button-next {
        right: -20px; 
    }


    .buscar-propiedades{
        margin-left: 0;
        padding: 20px!important;
    }
}



/* Sección para el mapa estilo banner */
.map-banner {
    width: 100%;
    height: 500px; 
    overflow: hidden;
    position: relative;
    z-index: 0; 
    margin-top: 90px;
}

.map-banner iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}


@media (max-width: 768px) {
    .map-banner {
        height: 300px; 
    }
}


@media (max-width: 1024px) {
    .map-banner {
        height: 400px;
    }
}




/* Estilos para el contenedor general */
.propiedades-container {
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
  }
  
  
  .propiedades-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  
  .titulo-propiedades h2 {
    font-size: 24px;
    color: #1A4240;
    font-weight: bold;
    margin: 0;
  }
  
  .titulo-propiedades p {
    font-size: 24px;
    color: #1A4240;
    font-weight: 300;
  }
  
 /* Estilo general para los selectores */
.filtros {
    display: flex;
    gap: 30px; 
  }
  
  .filtros select {
    font-size: 24px;
    font-weight: 300;
    color: #1A4240; 
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #888383; 
    padding: 5px 30px 5px 0; 
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    width: 230px; 
    position: relative;
    background-image: url('./icons/arrow-select.svg'); 
    background-repeat: no-repeat;
    background-position: right 10px center; 
    background-size: 15px; 
  }
  
  
  .filtros select::-ms-expand {
    display: none; 
  }
  

  .filtros select:focus {
    border-bottom: 1px solid #1A4240; 
  }

  .filtros select option {
    background-color: #fff !important;  
    color: #1A4240 !important;
    font-size: 24px; 
    font-weight: 300; 
    cursor: pointer;
  }
  
  
  .filtros select option:hover {
    background-color: #f0f0f0; 
  }



  /* Estilos para el grid de imágenes */
  .grid-propiedades {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:15px;
  }
  
  .grid-propiedades img {
    width: 100%;
    object-fit: cover;
  
    transition: transform 0.3s ease;
  }
  
  .grid-propiedades img:hover {
    transform: scale(1.05);
  }
  
  /* Estilos para mobile (2 columnas) */
  @media (max-width: 768px) {
    .propiedades-header {
      flex-direction: column;
      align-items: flex-start;
    
    }
  
    .propiedades-container{
        padding: 20px 0;
    }
    .titulo-propiedades h2{
        font-size: 20px;
    }
    .titulo-propiedades p {
        font-size: 20px;
    }
    .grid-propiedades {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .filtros {
        flex-direction: column; 
        gap: 10px; 
        width: 100%; 
      
      }
    
      .filtros select {
        width: 100%; 
        font-size: 20px;
      }
  }


  @media only screen and (min-width: 1024px) and (max-width: 1024px) and (min-height: 768px) and (max-height: 768px) {
   .filtros select{
    width: 50%;
   }
}

  .whatsapp-button {
    position: fixed;
    bottom: 20px; /* Ajusta según la posición vertical deseada */
    right: 20px; /* Ajusta según la posición horizontal deseada */
    width: 60px; /* Tamaño del botón */
    height: 60px;
    background-color: #EEEEEE; /* Color del círculo */
    border-radius: 50%; /* Hace que el botón sea circular */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Sombra para darle profundidad */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
  }
  
  .whatsapp-button img {
    width: 40px; /* Ajusta el tamaño del icono según sea necesario */
    height: 40px;
  }
  
  .whatsapp-button a {
    display: inline-block;
  }
  
  .whatsapp-button:hover {
    background-color: #DADADA; /* Cambia el color de fondo al hacer hover */
    transition: background-color 0.3s ease;
  } 