/* === Général === */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #FFD700;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2 {
    margin: 0;
}

/* === Menu fixe === */
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: #111;
    border-bottom: 2px solid #FFD700;
}

.banner {
    background: url('images/banner.jpg') no-repeat center center;
    background-size: cover;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.banner h1 {
    font-size: 2.5em;
    color: #FFD700;
    text-shadow: 2px 2px 5px #000;
}

.banner .logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* === Navigation === */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    background-color: transparent; /* plus de fond noir */
    padding: 0;
    margin: 0;
}

.nav-btn {
    padding: 10px 20px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.nav-btn:hover {
    background-color: #FFD700;
    color: #000;
}

/* === Main content === */
.main-content {
    flex: 1;
    padding-top: 200px; /* espace pour menu fixe */
    background-color: #1A2A40; /* bleu foncé clair */
    color: #FFD700;
}

/* === Hero === */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

/* === Boutons === */
.buttons .btn, .back-home .btn, .filter-btn {
    display: inline-block;
    margin: 10px;
    padding: 15px 30px;
    border: 2px solid #FFD700;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buttons .btn::after, .back-home .btn::after, .filter-btn::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: #FFD700;
    z-index: 0;
    transition: all 0.3s ease;
}

.buttons .btn:hover::after, .back-home .btn:hover::after, .filter-btn:hover::after {
    left: 0;
}

.buttons .btn:hover, .back-home .btn:hover, .filter-btn:hover {
    color: #000;
    z-index: 1;
}

/* === Cards biens === */
.properties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.property-card {
    background-color: #111;
    border: 2px solid #FFD700;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s;
}

.property-card img {
    width: 100%;
    display: block;
}

.property-info {
    padding: 15px;
}

.property-card:hover {
    transform: scale(1.05);
}

/* === Cards agents hiérarchiques === */
.agents {
    display: flex;
    flex-direction: column; /* empile verticalement */
    align-items: center;    /* centre horizontalement */
    gap: 30px;
    padding: 40px 20px;
}

/* Container pour les agents immobiliers sur une ligne */
.agent-row {
    display: flex;
    flex-wrap: wrap;       /* permet plusieurs lignes si besoin */
    justify-content: center;
    gap: 20px;
}

.agent-card {
    background-color: #111;
    border: 2px solid #FFD700;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s;
}

.agent-card img {
    width: 100%;
    display: block;
}

.agent-info {
    padding: 15px;
}

.agent-card:hover {
    transform: scale(1.05);
}

/* === Back home === */
.back-home {
    text-align: center;
    margin: 20px 0;
}

/* === Filters === */
.filters {
    text-align: center;
    padding: 20px 0;
}

.filters .filter-btn {
    font-size: 0.9em;
}

/* === Footer === */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    border-top: 2px solid #FFD700;
}

/* === Texte sous DYNASTY 8 === */
.header-text {
    text-align: center;
    color: #FFD700;
}

.header-text .tagline {
    font-size: 1.8em;
    margin: 10px 0;
}

.header-text .description {
    font-size: 1.1em;
    margin: 10px 0;
}

/* === Intro text === */
.intro-text {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: url('fond_intro.jpg') no-repeat center center;
    background-size: cover; 
    border-radius: 15px;
    color: #FFD700;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.intro-text::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(26, 42, 64, 0.6);
    border-radius: 15px;
    z-index: 0;
}

.intro-text p {
    position: relative;
    z-index: 1;
}