/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4fdf6;
    color: #333;
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #14532d; /* vert foncé */
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #22c55e; /* vert nature */
}

/* ================= MENU MOBILE ================= */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 768px){
    .menu-toggle {
        display: block;
    }
    header nav ul {
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #14532d;
        width: 200px;
        display: none;
    }
    header nav ul.active {
        display: flex;
    }
    header nav ul li {
        margin: 15px 0;
        text-align: center;
    }
}

/* ================= SLIDER ================= */
.slider {
    position: relative;
    overflow: hidden;
    height: 70vh;
}

.slides .slide {
    display: none;
    width: 100%;
    height: 70vh;
}

.slides .slide.active {
    display: block;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.slide-text h1 {
    font-size: 48px;
}

.slide-text p {
    font-size: 20px;
}

/* boutons slider */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 25px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1001;
}

.prev:hover, .next:hover {
    background-color: #22c55e;
}

.prev { left: 20px; }
.next { right: 20px; }

/* ================= HERO GALERIE ================= */
.gallery-hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
}

.gallery-hero p {
    font-size: 22px;
    color: #22c55e; /* texte vert nature */
    font-weight: bold;
}

/* ================= SERVICES ================= */

.services, .home-services {
    padding: 40px 30px;
    text-align: center;
    background-color: #fff;
}
.services h2, .home-services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #14532d;
}
/*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}
.card {
    background-color: #ecfdf5;
    padding: 30px;
    border-radius: 10px;
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-10px);
}
.card h3 {
    color: #22c55e;
}
*/
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}
.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border-top: 5px solid #22c55e;
    transition: 0.3s;
}
.card:hover {
    transform: translateY(-10px);
}
.card h3 {
    color: #16a34a;
}


/* ================= BOUTON ================= */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
}

/* ================= GALERIE ================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    padding: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* overlay */
.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
}

/* ================= LIGHTBOX ================= */
.lightbox {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

/* fermer */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* flèches lightbox */
.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.lightbox .prev { left: 30px; }
.lightbox .next { right: 30px; }

/* ================= CONTACT ================= */
.contact {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.contact-box {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.contact button {
    width: 100%;
    padding: 12px;
    background-color: #22c55e;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.contact button:hover {
    background-color: #16a34a;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 20px;
    background-color: #14532d;
    color: #fff;
}