/* ====== GLOBAL ====== */
* {
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: #000000;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ====== HEADER & NAVIGATION ====== */
header {
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.4s ease;
}

header.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    transition: color 0.3s, border-bottom 0.3s;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
    text-decoration: none; /* on le r�p�te ici pour �tre s�r */
}


/* ====== VIDEO / BANNER ====== */
.video-banner {
    width: 500px;
    height: 250px;
    border-radius: 12px;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    object-fit: cover;
}

/* ====== CONTAINER ====== */
.container {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    max-width: 800px;
    line-height: 1.6;
}

h1 {
    font-size: 2.4em;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

p {
    font-size: 1.15em;
    margin: 1.2rem 0;
    color: #e5e5e5;
}

a {
    color: #FF6347;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ====== IMAGE ====== */
.villa-image {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 750px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.villa-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    nav ul {
        gap: 2rem;
    }

    .video-banner {
        width: 90%;
        height: auto;
    }

    .container {
        width: 90%;
        padding: 1.5rem;
    }

    .villa-image {
        width: 95%;
    }
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        font-size: 1em;
    }

    .video-banner {
        width: 100%;
        border-radius: 8px;
    }

    .container {
        width: 95%;
        padding: 1rem;
    }
}

/* ====== SCROLL EFFECT ====== */
body.scrolled header {
    background: rgba(0, 0, 0, 0.9);
}
.reviews {
    background-color: #000;
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
}

.reviews h2 {
    font-size: 2em;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Grille à 3 colonnes sur grand écran, 2 sur tablette, 1 sur mobile */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.reviews-grid img {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        font-size: 1em;
    }

    .villa-image {
        width: 100%;
        height: auto;
    }
}
/* Ajustement responsive pour les avis */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .reviews-grid img {
        max-width: 100%;
        height: auto;
    }
}
