/* ------------------------- Reset simple ------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ------------------------- Body et police ------------------------- */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f5f2; /* Beige clair */
    color: #333;
}

/* ------------------------- Menu ------------------------- */
header {
    background-color: #0a1f44; /* Bleu foncé luxueux */
    color: #fff;
    padding: 15px 0; /* Padding de base */
    position: relative; /* Nécessaire pour le positionnement du bouton hamburger */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

/* Logo */
header .logo {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

header .logo p {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}
header .logo a {
   color: #fff;
	
}

/* Navigation */
header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
header nav ul li {
    margin: 0 20px;
}
header nav ul li a {
    color: #cfa33c; /* Doré pour les liens */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
header nav ul li a:hover {
    text-decoration: underline;
}

aside ul {
    list-style: none;
    padding-left: 0;
}
/* Hamburger button */
.hamburger {
    display: none; /* Par défaut caché */
    flex-direction: column;
    cursor: pointer;
}
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #cfa33c; /* Couleur dorée */
    margin: 5px 0;
    transition: 0.3s;
}

/* ------------------------- Hero ------------------------- */
.hero {
    width: 100%;
    height: 350px;
    background-image: url('https://dubai-immobilier.net/fr//images/immobilier-dubai.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(10, 31, 68, 0.4);
    z-index: 1;
}
.hero h1,
.hero p {
    position: relative;
    z-index: 2;
}
.hero h1 {
    font-size: 48px;
    font-weight: bold;
}
.hero p {
	font-size: 20px;
	margin-top: 10px;
	text-align: center;
}

/* ------------------------- Conteneur principal ------------------------- */
.container {
    display: flex;
    width: 80%;
    margin: 20px auto;
    flex-wrap: wrap;
}
main {
    flex: 3;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}
aside {
    flex: 1;
    padding: 20px;
    background-color: #ece6dd;
    margin-left: 20px;
    border: 1px solid #ddd;
}

/* ------------------------- Footer ------------------------- */
footer {
    background-color: #0a1f44;
    color: #cfa33c;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    font-weight: bold;
}

/* ------------------------- Section quartiers ------------------------- */
.quartiers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.quartier-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    flex: 1 1 calc(50% - 20px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.quartier-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.quartier-card h3 {
    color: #0a1f44;
    margin: 15px;
}
.quartier-card p {
    margin: 0 15px 15px 15px;
    color: #333;
    line-height: 1.5;
}
.quartier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ------------------------- Tableau des prix ------------------------- */
.prix-table {
	margin: 40px auto;
	width: 100%;
	padding: 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow-x: auto; /* scroll horizontal si besoin */
	-webkit-overflow-scrolling: touch; /* scroll fluide iOS */
	font-size: 12px;
	text-align: left;
}
.prix-table h2 {
	text-align: left;
	margin-bottom: 20px;
	color: #0a1f44;
}
.prix-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* fixe la largeur des colonnes */
}
.prix-table table th,
.prix-table table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
    word-wrap: break-word; /* coupe le texte long */
    overflow-wrap: break-word;
}
.prix-table table th {
    background-color: #0a1f44;
    color: #fff;
}
.prix-table table tr:nth-child(even) {
    background-color: #f7f7f7;
}
.prix-table table tr:hover {
    background-color: #f1f1f1;
}

/* ------------------------- Responsive ------------------------- */
@media (max-width: 768px) {
    /* Menu + logo */
    header {
        flex-direction: row;
        padding: 30px 20px; /* augmente hauteur menu */
    }
    header .logo p {
        font-size: 20px;
    }
    header nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .menu-active {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #0a1f44;
        text-align: center;
        padding: 10px;
        z-index: 10;
    }
    .menu-active ul {
        display: flex;
        flex-direction: column;
    }
    .menu-active ul li {
        margin: 10px 0;
    }
    .menu-active ul li a {
        font-size: 18px;
    }

    /* Hero */
    .hero {
        height: 250px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }

    /* Container */
    .container {
        flex-direction: column;
        width: 100%;
    }
    aside {
        margin-left: 0;
        margin-top: 20px;
        flex: 1;
    }

    /* Quartiers */
    .quartiers {
        flex-direction: column;
    }
    .quartier-card {
        flex: 1 1 100%;
    }

    /* Tableau des prix */
    .prix-table {
        padding: 10px;
    }
    .prix-table h2 {
        font-size: 18px;
    }
    .prix-table table th,
    .prix-table table td {
        font-size: 12px;
        padding: 8px;
    }
}


/* ------------------------- Liens sidebar en boutons ------------------------- */
aside ul li a {
    display: block;
    text-decoration: none;
    color: #0a1f44; /* Texte bleu foncé */
    font-weight: 600;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 10px; /* Coins arrondis style bouton */
    background-color: #f7f5f2; /* Même couleur que le fond, léger contraste */
    border: 1px solid #ddd; /* Bordure douce */
    box-shadow: 0 3px 6px rgba(0,0,0,0.05); /* Ombre légère pour effet relief */
    transition: all 0.3s ease;
}

/* Hover : effet bouton “pro” */
aside ul li a:hover {
    background-color: #0a1f44; /* Fond bleu foncé */
    color: #cfa33c; /* Texte doré */
    transform: translateY(-3px); /* Lien “soulève” légèrement */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1); /* Ombre plus prononcée */
}

/* Active / clique */
aside ul li a:active {
    transform: translateY(0); /* Retour à la position initiale */
    box-shadow: 0 3px 6px rgba(0,0,0,0.05); /* Ombre normale */
}

/* Mobile : ajuster le padding et taille */
@media (max-width: 768px) {
    aside ul li a {
        padding: 10px 15px;
        font-size: 14px;
    }
}


/* Style h2 sidebar */
aside h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0a1f44; /* Bleu foncé */
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #cfa33c; /* Souligné doré */
    letter-spacing: 1px; /* Espacement des lettres pour élégance */
    text-transform: uppercase; /* Majuscules pour style moderne */
}

/* Version mobile */
@media (max-width: 768px) {
    aside h2 {
        font-size: 18px;
        padding-bottom: 6px;
    }
}

table.immo {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

table.immo th, table.immo td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

table.immo th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
}

table.immo tr:nth-child(even) {
  background-color: #f9f9f9;
}

table.immo tr:hover {
  background-color: #f1f1f1;
}

table.immo td {
  color: #555;
}


/* Style général du tableau */
table.immo {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

table.immo th, table.immo td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

table.immo th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
}

/* Lignes alternées pour desktop */
table.immo tr:nth-child(even) td {
  background-color: #f9f9f9;
}

table.immo tr:hover td {
  background-color: #f1f1f1;
}

/* Liens dans le tableau */
table.immo a {
  text-decoration: none;
  color: #0077b6;
  transition: color 0.3s, text-decoration 0.3s;
}

table.immo a:hover {
  color: #005f87;
  text-decoration: underline;
}

/* ======= Responsive Mobile ======= */
@media (max-width: 768px) {
  table.immo, table.immo thead, table.immo tbody, table.immo th, table.immo td, table.immo tr {
    display: block;
  }

  table.immo thead tr {
    display: none; /* cache l’en-tête sur mobile */
  }

  table.immo tr {
    margin-bottom: 15px;
    border-radius: 12px;
    padding: 12px 15px;
    background: linear-gradient(145deg, #f9f9f9, #ffffff);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  table.immo tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }

  table.immo td {
    display: block; /* chaque cellule sur sa ligne */
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    text-align: left; /* contenu aligné à gauche */
    font-size: 14px;
    color: #333;
    background-color: #fdfdfd;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  table.immo td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #0077b6;
    display: block;
    margin-bottom: 5px;
  }

  table.immo td:last-child {
    border-bottom: 0;
    margin-bottom: 0;
  }

  /* Style des liens sur mobile */
  table.immo td a {
    display: inline-block;
    padding: 4px 0;
    color: #0077b6;
    text-decoration: none;
    font-weight: 500;
  }

  table.immo td a:hover {
    text-decoration: underline;
    color: #005f87;
  }
}


img.intro {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  object-fit: cover;
}



p {
	text-align: center;
	line-height: 1.6; /* optionnel, pour améliorer la lisibilité */
	margin-bottom: 1em; /* espacement entre paragraphes */
}




footer {
    padding: 15px 20px; /* 15px en haut/bas, 20px à gauche/droite */
    color: #fff;       /* texte blanc */
}


footer p {
  text-align: justify;
  line-height: 1.6; 
  margin-bottom: 1em;
  font-weight: normal; /* empêche le texte d'être en gras */
}


.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;          /* espace entre colonnes */
    margin: 0;
    padding: 0;          /* padding interne supprimé pour que l'espacement soit géré par le footer */
    color: #fff;
}

.footer-info, .footer-links, .footer-social {
    flex: 1 1 200px;
    margin: 0;
    padding: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 20px;
}

.footer-links a, .footer-social a {
    color: #cfa33c;
    text-decoration: none;
}

.footer-links a:hover, .footer-social a:hover,
.footer-contact:hover {
    text-decoration: underline;
}

.footer-contact {
    color: #cfa33c;
    text-decoration: none;
}

.footer-map {
    margin-top: 10px;
    max-height: 200px;
    width: 100%;
}

.footer-bottom {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #444;
    padding-top: 10px;
    color: #fff;
}

footer h4 {
  margin-bottom: 15px; /* augmente l'espace sous le h4 */
}


.immo-links {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px 0;
}

.immo-links p {
  margin: 10px 0;
}

.immo-links strong {
  display: inline-block;
  width: 150px; /* aligne les titres pour une lecture facile */
  color: #333;
}

.immo-links a {
  text-decoration: none;
  color: #007BFF;
  margin-right: 10px;
  transition: color 0.3s;
}

.immo-links a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Optionnel : séparer Vente et Location par un petit style */
.immo-links a + a::before {
  content: "|";
  margin: 0 5px;
  color: #666;
}

.centrer {
    text-align: center;
}



.footer-liens {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #444;
    padding-top: 10px;
    color: #fff;
}
.footer-liens a {
   
    color: #fff;
}


.content-section {
    width: 100%;
    max-width: 100%;
}

.content-section p {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}