/*
Theme Name: Principal es prueba prueba pruba
Theme URI: http://lacostahaus.com
Author: TaigerOMG
Author URI: http://lacostahaus.com/inmuebles
Description: Plantilla para los inmuebles.
Version: 1.1
*/

.space2{
    height: 40vh;
}

.container-custom {
    width: 90%;
    margin: 0 auto; /* Centrar el contenedor */
}
.container-custom2 {
    width: 95%;
    margin: 0 auto; /* Centrar el contenedor */
}

.property-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.centered-content {
    display: flex;
    align-items: center;
}

.centered-content img {
margin-right: 40px;
}

.heighta-content img {
    margin-bottom: 40px;
    }

.thumbnail-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.thumbnail-container img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 10px;
}

.thumbnail-container img:hover {
    border-color: #007bff;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

.container-fluid {
    padding: 0 5%;
}

.no-underline {
    text-decoration: none;
}

.section {
    
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    padding: 20px;
    
}



.space{
    height: 75vh;
}

.space2{
    height: 20vh;
}

.space3{
    height: 20vh;
}
.space4{
    height: 40vh;
}
.space5{
    height: 5vh;
}

.space6{
   margin-bottom: 200px;
}

h5{
    margin: 10px 0;
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 20px;
}
h1, h2, h3 {
    margin: 10px 0;
}

h1 {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

.icon {
    max-width: 50px;
    margin-top: 20px;
}

p {
    max-width: 4000px;
    margin: 10px auto;
    text-align: center;
}

header {
    position: absolute; /* Cambiado de absolute a fixed */
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo negro semitransparente */
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Asegurar que el header esté por encima del contenido */
    
}

header a img {
    max-width: 50px; /* Ejemplo de ancho máximo */
    height: auto; /* Para mantener la proporción */
}

header ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

header ul li {
    margin: 0 10px;
}

header ul li a {
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

header ul li a:hover {
    background-color: aqua;
    border-radius: 5px;
}

/* Añadir margen superior para el contenido principal */
.content {
    margin-top: 80px; /* Ajustar según la altura del header */
}


















button{
    border: 0;
    background-image: linear-gradient(
        150deg,
        #9500ff,
        #09f,   
        #00DDFF
    );  
    border-radius: 8px;
    color: #fff;
    display: center;
    font-size: 18px;
    padding: 16px 24px;
    cursor: pointer;
    transition: .3s;
}














header nav ul li {
    display: flex;
    align-items: center;
}

header nav ul li.dropdown {
    position: relative; /* Anclar el menú al li */
}

/* Enlace principal */
header nav ul li.dropdown > a {
    color: white;
    font-size: 1.1em;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

/* Hover en Idiomas igual que Inicio e Inmuebles */
header nav ul li.dropdown > a:hover {
    background-color: aqua;
    border-radius: 5px;
}

/* Ampliar área de hover con pseudo-elemento invisible */
header nav ul li.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;   /* justo debajo del enlace */
    left: 0;
    width: 100%;
    height: 12px; /* margen extra de hover */
}

/* Menú desplegable */
header nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;                /* centrado respecto al enlace */
    transform: translateX(-50%); /* corrige el punto de referencia */
    background-color: #444;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 999;
    width: max-content; /* se ajusta al contenido */
    min-width: 120px;
    margin-top: 0;      /* pegado al enlace */
}

header nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}

header nav ul li.dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
}

header nav ul li.dropdown .dropdown-menu li a:hover {
    background-color: #555;
}









.row{
    display: flex;
    justify-content: center;
    align-items: center;
}












/* Tablets en modo horizontal */
@media (min-width: 768px) and (max-width: 991px) {
    /* Estilos específicos para tablets en modo horizontal */

    
    
    button{
        border: 0;
        background-image: linear-gradient(
            150deg,
            #9500ff,
            #09f,
            #00DDFF
        );
        border-radius: 8px;
        color: #fff;
        display: center;
        font-size: 18px;
        padding: 4px;
        cursor: pointer;
        transition: .3s;
    }
    
    

    .space2{
        height: 20vh;
    }
    h1, h2, h3 {
        margin: 7px 0;
    }
    
    h1 {
        font-size: 2.5em;
        font-weight: 700;
        margin-bottom: 16px;
        text-align: center;
    }
    
    h2 {
        font-size: 1.8em;
        font-weight: 300;
        margin-bottom: 16px;
        text-align: center;
    }
    
    h3 {
        font-size: 1.2em;
        margin: 7px 0;
        text-align: center;
    }
    
    .icon {
        max-width: 40px;
        margin-top: 16px;
    }
    
    p {
        max-width: 3000px;
        margin: 7px auto;
        text-align: center;
    }
    
    
    
    header ul li a {
        font-size: 0.9em;
        padding: 7px 16px;
    }

    .content {
        margin-top: 70px;
    }

    .texto {
        font-size: 1.6em;
        margin-bottom: 55px;
    }
    
    .texto2 {
        font-size: 1.2em;
        margin-bottom: 16px;
    }
    
    #fh5co-blog-section, #fh5co-features, #fh5co-popular-properties, #fh5co-properties, #fh5co-testimonial, #fh5co-about, #fh5co-contact, .fh5co-content-section {
        padding: 5.5em 0;
    }
    
    .container {
        padding: 40px 0;
    }
    
    .heading-section h3 {
        font-size: 1.6em;
        margin-bottom: 16px;
    }
    
    .heading-section p {
        margin-bottom: 30px;
        font-size: 0.85em;
    }
    
    .property {
        flex: 1 1 240px;
        margin: 7px;
    }
    
    .property .status {
        font-size: 0.85em;
    }
    
    .property .list-details {
        font-size: 0.65em;
    }
    
    .property-details {
        padding: 16px;
    }
    
    .property-details h3 {
        font-size: 1.4em;
        margin-bottom: 7px;
    }
    
    .property-details .price {
        font-size: 1.3em;
        margin-bottom: 7px;
    }
    
    .property-details .address {
        font-size: 0.75em;
    }
}

/* Tablets en modo vertical y teléfonos grandes */
@media (min-width: 576px) and (max-width: 767px) {
    /* Estilos específicos para tablets en modo vertical y teléfonos grandes */

    
    
    button{
        border: 0;
        background-image: linear-gradient(
            150deg,
            #9500ff,
            #09f,
            #00DDFF
        );
        border-radius: 8px;
        color: #fff;
        display: center;
        font-size: 18px;
        padding: 4px;
        cursor: pointer;
        transition: .3s;
    }
    
    
    .space2{
        height: 10vh;
    }
    h1, h2, h3 {
        margin: 6px 0;
    }
    
    h1 {
        font-size: 1.8em;
        font-weight: 700;
        margin-bottom: 14px;
        text-align: center;
    }
    
    h2 {
        font-size: 1.5em;
        font-weight: 300;
        margin-bottom: 14px;
        text-align: center;
    }
    
    h3 {
        font-size: 1.1em;
        margin: 6px 0;
        text-align: center;
    }
    
    .icon {
        max-width: 35px;
        margin-top: 14px;
    }
    
    p {
        max-width: 2500px;
        margin: 6px auto;
        text-align: center;
    }
    
    

    
    header ul li a {
        font-size: 0.8em;
        padding: 6px 14px;
    }

    .content {
        margin-top: 65px;
    }

    .texto {
        font-size: 1.4em;
        margin-bottom: 50px;
    }
    
    .texto2 {
        font-size: 1.1em;
        margin-bottom: 14px;
    }
    
    #fh5co-blog-section, #fh5co-features, #fh5co-popular-properties, #fh5co-properties, #fh5co-testimonial, #fh5co-about, #fh5co-contact, .fh5co-content-section {
        padding: 5em 0;
    }
    
    .container {
        padding: 35px 0;
    }
    
    .heading-section h3 {
        font-size: 1.5em;
        margin-bottom: 14px;
    }
    
    .heading-section p {
        margin-bottom: 25px;
        font-size: 0.8em;
    }
    
    .property {
        flex: 1 1 210px;
        margin: 6px;
    }
    
    .property .status {
        font-size: 0.8em;
    }
    
    .property .list-details {
        font-size: 0.6em;
    }
    
    .property-details {
        padding: 14px;
    }
    
    .property-details h3 {
        font-size: 1.3em;
        margin-bottom: 6px;
    }
    
    .property-details .price {
        font-size: 1.2em;
        margin-bottom: 6px;
    }
    
    .property-details .address {
        font-size: 0.7em;
    }
}









/* Teléfonos móviles */
@media (max-width: 575px) {
    /* Estilos específicos para teléfonos móviles */
    
    button{
        border: 0;
        background-image: linear-gradient(
            150deg,
            #9500ff,
            #09f,
            #00DDFF
        );
        border-radius: 8px;
        color: #fff;
        display: center;
        font-size: 18px;
        padding: 4px;
        cursor: pointer;
        transition: .3s;
    }
    
    .space2{
        height: 10vh;
    }

    h1, h2, h3 {
        margin: 5px 0;
    }
    
    h1 {
        font-size: 1.2em;
        font-weight: 700;
        margin-bottom: 12px;
        text-align: center;
    }
    
    h2 {
        font-size: 1em;
        font-weight: 300;
        margin-bottom: 12px;
        text-align: center;
    }
    
    h3 {
        font-size: 1em;
        margin: 5px 0;
    }
    
    .icon {
        max-width: 30px;
        margin-top: 12px;
    }
    
    p {
        max-width: 2000px;
        margin: 5px auto;
        text-align: center;
    }
    
    header ul li a {
        font-size: 0.7em;
        padding: 5px 12px;
    }

    .content {
        margin-top: 60px;
    }

    .texto {
        font-size: 1.2em;
        margin-bottom: 45px;
    }
    
    .texto2 {
        font-size: 1em;
        margin-bottom: 12px;
    }
    
    #fh5co-blog-section, #fh5co-features, #fh5co-popular-properties, #fh5co-properties, #fh5co-testimonial, #fh5co-about, #fh5co-contact, .fh5co-content-section {
        padding: 4.5em 0;
    }
    
    .container {
        padding: 30px 0;
    }
    
    .heading-section h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }
    
    .heading-section p {
        margin-bottom: 20px;
        font-size: 0.75em;
    }
    
    .property {
        flex: 1 1 180px;
        margin: 5px;
    }
    
    .property .status {
        font-size: 0.75em;
    }
    
    .property .list-details {
        font-size: 0.55em;
    }
    
    .property-details {
        padding: 12px;
    }
    
    .property-details h3 {
        font-size: 1.2em;
        margin-bottom: 5px;
    }
    
    .property-details .price {
        font-size: 1.1em;
        margin-bottom: 5px;
    }
    
    .property-details .address {
        font-size: 0.65em;
    }

}
