* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Lato, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 135px; /* espace pour top-bar + navbar fixes */
}

/* Header */
.site-header {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
    padding: 20px 0;
}

/* Navbar en haut */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

/* Logo */
.logo {
    height: 75px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}
/* Pour positionner le sous‑menu */
.services-item {
    position: relative;           /* référence pour le sous‑menu */
}

/* Sous‑menu caché par défaut */
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;                    /* juste sous le lien parent */
    left: 0;
    background: #f5f5f5;
    border: 1px solid #ddd;
    min-width: 220px;
    display: none;                /* masqué */
    z-index: 10;
}

/* Style des liens du sous‑menu */
.submenu > li > a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.submenu > li > a:hover {
    background: #eaeaea;
    color: #c62828;
}

/* Top-bar SOUS la navbar */
.top-bar {
    position: fixed;
    top: 105px; /* dépend de la hauteur de ta navbar */
    left: 0;
    width: 100%;
    background-color: #2e6613;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    z-index: 999; /* juste sous la navbar */
}

/* Top-bar liens */
.top-bar a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.top-bar .right span {
    margin-left: 15px;
}

/* Icône Facebook dans la top‑bar */
.top-bar .social {
    margin-left: 12px;           /* espace après le téléphone */
    color: #ffffff;              /* assure la même couleur que le texte */
    text-decoration: none;
    font-size: 18px;             /* adapte la taille si besoin */
}

.top-bar .social:hover {
    color: #cfd8dc;              /* léger changement au survol (optionnel) */
}

/* Navigation links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #4caf50;
}

/* Burger menu */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        text-align: center;
        z-index: 998;
    }

    #menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .main-nav {
        flex-wrap: wrap;
    }
}

/* Slider */
.slider {
    position: relative;
    height: 120vh;
    overflow: hidden;
    z-index: 0;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(46, 102, 19, 0.7); /* Vert foncé transparent */
    border: none;
    color: white;
    font-size: 32px;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 2;
    border-radius: 4px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background-color: rgba(46, 102, 19, 0.9);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    color: white;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.overlay h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.overlay p {
    font-size: 18px;
    margin-bottom: 20px;
}

.services-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
    background-color: white;
}

.service-card {
    display: flex;
    max-width: 550px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1 1 400px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #222;
}

.underline {
    width: 40px;
    height: 3px;
    background-color: #2e6613;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.service-content ul li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.service-content ul li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    color: #2e6613;
}

.cta {
    color: #2e6613;
    font-weight: bold;
    text-decoration: none;
}

.cta:hover {
    text-decoration: underline;
}

.service-image {
    width: 200px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.notre-histoire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 30px;
  background-color: #fff;
  flex-wrap: wrap;
}
.notre-histoire .image img {
    width: 100%;
    height: auto;
    filter: blur(3px);
    object-fit: cover;
    border-radius: 8px; /* optionnel pour des coins arrondis */
}

.notre-histoire .texte {
  max-width: 600px;
  flex: 1;
}

.notre-histoire .soustitre {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #2e6613;
  margin-bottom: 10px;
}

.notre-histoire h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #111;
}

.notre-histoire p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.btn-vert {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2e6613;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-vert:hover {
  background-color: #24530f;
}

.notre-histoire .image {
  flex: 1;
  max-width: 600px;
}

.notre-histoire .image img {
  width: 100%;
  border-radius: 10px;
  filter: blur(2px);
  object-fit: cover;
  height: auto;
}

/* CTA Buttons */
.cta-buttons .btn {
    padding: 12px 24px;
    margin: 0 10px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

.btn.green {
    background-color: #4caf50;
    color: white;
}

.btn.white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

    .navbar .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5em;
    }

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive text */
@media (max-width: 600px) {
    .overlay h1 {
        font-size: 24px;
    }

    .overlay p {
        font-size: 16px;
    }

    .cta-buttons .btn {
        margin: 5px 0;
    }
}

.site-footer {
  background-color: #2e6613;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 60px;
}
