/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
  }
  
/* Bannière */
header.banner {
  background-color: #F7A935; /* Couleur du logo */
  display: flex;
  justify-content: space-between; /* Séparer le logo et le menu burger */
  align-items: center; /* Centre les éléments verticalement */
  padding: 5px 20px; /* Réduit le padding pour rendre la barre plus fine */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Ombre légère sous la bannière */
  height: 50px; /* Hauteur réduite de la barre */
}

header.banner .logo img {
  width: 120px; /* Taille réduite du logo */
}

header.banner .menu-toggle {
  display: block; /* Le burger est toujours visible */
  cursor: pointer;
  padding: 8px; /* Réduit le padding du burger */
  z-index: 1000;
  transition: transform 0.3s ease; /* Ajout d'une transition pour un effet fluide */
}

header.banner .menu-toggle:hover {
  transform: scale(1.1); /* Agrandir légèrement le burger au survol */
}

header.banner .menu-toggle span {
  display: block;
  width: 30px;
  height: 4px;
  margin: 5px auto;
  background-color: white;
  border-radius: 5px;
}

/* Menu de navigation */
header.banner .nav-links {
  display: flex; /* Afficher le menu horizontalement sur grand écran */
  justify-content: flex-end; /* Aligner le menu à droite */
  list-style: none;
  margin: 0;
  padding: 0;
}

header.banner .nav-links li {
  margin: 0 12px; /* Réduit l'espace entre les éléments du menu */
}

header.banner .nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 0.9rem; /* Taille réduite du texte */
  padding: 8px 15px; /* Padding réduit */
  transition: color 0.3s ease, background-color 0.3s ease; /* Transition fluide */
}

header.banner .nav-links li a:hover {
  color: #F7A935; /* Changer la couleur du texte au survol */
  background-color: white; /* Fond blanc au survol */
  border-radius: 5px; /* Coins arrondis pour un effet plus doux */
}

/* Styles pour les petits écrans */
@media screen and (max-width: 768px) {
  /* Masquer le menu par défaut sur petits écrans */
  .nav-links {
    display: none;
    width: 100%;
    text-align: center;
  }

  /* Afficher le menu lorsque le bouton burger est cliqué */
  .nav-links.active {
    display: block;
  }

  /* Afficher le bouton burger */
  .menu-toggle {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 30px;
    width: 30px;
  }

  /* Styliser les barres du burger */
  .menu-toggle span {
    display: block;
    height: 4px;
    width: 30px;
    background-color: #333;
    border-radius: 5px;
  }

  /* Empiler les éléments du menu un par un sur petits écrans */
  .nav-links li {
    display: block;
    margin: 10px 0;
  }

  .nav-links a {
    font-size: 18px;
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
  }

  /* Appliquer un fond et une couleur de texte lorsque l'utilisateur survole un élément */
  .nav-links a:hover {
    background-color: #F7A935;  /* Couleur de l'association */
    color: #fff;
  }
}

  /* Lorsque le menu burger est cliqué et que la classe 'active' est ajoutée */
  header.banner .nav-links.active {
    transform: translateX(0); /* Déplier le menu */
  }

  header.banner .nav-links li {
    margin: 15px 0; /* Espacement vertical entre les éléments du menu */
  }

  /* La div burger reste visible */
  header.banner .menu-toggle {
    display: block;
  }


/* Sur grand écran, le menu burger est toujours visible mais le menu est horizontal */
@media (min-width: 769px) {
  header.banner .nav-links {
    display: flex; /* Affiche le menu horizontalement */
    flex-direction: row; /* Aligne les éléments horizontalement */
    justify-content: flex-end;
  }

  /* Le burger n'est plus nécessaire en grand écran */
  header.banner .menu-toggle {
    display: none;
  }
}


/* Menu de navigation */
header.banner .nav-links {
  display: flex; /* Par défaut, afficher le menu horizontalement sur grand écran */
  justify-content: flex-end; /* Aligne le menu à droite */
  list-style: none;
  margin: 0;
  padding: 0;
}

header.banner .nav-links li {
  margin: 0 15px;
}

header.banner .nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

/* Affichage du menu en mode burger sur petit écran */
@media (max-width: 768px) {
  header.banner .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    background-color: #F7A935;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%); /* Masquer le menu par défaut */
    transition: transform 0.3s ease-in-out;
  }

  /* Lorsque le menu burger est cliqué et que la classe 'active' est ajoutée */
  header.banner .nav-links.active {
    transform: translateX(0); /* Déplier le menu */
  }

  header.banner .nav-links li {
    margin: 20px 0;
  }

  /* La div burger reste visible */
  header.banner .menu-toggle {
    display: block;
  }
}

/* Sur grand écran, le menu burger est toujours visible mais le menu est horizontal */
@media (min-width: 769px) {
  header.banner .nav-links {
    display: flex; /* Affiche le menu horizontalement */
    flex-direction: row; /* Aligne les éléments horizontalement */
    justify-content: flex-end;
  }

  /* Le burger n'est plus nécessaire en grand écran */
  header.banner .menu-toggle {
    display: none;
  }
}

  
  /* Carrousel */
  .carousel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    margin-top: 20px;
  }
  
  .carousel-item {
    width: 100%;
    max-width: 1000px;
    display: inline-block;
    transition: transform 0.5s ease;
  }
  
  .carousel-item img {
    width: 100%;
    height: auto;
  }
  
/* Section Nos Actions */
.actions {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .actions h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
  }
  
  .action-item {
    display: inline-block;
    margin: 20px;
    text-align: center;
    width: 30%;
  }
  
  .action-item h3 {
    font-size: 22px;
    margin-top: 10px;
    color: #F7A935;
  }
  
  .action-item p {
    font-size: 16px;
    color: #333;
  }
  
  .action-icon {
    width: 105px;
    height: 105px;
    margin-bottom: 10px;
  }
  
  
  /* Comment aider */
  .help {
    text-align: center;
    padding: 40px 20px;
  }
  
  .help h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .help button {
    font-size: 1rem;
    padding: 15px 30px;
    margin: 10px;
    background-color: #F7A935;
    border: none;
    color: white;
    cursor: pointer;
  }
  
  .help button:hover {
    background-color: #e6892c;
  }
  
  /* Témoignages */
  .testimonials {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .testimonials p {
    font-size: 1.2rem;
    margin: 10px;
    font-style: italic;
  }

  /* Carrousel des partenaires */
  .partner-carusel {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .partner-carusel h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .carusel {
    display: flex;
    overflow: hidden;
    justify-content: center;
    gap: 20px; /* Espacement entre les logos */
    margin-top: 20px;
  }
  
  .carusel-item {
    width: 150px; /* Largeur de chaque logo */
    height: auto;
  }
  
  .carusel-item img {
    width: 100%; /* Réduit les logos à la taille du conteneur */
    height: auto;
    object-fit: contain; /* Assure que les logos sont bien dimensionnés */
    transition: transform 0.3s ease;
  }
  
  
  
  /* MEDIA */
/* Widgets des articles */
.widget-section {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.widget-section h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.article-widget {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin: 20px auto;
  max-width: 800px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: left;
}

.article-widget:hover {
  transform: scale(1.03);
}

.article-widget a {
  display: flex;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.widget-image img {
  max-width: 150px;
  height: auto;
  object-fit: cover;
  border-right: 1px solid #ddd;
}

.widget-content {
  padding: 10px;
}

.widget-content h3 {
  font-size: 18px;
  color: #F7A935;
  margin: 0 0 10px;
}

.widget-content p {
  font-size: 14px;
  color: #333;
  margin: 0;
}

  /* Pied de page */
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  /* Style global pour le site */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  nav {
    background-color: #F7A935;
    padding: 10px;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  
  nav ul li {
    display: inline;
    margin: 0 15px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
  }
  
  /* Header */
  header {
    background-color: #F7A935;
    text-align: center;
    padding: 20px;
  }
  
  header h1 {
    margin: 0;
    font-size: 36px;
    color: #fff;
  }
  
  /* Section Contact */
  .contact {
    padding: 40px 20px;
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .contact h1 {
    font-size: 28px;
    text-align: center;
    color: #333;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }
  
  .contact input, .contact textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
  }
  
  .contact button {
    padding: 12px 20px;
    background-color: #F7A935;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  .contact button:hover {
    background-color: #ff8c00;
  }
  
  /* Section Mentions Légales */
  .mentions-legales {
    padding: 40px 20px;
    background-color: #fff;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .mentions-legales h1 {
    font-size: 28px;
    text-align: center;
    color: #333;
  }
  
  .mentions-legales p {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    color: #333;
  }
  
  /* Section CGU */
.cgu {
  padding: 40px 20px;
  background-color: #fff;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cgu h1 {
  font-size: 28px;
  text-align: center;
  color: #333;
}

.cgu h2 {
  font-size: 22px;
  color: #F7A935;
  margin-top: 30px;
}

.cgu p {
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0;
  color: #333;
}

/* Pour les sous-titres dans les CGU */
.cgu h2 {
  font-size: 20px;
  margin-top: 20px;
  color: #F7A935;
}

/* Mise en forme des listes */
.cgu ul {
  list-style-type: none;
  padding-left: 0;
}

.cgu ul li {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

/* Styles pour le premier footer (informations complètes) */
.primary-footer {
  background-color: #333; /* Fond sombre */
  color: #fff; /* Texte blanc */
  padding: 20px;
  font-size: 14px;
}

.primary-footer h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.primary-footer p, 
.primary-footer a {
  color: #ddd;
  text-decoration: none;
}

.primary-footer a:hover {
  color: #F7A935; /* Effet survol */
}

.primary-footer .footer-top {
  display: flex;
  justify-content: space-around; /* Distribution des sections */
  flex-wrap: wrap; /* Réduit sur petits écrans */
}

/* Styles pour le deuxième footer (mentions légales) */
.legal-footer {
  background-color: #222; /* Fond plus sombre */
  color: #ccc;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
}

.legal-footer p {
  margin: 5px 0;
}

.legal-footer a {
  color: #F7A935;
  text-decoration: none;
}

.legal-footer a:hover {
  text-decoration: underline;
}

  /* --- Main Content --- */
main {
  padding: 40px 20px;
  background-color: #fff;
}

/* --- Section: Our Story --- */
.our-story .container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.story-block {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.story-block .text {
  flex: 1;
  padding: 20px;
}

.story-block .text h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.story-block .text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.story-block .image {
  flex: 1;
  padding: 20px;
}

.story-block .image img {
  width: 100%;
  border-radius: 8px;
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.cta {
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  background-color: #F7A935;
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #ff9000;
}

/* --- Pour les petits écrans (moins de 768px) --- */
@media screen and (max-width: 768px) {
  .our-story .container {
    width: 95%; /* Prendre plus de place sur les petits écrans */
  }

  .story-block {
    flex-direction: column; /* Les sections s'empilent les unes sous les autres */
    align-items: center; /* Centrer les éléments */
  }

  .story-block .text {
    padding: 10px;
    width: 100%; /* Les blocs texte prennent toute la largeur */
  }

  .story-block .image {
    padding: 10px;
    width: 100%; /* Les blocs image prennent toute la largeur */
  }

  .story-block .image img {
    max-width: 100%; /* Assurer que l'image ne dépasse pas la largeur */
    height: auto; /* Maintenir les proportions */
  }

  .story-block .text h2 {
    font-size: 1.5rem; /* Réduire la taille des titres */
    margin-bottom: 10px;
  }

  .story-block .text p {
    font-size: 0.9rem; /* Réduire la taille du texte */
  }

  .cta {
    margin-top: 30px; /* Réduire l'espace en haut du CTA */
  }

  .cta-button {
    font-size: 1rem; /* Réduire la taille du bouton */
    padding: 12px 25px; /* Réduire la taille du bouton */
  }
}

/* -------------------------- Page Fonctionnement -------------------------- */


/* Section de contenu général */
.page-fonctionnement main {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

/* Section Des dons citoyens */
.page-fonctionnement .funding {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.page-fonctionnement .funding p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.page-fonctionnement .funding img {
  max-width: 600px;
  display: block;
  margin: 0 auto;
}

/* Charte éthique et bienveillance */
.page-fonctionnement .charte {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.page-fonctionnement .charte p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.page-fonctionnement .charte a {
  color: #F7A935;
  font-weight: bold;
  text-decoration: none;
}

.page-fonctionnement .charte a:hover {
  text-decoration: underline;
}

/* Pôles de l'association */
.page-fonctionnement .organizational-structure {
  background-color: #f9f9f9;
  padding: 40px;
}

.page-fonctionnement .organizational-structure h2 {
  text-align: center;
  font-size: 28px;
  color: #F7A935;
  margin-bottom: 30px;
}

.page-fonctionnement .organizational-structure .poles {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fonctionnement .organizational-structure .pole {
  background-color: #ffffff;
  padding: 20px;
  width: 22%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.page-fonctionnement .organizational-structure .pole h3 {
  font-size: 20px;
  color: #F7A935;
}

.page-fonctionnement .organizational-structure .pole p {
  font-size: 16px;
  color: #333;
}

/* Projets de l'association */
.page-fonctionnement .our-projects {
  background-color: white;
  padding: 40px;
  margin-bottom: 40px;
}

.page-fonctionnement .our-projects h2 {
  text-align: center;
  font-size: 28px;
  color: #F7A935;
  margin-bottom: 30px;
}

.page-fonctionnement .our-projects .projects {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fonctionnement .our-projects .project {
  background-color: #ffffff;
  padding: 20px;
  width: 30%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.page-fonctionnement .our-projects .project h3 {
  font-size: 18px;
  color: #F7A935;
}

.page-fonctionnement .our-projects .project p {
  font-size: 16px;
  color: #333;
}

/* Comment vous impliquer */
.page-fonctionnement .how-to-get-involved {
  background-color: #f9f9f9;
  padding: 40px;
}

.page-fonctionnement .how-to-get-involved h2 {
  text-align: center;
  font-size: 28px;
  color: #F7A935;
  margin-bottom: 30px;
}

.page-fonctionnement .how-to-get-involved ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.page-fonctionnement .how-to-get-involved ul li {
  font-size: 16px;
  margin: 10px 0;
}

.page-fonctionnement .how-to-get-involved ul li a {
  text-decoration: none;
  color: #F7A935;
  font-weight: bold;
}

.page-fonctionnement .how-to-get-involved ul li a:hover {
  text-decoration: underline;
}

/* Responsiveness pour la page Fonctionnement */
@media (max-width: 768px) {
  .page-fonctionnement .organizational-structure .poles {
      flex-direction: column;
  }

  .page-fonctionnement .organizational-structure .pole {
      width: 100%;
  }

  .page-fonctionnement .our-projects .projects {
      flex-direction: column;
  }

  .page-fonctionnement .our-projects .project {
      width: 100%;
  }
}

