/* Reiniciar los márgenes y el padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Fondo negro detrás del video */
body, html {
    height: 100%;
    margin: 0;
    background-color: black;
    font-family: Arial, sans-serif;
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}



/* Hero Section que ocupa todo el alto de la pantalla */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


/* Contenedor del logotipo */
/* Ajustes del contenedor del logo y el ícono del menú */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  /* Ajusta el tamaño que desees para el logo */
  .logo {
    max-width: 250px;
    height: auto;
    position: relative; /* Para poder usar el pseudo-elemento ::after */
  }
  
  /* Creamos un contorno luminoso con un pseudo-elemento */
  .logo::after {
    content: "";
    position: absolute;
    top: -8px;     /* Ajusta estos valores para manejar el grosor y el */
    left: -8px;    /* “espacio” que ocupa el contorno alrededor del logo */
    right: -8px;
    bottom: -8px;
    border: 2px solid #fff; /* Color y grosor del contorno */
    border-radius: 5px;     /* Ajusta la curvatura de las esquinas */
    opacity: 0.7;           /* Transparencia para un toque más sutil */
    pointer-events: none;   /* Para que no interfiera con el mouse */
    box-shadow: 0 0 10px #fff, 0 0 20px #fff; 
    /* Ajusta la intensidad y el “desenfoque” con más o menos valores en box-shadow */
    z-index: -1;            /* Detrás del logo para que no se superponga encima de él */
  }
  
  
  

/* Para pantallas más pequeñas (300px - 600px) */
@media (max-width: 600px) {
    .logo {
        max-width: 150px;  /* Reduce el tamaño del logo */
    }
}



/* Contenido principal */
.content {
    position: relative;
    text-align: center;
    z-index: 1;
}


/* Redes sociales (centradas y con íconos) */
.social-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}


/* Estilo para los enlaces de redes sociales */
.social-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    width: 220px;
    justify-content: center;
    transition: background-color 0.3s ease;
}


/* Íconos de redes sociales */
.social-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}


/* Efecto hover para los enlaces */
.social-link:hover {
    background-color: #a83232;
    color: white;
}


/* Contenedor principal del header */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.menu-icon {
    display: none; /* Oculto en desktop de verdad */
    cursor: pointer;
    z-index: 1001;
    width: 50px;
    height: 50px;
}


/* ==================================
   MEDIA QUERY PARA PANTALLAS PEQUEÑAS
   ================================== */
   @media (max-width: 768px) {

    /* Menú oculto por defecto en móvil */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%); /* Centra el menú */
        width: 90%; /* Ajusta el ancho del menú */
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 999;
        text-align: center; /* Alinea el texto al centro */
        border-radius: 10px; /* Bordes redondeados para el menú */
    }
  
    /* Al hacer toggle => se muestra */
    .nav-menu.show {
      display: flex;
    }
  
    /* Ícono hamburguesa visible en móvil */
    .menu-icon {
        display: none;
        cursor: pointer;
        z-index: 1001;
        width: 50px;
        height: 50px;
        border: 2px solid white;
        border-radius: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.7);
        transition: all 0.3s ease;
    }
    .menu-icon:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }
    
    .menu-icon i {
        font-size: 1.5rem;
        color: white;
        transition: transform 0.3s ease;
    }
    
    .menu-icon.open i {
        transform: rotate(90deg);
    }
  
    .nav-menu li {
      margin: 15px 0;
      text-align: center;
    }
  
    .nav-menu li a {
      display: block;
      font-size: 1.3rem;
      padding: 10px;
    }
  }


.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
    }


.footer-section {
    flex: 1;
    text-align: center;
    padding: 10px 0;  /* Mantenemos padding interno */
}


.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}


.footer-section p a,
.footer-section ul li a {
    font-size: 0.9rem;
}


.footer-section p a,
.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}


.footer-social {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: row;
}


.footer-social li img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}


.footer-social li img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.footer-social a:hover img {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.footer-bottom {
    background-color: #111; /* Fondo oscuro para contraste */
    color: #bbb; /* Color del texto */
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}


.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: #bbb;
}


.footer-social a i {
    display: block;
    margin-bottom: 10px;
}



/* Sección de video */
#video-section {
    height: 100vh; /* Ocupa el 100% del alto de la ventana */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px

}


.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;  /* Ajusta la opacidad del video */
    z-index: -0;  /* Asegúrate de que el video esté detrás del contenido */
}




.minimal-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;  /* Reducimos el espaciado entre los elementos */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo con transparencia */
    border-radius: 10px;
    width: 90%; /* Más ancho para que ocupe más espacio en la fila */
}


.minimal-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; /* Hace que cada grupo tome el mismo ancho */
}

.minimal-group input, .minimal-group select {
    padding: 15px; /* Agranda el campo de selección */
    border-radius: 5px;
    border: none;
    width: 250px;  /* Agranda el ancho de los campos */
    font-size: 1.2rem;
    text-align: center;
}


.minimal-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;

}


.minimal-group-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.minimal-group select {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: #000000;
    color: white;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h20v20H0z" fill="none"/><path d="M7.71 8.29L10 10.59l2.29-2.3L13 9.71l-3 3-3-3z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1.2em;
}

.minimal-group label {
    font-size: 1.2rem; /* Agranda los textos */
    color: #ffffff;
    margin-bottom: 5px;
}


.minimal-search-btn {
    padding: 15px 30px; /* Botón más grande */
    background-color: #000000;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 1.4rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 300px; /* Centramos el botón y le damos un ancho fijo */
}


.minimal-search-btn:hover {
    background-color: #E6C200;
}


.minimal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    position: relative
}

.search-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

/* Media query para pantallas grandes */
@media (min-width: 1024px) {
    .minimal-form {
        flex-direction: row; /* Alineamos los elementos en una fila en pantallas grandes */
        justify-content: space-between; /* Espaciamos los elementos */
    }

}


/* Sección del dueño */
/* Sección del dueño con animación, scroll y espaciado */
#owner-section {
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 20px;  /* Espaciado aumentado */
    min-height: 100vh;  /* Sección de pantalla completa */
    opacity: 0;  /* Oculta la sección inicialmente */
    transform: translateY(50px);  /* Desplaza hacia abajo inicialmente */
    transition: all 0.8s ease-out;  /* Animación suave */
}

#owner-section.show {
    opacity: 1;
    transform: translateY(0);  /* Vuelve a su posición original */
}

.owner-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1100px;
    width: 90%;
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    padding: 40px;
}

.owner-card:hover {
    transform: translateY(-15px) scale(1.04);  /* Efecto hover más notorio */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.owner-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    padding: 70px;  /* Más espacio alrededor de la imagen */
    position: relative;
}

.owner-image-container img {
    width: 300px;  /* Aumenta el tamaño de la imagen */
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.owner-text-container {
    flex: 2;
    padding: 60px;
    text-align: left;
}

.owner-text-container h2 {
    font-size: 3rem;  /* Título más grande */
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.owner-text-container p {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #555;
}

/* Redes sociales animadas */
.owner-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.owner-social a {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.owner-social a:hover {
    transform: scale(1.3);
    background-color: #0056b3;
}

/* Botón de contacto animado */
.owner-contact-button {
    margin-top: 40px;
    display: inline-block;
    background-color: #ff7f50;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.owner-contact-button:hover {
    background-color: #ff6347;
    transform: translateY(-8px);
    
}

@keyframes spin {
    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}


/* nuevo CSS PARA FOTER DE CONTACTANOS Y ACERCA DE NOSOTORS */

#contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #111;
    padding: 100px 20px;
    min-height: 80vh; /* Asegura un buen espacio vertical */
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.contact-form input, .contact-form textarea {
    padding: 15px;  /* Padding interno de los campos */
    border-radius: 5px;
    border: none;
}


.contact-form h2 {
    margin-bottom: 15px;
    color: #000;
    text-align: center;
 
}


.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}


.contact-form textarea {
    resize: vertical;
}


.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #218838;
}


.checkbox-group div {
    display: flex;
    align-items: center;
}


.checkbox-group input {
    margin-right: 5px;
}



.checkbox-group {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 10px;
}


.checkbox-group label {
    font-size: 0.9rem;
    color: #000;
    display: flex;
    align-items: center;
}

.checkbox-group label input[type="checkbox"] {
    margin-right: 5px;
}

.submit-btn {
    padding: 12px;
    font-size: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.submit-btn:hover {
    background-color: #0056b3;
}


.contact-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    max-width: 400px; /* Ajustar el ancho para que sea más proporcional */
    width: 100%;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); /* Añadir sombra para darle más profundidad */
}


/* Para pantallas grandes (escritorio) */
@media (min-width: 1024px) {
    .footer-container {
        max-width: 1200px;
        padding: 30px;
    }

}


/* Para pantallas medianas (tablets) */
@media (max-width: 1024px) {
    .footer-container {
        max-width: 90%;
        padding: 20px;
    }

}


/* Detalle de propiedad */

.content-container2 {
    margin-top: 80px;
    text-align: center;
    color: white;
    z-index: 1;  /* Coloca el contenido sobre el video */
    position: relative;
    padding: 20px;  /* Ajusta el padding según sea necesario */
    
}


.content-container {
    max-width: 1200px;
    margin: 80px auto 0; /* Añadido margen superior para evitar que el contenido quede detrás del header */
    padding: 20px;
    
}


.content-container2 h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Sombra para hacer el texto más legible */
}


.content-container2 p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6); /* Sombra para hacer el texto más legible */
}


@keyframes scrollDown {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translate(0, 20px);
        opacity: 0;
    }

}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #b8b7b7;
    color: #333;
}
/* Estilo general de la sección de propiedades */

/* Global Styles */

/* Header */
header {
    background-color: black;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    margin: 0;
    padding: 0;
  }
  
  .nav-bar {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .nav-menu {
    list-style: none;
    display: flex; 
    margin: 0;
    padding: 0;
  }
  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    margin: 0 20px;
  }


  .nav-menu li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
  }


  .nav-menu li a:hover {
    color: #E40813;
    border-bottom: 2px solid white;
  }
  


.footer-section p a,
.footer-section ul li a {
    font-size: 0.9rem;
    color: #FFD700;
    text-decoration: none;
}


.footer-section ul {
    list-style: none;
    padding: 0;
}


.footer-section ul li {
    margin-bottom: 10px;
}


.footer-bottom {
    padding-top: 20px;
    font-size: 0.8rem;
    color: #bbb;
    border-top: 1px solid #333;
}



/* link de pagina inicial*/

.social-link {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    padding-left: 40px;
    font-size: 1.2rem;
    width: 220px;
    justify-content: start; /* Aligns logo and text */
    transition: background-color 0.3s ease;
    
}


.social-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px; /* Spacing between the logo and text */
}

.logo-header {
    position: absolute;
    top: -80px; /* Ajusta el logo más cerca del borde superior */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.logo-header img {
    display: block;
    border-radius: 150px; /* Ajusta este valor para la curvatura */
}


.logo-header-img {
    width: 250px; /* Ajusta el tamaño si es necesario */
    height: auto;
}

.social-media {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 190px; /* Empuja las redes sociales hacia abajo */
}



.property-header p.property-price {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #555;
}


/* Título de la sección */
.section-title {
    font-size: 3rem;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 50px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}


.main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.thumbnail-images img.active,
.thumbnail-images img:hover {
    opacity: 1;
}

.property-title, .property-price {
    text-align: center;    /* Centrar el texto */
    width: 100%;           /* Asegurar que ocupen todo el ancho */
}

.thumbnail-images img:hover {
    transform: scale(1.05);
}


.thumbnail-images img {
    width: calc(25% - 10px);
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease;
}


.property-detail-container {
    display: flex;
    flex-wrap: nowrap; /* Evita que los elementos se envuelvan */
    gap: 20px;
}



.left-column {
    flex: 2; /* Ajustar el tamaño relativo */
    min-width: 300px;
}
.property-main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.property-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.right-column {
    flex: 1;
    min-width: 280px;
    max-width: 30%; /* Ajusta según tus preferencias */
}
.hero-slider {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f2fcf7;
    position: relative;
    overflow: hidden;
    position: relative;
    margin: auto;
    padding-top: 60px;
 
}



/* Contenedor del slider */
.slider-container {
    position: relative;
    width: 80%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;

 }




/* Cada slide */
.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}


.slide img, .modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


.active-slide {
    opacity: 1;
    transform: scale(1);
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}


.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}


.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}


.footer-social img:hover {
    transform: scale(1.1);
}


.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/* Estilo de los títulos */
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    width: 80%; /* Ajusta el ancho según necesites */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para mejorar la legibilidad */
    padding: 20px;
    border-radius: 10px;
}

.slide-caption h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}


.slide-caption .slide-description {
    font-size: 1rem;
    margin-bottom: 15px;
}

.view-more-btn {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}


.slide-caption .slide-price {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}


.slide-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}


.slide-caption p {
    font-size: 1.2rem;
    font-weight: 300;
}


/* Botones de navegación */
.prev-btn, .next-btn {
    background-color: rgba(0, 0, 0, 0.4); 
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: white;
    z-index: 10;
    transition: background-color 0.3s ease;
}


.prev-btn:hover, .next-btn:hover {
    background-color: #ffc700;
}


.prev-btn {
    left: 10px;
}


.next-btn {
    right: 10px;
}


.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0,0,0,0.7);
}


@media (max-width: 768px) {
    header {
        height: 60px;  
    }


    .nav-menu li {
        margin: 0 10px;
    }


    .footer-container {
        max-width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }

}

/* Formulario flotante centrado dentro del slider */
.floating-search-bar {
    position: absolute;
    top: 65px; /* Ajustado para que esté justo dentro del slider */
    left: 50%;
    transform: translateX(-50%); /* Centrar el formulario */
    width: auto; /* El ancho se ajusta al contenido */
    background-color: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente */
    padding: 15px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5; /* Debajo del encabezado, encima del slider */
    border-radius: 10px; /* Bordes redondeados para un mejor estilo */
}


.floating-search-form {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}


.search-group label {
    font-size: 1.2rem;
    color: #333;
    font-weight: bold;
}


.search-group select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    background-color: #f0f0f0;
}


.floating-search-btn {
    padding: 12px 30px;
    background-color: #28a745;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.floating-search-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}


/* Botón debajo del slider */
.slider-btn-container-improved {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


.slider-all-products-btn-improved {
    padding: 15px 50px;
    background-color: #ffc107;
    border: none;
    color: black;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.slider-all-products-btn-improved:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}


.slider-form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10; /* Asegurarse de que esté por encima del slider */
}

.slider-options {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 100; /* Asegurarse de que esté por encima del slider */
    align-items: center;
}



.property-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 20px auto;
    text-align: center;
    width: 100%;
}


.property-slider .slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active-slide {
    display: block;
}


.property-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}


.property-slider .prev-btn,
.property-slider .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}


.property-slider .prev-btn {
    left: 10px;
}


.property-slider .next-btn {
    right: 10px;
}


.property-slider .prev-btn:hover,
.property-slider .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}


.property-price {
    font-size: 1.8rem;
    color: #28a745;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }

.property-description {
    max-width: 100%;
    margin: 20px auto;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;

    column-gap: 30px; /* Espacio entre columnas */
}

@media (max-width: 480px) {
    .logo {
        max-width: 90%;  /* Hace el logo más grande en pantallas pequeñas */
    }

    .logo-container {
        justify-content: center;  /* Centra el logo */
    }
}



.property-description h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}




.property-description strong {
    font-weight: bold;
    color: #333; /* Color más oscuro para resaltar */
}


/* Mejora en la visualización de listas dinámicas */
.property-description ul {
    padding-left: 20px; /* Indentado para las listas */
    margin-bottom: 15px;
}


.property-description ul li {
    margin-bottom: 8px; /* Espacio entre elementos de lista */
}


/* Opcional: Añadir estilos de ícono a listas */
.property-description ul li::before {
    content: '•'; /* Representar puntos con bullets personalizados */
    color: #28a745; /* Color distintivo */
    font-size: 1.2rem;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.form-container {
    flex: 1; /* Ajustar el tamaño relativo */
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinea el contenido al inicio */
    height: auto; /* Dejar que la altura sea automática */
    background-color: transparent; /* Quitar el fondo blanco */
    padding: 0; /* Reducir el padding */
}

.form-container form {
    background-color: #fff; /* Fondo blanco solo para el formulario */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Campos del formulario */
.form-container input,
.form-container textarea,
.form-container select {
    width: 100%;               /* Ocupa todo el ancho del contenedor */
    padding: 10px;             /* Reduce el padding */
    margin-bottom: 10px;       /* Reduce el margen inferior */
    border: 1px solid #ccc;    /* Borde suave */
    border-radius: 5px;        /* Bordes redondeados */
    font-size: 1rem;           /* Tamaño de fuente legible */
}

.form-container button {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}


.form-container button:hover {
    background-color: #218838;
}

.form-group {
    margin-bottom: 15px;
}
.property-description p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center; /* Alineado a la izquierda */
    margin-top: 150px; /* Sin margen superior */
}
.property-info .property-price {
    font-size: 2rem;
    color: #e74c3c;
}
.form-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}
.property-info .property-price {
    font-size: 2rem;
    color: #e74c3c;
}

.property-info .property-price:hover {
    transform: scale(1.05); /* Un pequeño aumento de tamaño al pasar el cursor */
}


.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}



/* Controles del slider */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}


.prev-btn, .next-btn {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}


.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}


.modal-buttons {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}


.modal-buttons button:hover {
    background-color: #e6e6e6;
}

#modal-display-area img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.modal-buttons button {
    padding: 10px 20px;
    background-color: #fff;
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}


/* Contenido del modal */
.modal-content {
    position: relative;
    margin: 50px auto;
    padding: 0;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}


.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.prev-modal,
.next-modal {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    font-size: 40px;
    color: #fff;
    user-select: none;
}


.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}


.prev-modal, .next-modal {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translateY(-50%); /* Asegura que estén centrados verticalmente */
    z-index: 5;
}


.prev-modal {
    left: 20px;
}



.next-modal {
    right: 20px;
}



.prev-modal:hover, .next-modal:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


#modal-display-area {
    width: 100%;
    height: 100%;
}


#modal-display-area img, #modal-display-area #map, #modal-display-area #street-view {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.prev-modal:hover,
.next-modal:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Media Queries para responsividad */
@media screen and (max-width: 768px) {
    .property-detail-container {
        flex-direction: column;
        margin-top: 80px;
        align-items: center;
    }


    .thumbnail-images {
        flex-wrap: wrap;
    }


    .thumbnail-images img {
        width: calc(50% - 5px);
        margin-bottom: 10px;
    }


    .contact-form {
        width: 100%;
        margin-top: 20px;
    }

}


/* Slider dentro del modal */
.modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
}


.modal-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}


.modal-slide.active-slide {
    display: block;
}


.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}



.prev-modal-btn,
.next-modal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
}

.prev-modal-btn {
    left: 10px;
}


.next-modal-btn {
    right: 10px;
}


.prev-modal-btn:hover,
.next-modal-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}


/* Controles del slider en el modal */
.modal-slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}


.prev-modal-btn, .next-modal-btn {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}


.prev-modal-btn:hover, .next-modal-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


/* Diseño para las pestañas (Fotos, Mapa, Vista de la calle) */
.modal-tabs {
    display: flex;
    background-color: #333;
    background-color: #222;
}


.tab-btn.active {
    background-color: #444;
}


/* Contenido de las pestañas */
.modal-tab-content {
    flex: 1;
    display: none;
}


.modal-tab-content.active {
    display: block;
}


body, h1, h2, p {
    margin: 0;
    padding: 0;
}


.scroll-down-button {
    position: absolute;
    bottom: 30px; /* Ajusta la posición vertical */
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    font-size: 2.5rem; /* Tamaño del ícono */
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
}


.scroll-down-button:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(10px); /* Efecto de movimiento hacia abajo */
}


/* Animación para que la flecha suba y baje suavemente */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

}


.scroll-down-button i {
    animation: bounce 1.5s infinite;
}

/* Categorías - Botones */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}


.category-nav button {
    padding: 10px 20px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    background-color: #ffc107; /* Verde neón */
    color: #121212;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.category-nav button:hover {
    background-color: #ffc107;
    transform: scale(1.05);
}


/* Contenedor de Propiedades */
.property-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}


.property-card .info {
    padding: 15px;
    text-align: center;
}


.property-card .info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4CAF50;
}


.property-card .info p.price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4CAF50;
}


.property-card .info p {
    font-size: 14px;
    color: #bbb;
}


.property-card .view-more {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 14px;
    background-color: rgba(34, 218, 40, 0.904);
    color: #121212;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}


.property-card .view-more:hover {
    background-color: #45a049;
}


/* Sin Datos */
.no-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: 10px;
    border: 2px dashed #555;
    background-color: #1e1e1e;
    color: #ddd;
    font-size: 1.5rem;
    margin: 40px auto;
    max-width: 500px;
    text-align: center;
}


.no-data .redirect-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #4CAF50;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.no-data .redirect-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}


#whatsapp-icon:hover #qr-code {
    display: block; /* Mostrar QR al pasar el mouse */
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    background-color: #111;
}

/** nuevo stule **/
/* Footer centrado */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    background-color: #111;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.footer-section {
    margin: 10px 0;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: #fff;
}

.footer-section p, .footer-section ul li {
    color: #bbb;
    font-size: 1rem;
    margin: 5px 0;
}

/* Tamaño de las propiedades */
.property-grid .property-card {
    width: 300px; /* Ajustar tamaño */
    margin: 10px;
    padding: 15px;
    background-color: #faf4ee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.property-grid .property-card img {
    width: 100%;
    height: 200px; /* Tamaño fijo para imágenes */
    object-fit: cover;
    border-radius: 5px;
}

/* Detalle de propiedades */
.thumbnail-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.thumbnail-images img {
    width: calc(25% - 10px);
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.thumbnail-images img:hover {
    transform: scale(1.1);
    border-color: #000;
}

.main-image {
    text-align: center;
    margin-bottom: 20px;
}


/* Video de la página 1 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 10;  /* Ajusta la opacidad del video */
    z-index: -0;  /* Asegúrate de que el video esté detrás del contenido */
}
#map-btn, #streetview-btn {
    display: none;
}
   /* Estilos para el toast sobre el slider */
   .hero-slider {
    position: relative; /* Necesario para posicionar el toast dentro */
}

#no-results-toast {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff3cd;
    color: #856404;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: bold;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInDown 0.3s ease;
}

#no-results-toast button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: #856404;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}


/* Mejora del diseño de la sección del dueño */
#owner-section {
    background: #f7f7f7; 
    padding: 60px 20px;
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.owner-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap; 
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}
.owner-image-container {
    flex: 1 1 300px;
    min-width: 300px;
    background: #ECECEC;
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 40px;
}
.owner-image-container img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.owner-text-container {
    flex: 2 1 400px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.owner-text-container h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}
.owner-text-container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}
@media (max-width: 768px) {
    .owner-card {
      flex-direction: column;  /* Encolumna la tarjeta */
      padding: 20px; /* Disminuye el padding si deseas */
    }
  
    .owner-image-container, 
    .owner-text-container {
      width: 100%; 
      padding: 20px;
      margin: 0 auto;
      text-align: center;
    }
  
    .owner-image-container {
      padding: 20px 0; /* Ajusta espaciado */
    }
  
    .owner-image-container img {
      width: 180px;
      height: 180px;
    }
  
    .owner-text-container h2 {
      font-size: 1.8rem; /* Ajusta para móvil */
    }
  
    .owner-text-container p {
      font-size: 1rem; 
    }
  }
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column; /* apila en columna */
      align-items: center;
    }
    
    .footer-section {
      flex: 0 0 100%; /* ocupa todo el ancho */
      margin-bottom: 20px;
    }
  }
  