body {
    font-family: 'Mulish', sans-serif !important;    margin: 0; /* Supprimer les marges par défaut */
    padding: 0; /* Supprimer les marges internes */
    font-family: "Playfair Display", serif !important;
    background-color: rgb(255, 255, 255);
}


header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 20px 40px;


}


 

/* Liens rouges centrés sous le titre */
.links-under-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 10;
}

.links-under-title a {
    font-size: 18px;
    font-weight: 600;
    color: rgb(125, 19, 19);
    text-decoration: none;
    transition: transform 0.2s;
}

.links-under-title a:hover {
    transform: scale(1.1);
    text-decoration: underline;
}


.nav-links a {
  color: rgb(125, 19, 19);
  text-decoration: none;
  margin: 0px 46px;
  font-weight: 504;
  font-size: 24px;
}


.nav-links a:hover {
text-decoration: underline;
}

/* Logo et titre */
.logo {
  max-height: 116px;
}

.title-image {
  max-height: 80px;
}



/* Drapeaux */


.flag {
  width: 30px;
  cursor: pointer;
  transition: transform 0.2s;
}

.flag:hover {
  transform: scale(1.1);
}




/* ====== CAROUSEL HEADER ====== */
#headerCarousel {
    width: 100%;
    height: 555px; 
    overflow: hidden;
}

#headerCarousel .carousel-inner,
#headerCarousel .carousel-item {
    height: 100%;
}

#headerCarousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* remplit sans déformer */
}


/* ====== DRAPEAUX LANGUES ====== */
.flag {
    width: 22px;      /* taille du drapeau */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
}

.flag:hover {
    transform: scale(1.1); /* effet zoom au survol */
}




/* ====== BARRE DE RECHERCHE ====== */
.search-bar {
    background-color: #1E3A8A;
    position: absolute;
    bottom: 80px; /* au-dessus des liens rouges */
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 10;
    padding: 15px 20px;
    border-radius: 10px;
}

.search-bar .form-control,
.search-bar .form-select {
    background-color: #fff;
    border: 1px solid #ccc;
}

.search-bar .btn-danger {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* Mobile */
@media (max-width: 767px) {
    .search-bar {
        width: 95%;
        padding: 10px 15px;
        bottom: 100px; /* si besoin, ajuste pour mobile */
    }

    .links-under-title {
        display: none; /* liens desktop cachés sur mobile */
    }
}


/*--------- NOUVEAUTE ----------*/

.section-title{
    color: #1E3A8A;
}

.section-hr {
  width: 153px;
  height: 2px;
  background-color: #c72525;
  border: none;
  margin: 10px auto 0;
  border-radius: 2px;
  opacity: 1;
}
/* Cartes biens agrandies */
.bien-card {
    border: 2px solid #1E3A8A; /* bordure bleue */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    height: 350px; /* augmente la hauteur globale de la carte */
}

.bien-card:hover {
    transform: scale(1.03);
}

/* Image plus grande */
.bien-card img {
    width: 100%;
    height: 100%; /* remplit toute la carte */
    object-fit: cover;
}

/* Overlay infos (nom, ville, prix) */
.bien-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1); /* fond blanc opaque */
    padding: 15px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bien-info h3 {
    font-size: 1.2rem; /* plus grand */
    margin: 0;
    font-weight: 600;
    color: #1E3A8A;
}

.bien-info span {
    font-size: 1rem;
    color: #555;
}

.bien-prix {
    font-weight: 700;
    color: #ff0000;
    font-size: 1.1rem;
}

.presentation-text {
    color:#02048d;
    font-size: 19px;
}
/* Responsive */
@media (max-width: 767px) {
    .bien-card {
        height: 300px; /* un peu plus petit sur mobile */
    }
    .bien-info h3 {
        font-size: 1rem;
    }
    .bien-prix {
        font-size: 1rem;
    }
}




  


/* Footer */
.site-footer {
    background-color: #02048d; /* Fond gris foncé */
    color: #fff; /* Texte blanc */
    padding: 40px 20px;
    font-size: 0.9rem;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.site-footer .footer-section {
    flex: 1;
    min-width: 200px;
}

.site-footer h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #bb9058; /* Couleur dorée pour les titres */
}

.site-footer p,
.site-footer ul {
    margin: 0;
    line-height: 1.5;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.site-footer ul li a:hover {
    color: #bb9058; /* Doré au survol */
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    border-top: 1px solid #555;
    padding-top: 10px;
}

.site-footer .footer-bottom p {
    margin: 0;
    color: #aaa;
}

/* Icônes */
.site-footer i {
    margin-right: 10px;
    color: #bb9058; /* Couleur dorée pour les icônes */
}

/* RESPONSIVE DESIGN POUR MOBILE */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empile les éléments sur mobile */
        text-align: center;
    }

    header .logo img {
        max-height: 40px;
    }

    header nav ul {
        flex-direction: column; /* Le menu devient une colonne */
        gap: 15px;
    }

    footer .footer-content {
        padding: 15px;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

.estimation-logo {
    width: 15%;
}


/* ===== BREAKPOINT 990px ===== */
@media (max-width: 990px) {

    .title-image {
        display: none;
    }

    header .row:first-child {
        justify-content: center;
        text-align: center;
    }

    header .col-4.text-start {
        width: 100%;
        text-align: center;
    }

    .flag {
        display: none;
    }


    .logo {
        margin: 0 auto;
        display: block;
    }

    .nav-links {
        display: none;
    }

    .navbar-toggler {
        display: block;
    }
}
