:root {
  --color-bg: #F5F5F5;
  --color-text: #333;
  --color-primary: #2E7D32;
  --color-secondary: #228B22;
  --color-accent: #66BB6A;
  --color-hover: #1C6E1C;
  --color-white: #fff;
}

/* ===== Global ===== */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* ===== Header ===== */
header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  height: 120px;
  margin-left: 15px;
}

header h1 {
  flex-grow: 1;
  text-align: center;
  font-size: 1.5em;
  margin: 0;
}

/* ===== Menu hamburger ===== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-menu div {
  background-color: var(--color-white);
  width: 25px;
  height: 3px;
  margin: 4px 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ===== Navigation ===== */
nav {
  display: flex;
  gap: 10px;
}

nav a {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: var(--color-hover);
}

/* ===== Hero ===== */
.hero {
  background: url("img/hero.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2em;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  padding: 12px 30px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-primary);
}

/* ===== Vidéo ===== */
.video-container {
  text-align: center;
  padding: 20px;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.video-wrapper iframe {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
}

/* ===== Section À propos ===== */
.about {
  padding: 60px 20px;
  background-color: #fff;
  color: var(--color-text);
}

.about-container {
  align-items: center;
  max-width: 1500px; /* largeur max du contenu */
  margin: 0 auto;  /* centre horizontalement */
  display: grid;
  grid-template-columns: 2fr 1fr;  /* texte = 2/3, image = 1/3 */
  gap: 50px;
  align-items: center;
  
  
}

.about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-text h3 {
  margin-top: 20px;
  font-size: 1.3em;
  color: var(--color-secondary);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-text strong {
  color: var(--color-primary);
}

.engagements {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.engagements li {
  margin-bottom: 10px;
  font-weight: 700;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    right: 15px;
    background-color: var(--color-primary);
    width: 200px;
    padding: 15px;
    border-radius: 5px;
  }

  nav a {
    padding: 10px;
    text-align: center;
  }

  nav.active {
    display: flex;
  }

  .hero {
    height: 250px;
    text-align: center;
  }

  .logo {
    height: 50px;
  }

  .hero-text h1 {
    font-size: 1.5em;
  }

  .hero-text p {
    font-size: 1em;
  }

  .cta-button {
    font-size: 1em;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    margin-bottom: 20px;
  }
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px;
}
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.gallery img:hover {
    transform: scale(1.05);
}
.video-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* espace entre les vidéos */
  flex-wrap: wrap; /* permet de passer en colonne sur petit écran */
}

.video-row iframe {
  max-width: 100%;
  border-radius: 10px;
}
/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #2c7a2c;
}

header img.logo {
  height:50px;
}

header nav a {
  color:white;
  text-decoration:none;
  font-weight:bold;
  margin-left:20px;
}

header nav a:hover {
  text-decoration:underline;
}

/* GALERIE */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap:15px;
  max-width:1000px;
  margin:40px auto;
}
.gallery img {
  width:100%;
  border-radius:10px;
  cursor:pointer;
  transition: transform 0.3s ease;
}
.gallery img:hover { transform:scale(1.05); }

/* FOOTER */
footer { 
  text-align:center; 
  padding:20px; 
  background:#2c7a2c; 
  color:white; 
  margin-top:40px; 
  border-top-left-radius:12px; 
  border-top-right-radius:12px; 
}
.contact {
  max-width: 800px; /* limite largeur */
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.contact-form button {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--color-hover);
}

/* Pop-up */
.popup {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
}



