/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #000000; /* ✅ Texte noir bien visible */
  line-height: 1.6;
}

/* ===== HEADER ===== */
header {
  background-color: #0B6623; /* Vert principal */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  flex-wrap: wrap;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

h1 {
  font-size: 1.2rem;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

/* ===== HERO ===== */
.hero {
  background-color: #eaf6ea;
  text-align: center;
  padding: 50px 20px;
}

.hero h2 {
  color: #0B6623;
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #000;
}

/* ===== ACTIONS ===== */
.actions {
  text-align: center;
  padding: 50px 20px;
}

.actions h2 {
  color: #0B6623;
  margin-bottom: 25px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
}

.action-card {
  background: white;
  border: 2px solid #0B6623;
  border-radius: 12px;
  padding: 25px;
  color: #000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.action-card:hover {
  transform: translateY(-5px);
}

.action-card h3 {
  color: #0B6623;
  margin-bottom: 10px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #0B6623;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 10px;
  }

  .hero h2 {
    font-size: 1.5rem;
  }
}
/* === Bouton DON spécifique à la page d'accueil === */
.don-btn-hero {
  display: inline-block;
  margin-top: 25px;
  background-color: #0B6623;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.don-btn-hero:hover {
  background-color: #094c1c;
  transform: scale(1.05);
}
/* === PAGE À PROPOS === */
.about {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px 25px;
  background-color: #f8fff8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.about h2 {
  color: #0B6623;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.about h3 {
  color: #0B6623;
  margin-top: 25px;
  margin-bottom: 10px;
}

.about p {
  margin-bottom: 18px;
  text-align: justify;
  color: #111;
  font-size: 1rem;
  line-height: 1.8;
}

.edition {
  background-color: white;
  border-left: 4px solid #0B6623;
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

blockquote {
  background-color: #fff;
  border-left: 4px solid #0B6623;
  padding: 15px 20px;
  font-style: italic;
  color: #333;
  border-radius: 8px;
  margin-top: 20px;
}

/* === LANG SWITCH BUTTON === */
#langSwitch {
  background: white;
  color: #0B6623;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#langSwitch:hover {
  background: #f2f2f2;
  transform: scale(1.05);
}
/* === Masquer une langue === */
.hidden {
  display: none !important;
}

/* === Bouton de langue === */
#langSwitch {
  background: white;
  color: #0B6623;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#langSwitch:hover {
  background: #f2f2f2;
  transform: scale(1.05);
}

/* === Popup Don === */
.don-btn-hero {
  display: inline-block;
  margin-top: 25px;
  background-color: #0B6623;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
  cursor: pointer;
}

.don-btn-hero:hover {
  background-color: #094c1c;
  transform: scale(1.05);
}
.hidden {
  display: none !important;
}

#langSwitch {
  background: white;
  color: #0B6623;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#langSwitch:hover {
  background: #f2f2f2;
  transform: scale(1.05);
}

/* Mise en forme du texte */
.about {
  max-width: 950px;
  margin: 50px auto;
  padding: 40px 30px;
  background-color: #f8fff8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.about h2 {
  color: #0B6623;
  text-align: center;
  margin-bottom: 20px;
}

.about h3 {
  color: #0B6623;
  margin-top: 25px;
  margin-bottom: 10px;
}

.about p {
  text-align: justify;
  line-height: 1.8;
  color: #111;
  margin-bottom: 20px;
  font-size: 1rem;
}

blockquote {
  background-color: #fff;
  border-left: 4px solid #0B6623;
  padding: 15px 20px;
  font-style: italic;
  color: #333;
  border-radius: 8px;
  margin-top: 25px;
}
/* === CONTACT PAGE === */
.contact {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px 30px;
  background-color: #f8fff8;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.contact h2 {
  color: #0B6623;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact p {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.contact-card {
  background: white;
  border: 2px solid #0B6623;
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.contact-card:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-card img {
  width: 80px;
  margin-bottom: 10px;
}

.contact-card h3 {
  color: #0B6623;
  margin-bottom: 5px;
}

.info-text {
  margin-top: 25px;
  font-style: italic;
  color: #333;
  font-size: 0.95rem;
}

/* Hide unused languages */
.hidden {
  display: none !important;
}
