:root {
    --primary: #2d2d2d;
    --secondary: #F58A4B;
    --secondary-dark: #E67635;
    --light: #FFF4ED;
    --white: #ffffff;
    --gray: #6b6b6b;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--primary);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= NAVBAR ================= */

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* ================= HERO ================= */

.hero {
    height: 100vh;
    min-height: 650px;
    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
        url('images/maison-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
}

/* ================= SEARCH ================= */

.search-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: auto;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.search-btn {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.search-btn:hover {
    background: var(--secondary-dark);
}

/* ================= TITRES ================= */

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* ================= BIENS ================= */

.featured-section {
    padding: 80px 0;
    background: var(--light);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 25px;
}

.property-card {
    background: var(--white);
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.property-card:hover {
    transform: translateY(-6px);
}

.property-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.property-price {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

/* ================= BOUTON ================= */

.btn-primary {
    display: inline-block;
    margin-top: 30px;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-dark);
}

/* ================= SERVICES ================= */

.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 25px;
}

.service-card {
    background: var(--light);
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

/* ================= CTA ================= */

.cta-section {
    padding: 80px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-family: var(--font-display);
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
}

/* ================= FOOTER ================= */

.footer {
    background: #1f1f1f;
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer h3,
.footer h4 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

.search-row {
    flex-direction: column;
}

.nav-links {
    display: none;
}

.hero-title {
    font-size: 2.5rem;
}

}
.bien-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.biens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
