/* ---- Reset ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
}

header {
    background: #3e3e3e;
    color: #fff;
    padding: 1rem 2rem;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    color: #f4c542;
}

.hero {
    background: url('image/IMG-20250917-WA0007.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

section {
    padding: 3rem 2rem;
}

.cta {
    background: #f4c542;
    color: #000;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.cta:hover {
    background: #d9a900;
    color: #fff;
}

footer {
    background: #3e3e3e;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* === MODE SOMBRE === */
body.dark-mode {
    background: #1e1e1e;
    color: #f1f1f1;
}

body.dark-mode header,
body.dark-mode footer {
    background: #111;
}

body.dark-mode a {
    color: #f4c542;
}


/* ========== CAROUSSEL ========== */
.carousel {
    position: relative;
    max-width: 100%;
    margin: 30px auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
}

/* Boutons flèches */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Indicateurs (dots) */
.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #333;
}


/* ========== GALERY REALISATION ========== */
.realisation {
    margin-bottom: 40px;
}

.gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.gallery img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}