/* Properties Page Styles - Converted from Tailwind CSS */

/* Container principal */
.properties-container {
    width: 100vw;
    height: 95vh;
    position: absolute;
    top:  0;
}

/* Container de l'image */
.properties-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Image principale */
.properties-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Overlay avec dégradé noir */
.properties-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%);
}

/* Couches de blur pour dégradé */
.properties-blur-layer-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    /* backdrop-filter: blur(4px); */
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 100%;
}

/* Bouton OpenMap */
.properties-openmap-btn {
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.3s ease;
}

.properties-openmap-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.properties-openmap-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.properties-openmap-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Réduction de la taille du bouton OpenMap sur petits écrans */
@media (max-width: 640px) {
    .properties-openmap-btn {
        padding: 0.5rem 0.75rem;
    }
    
    .properties-openmap-icon {
        width: 1rem;
        height: 1rem;
    }
    
    .properties-openmap-text {
        font-size: 0.75rem;
    }
}

/* Container du titre */
.properties-title-container {
    position: absolute;
    bottom: 5rem;
    left: 1rem;
    margin-bottom: 0.75rem;
    margin-left: 0.25rem;
}

.properties-main-title {
    color: white;
    font-size: 2.25rem;
    font-weight: bold;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
    white-space: nowrap;
}

/* Ajustement responsive pour le titre */
@media (max-width: 640px) {
    .properties-main-title {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .properties-main-title {
        font-size: 1.5rem;
    }
}

.properties-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-left: 0.25rem;
    margin-top: 0.1rem;
    font-weight: 500;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07));
}

/* Container des boutons de fonctionnalités */
.properties-buttons-container {
    position: absolute;
    bottom: 2rem;
    left: 1.5rem;

    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 500px;
}

@media (min-width: 640px) {
    .properties-buttons-container {
        flex-wrap: nowrap;
    }
}

/* Boutons de fonctionnalités */
.properties-feature-btn {
    padding: 0.5rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

@media (min-width: 640px) {
    .properties-feature-btn {
        padding: 0.75rem 0.75rem;
        gap: 0.75rem;
    }
}

.properties-feature-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.properties-feature-icon {
    width: 1rem;
    height: 1rem;
    color: white;
}

@media (min-width: 640px) {
    .properties-feature-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

.properties-feature-text {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
}



/* Bouton photos */
.properties-photos-btn {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    margin-bottom: 0px;
    padding: 6px 0.5rem;
    margin-left: 0px;
    bottom: 8rem;
    gap: 0.50rem;
    /* /* margin-left: 5px; */
}

@media (min-width: 640px) {

    .properties-feature-text {
        font-size: 0.875rem;
    }

    .properties-photos-btn {
        margin-bottom: 0px;
        margin-left: 0px;
        bottom: 8rem;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

}


.properties-photos-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.properties-photos-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.properties-photos-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    /* display: none; */
}


/* SVG LOGO */

.fa7-solid--bed {
  display: inline-block;
  width: 32px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23fff' d='M32 32c17.7 0 32 14.3 32 32v224h224V160c0-17.7 14.3-32 32-32h160c53 0 96 43 96 96v224c0 17.7-14.3 32-32 32s-32-14.3-32-32v-64H64v64c0 17.7-14.3 32-32 32S0 465.7 0 448V64c0-17.7 14.3-32 32-32m80 160a64 64 0 1 1 128 0a64 64 0 1 1-128 0'/%3E%3C/svg%3E");
}


@media (min-width: 640px) {
    .properties-photos-text {
        display: block;
    }
}

@media (min-width: 640px) {
    .properties-feature-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (min-width: 640px) {
    .properties-buttons-container {
        flex-wrap: nowrap;
    }
}

.container-features-btn {
    display: flex;
    flex-direction: row;
    width: fit-content;
    height: fit-content;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .container-features-btn {
        flex-wrap: nowrap;
    }
}

/* GRADIANT PAS MAL  */
/* Content Properties Styles */

/* Section qui chevauche entre properties-container et content-properties */
/* .overlap-section {
    position: absolute;
    top: 60%;
    right: 2rem;
    width: 320px;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.9) 50%, white 100%);
    z-index: 10;
    backdrop-filter: blur(8px);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
} */

/* Section de contenu principal */
/* .content-properties {
    position: relative;
    top: 25vh;
    min-height: 100vh;
    background-color: white;
    padding: 100px 2rem 2rem 2rem;
} */

/* Media queries pour responsive */
/* @media (max-width: 768px) {
    .overlap-section {
        height: 150px;
        border-radius: 15px 15px 0 0;
    }
    
    .content-properties {
        padding: 80px 1rem 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .overlap-section {
        height: 120px;
        border-radius: 10px 10px 0 0;
    }
    
    .content-properties {
        padding: 60px 1rem 2rem 1rem;
    }
} */
