/* Reset et styles de base */
/* ========== HEADER FIXE ========== */
a {
  text-decoration: none;
  color: inherit;
}

.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #4bfd51;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.navigation {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* ========== LOGO + TITRE ========== */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}
.titre {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
}

/* ========== MENU DESKTOP ========== */
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.menu > a,
.dropdown-btn {
  position: relative;
  padding: 8px 12px;
  font-weight: 500;
  transition: color 0.3s;
  color: white;
}
.menu > a:hover,
.dropdown-btn:hover {
  color: #2e7d32;
}

/* ========== DROPDOWN ========== */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e0e0e0;
  display: none;
  min-width: 180px;
  z-index: 999;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px;
  color: #444;
  transition: background 0.3s;
}
.dropdown-menu a:hover {
  background-color: #5cb85c;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ========== LOGIN BOUTON ========== */
.login {
  background: #4bfd51;
  color: #eee;
  padding: 8px 14px;
  border-radius: 5px;
  transition: background 0.3s;
}
.login:hover {
  background: white;
}

/* ========== MENU BURGER (mobile) ========== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #4bfd51;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid #eee;
  }
  .menu.active {
    display: flex;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    border: none;
    background: #4bfd51;
  }
  .dropdown-menu a {
    padding-left: 20px;
  }
  .menu-toggle {
    display: block;
    color: #2e7d32;
  }
}
.header-title {
  font-size: 3rem;
  margin-top: 20px;
  animation: fadeInDown 1.5s ease-in-out;
  text-align: center;
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Section Hero */
.hero {
  text-align: center;
  padding: 40px 20px;
}

.hero-image {
  width: 50%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.hero-text {
  position: relative;
  color: white;
  background-color: rgba(0, 0, 0, 0.6); /* Fond semi-transparent */
  padding: 20px;
  border-radius: 10px;
  max-width: 100%;
  max-height: 100%;
  animation: fadeIn 2s ease-in-out;
}

.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: slideInLeft 1.5s ease-in-out;
}

.hero-text p {
  font-size: 1.2rem;
  animation: slideInRight 1.5s ease-in-out;
}

.hero-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-100px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
      opacity: 0;
      transform: translateX(100px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Contenu principal */
.content {
  padding: 40px 20px;
}

.section {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.reverse {
  flex-direction: row-reverse;
}

.section-image {
  width: 50%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  margin: 0 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.section-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.section-text {
  width: 50%;
  font-size: 1.2em;
  line-height: 1.6;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.5s ease-in-out;
}

.section-text:hover {
  background-color: rgba(255, 255, 255, 1);
}

.section-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
  animation: fadeInLeft 1s ease-in-out;
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Animation pour le texte */
.section-text p {
  animation: fadeInRight 1s ease-in-out;
}

@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}




:root {
  --primary: #2ecc71;
  --secondary: #27ae60;
  --light: #f8f9fa;
  --dark: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden; /* Empêche le débordement horizontal */
}

main {
  max-width: 100%;
  padding: 20px;
  margin: 0 auto;
}
.timeline-header {
  text-align: center;
  margin-bottom: 40px;
}

.timeline-header h1 {
  color: var(--secondary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.timeline-container {
  position: relative;
  padding: 20px 0;
  width: 100%;
}

/* Ligne centrale verticale */
.timeline-line {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
  transform: translateX(-50%);
}

.milestone {
  display: flex;
  margin-bottom: 30px;
  position: relative;
  padding-left: 80px;
  width: 100%;
}

.year-marker {
  position: absolute;
  left: 30px;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 2;
  border: 3px solid white;
}

.milestone-content {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
}

.milestone-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.milestone-image:hover {
  transform: scale(1.02);
}

.milestone h2 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .timeline-line {
      left: 50%;
  }
  
  .milestone {
      width: 50%;
      padding-left: 0;
      padding-right: 0;
  }
  
  .milestone:nth-child(odd) {
      margin-left: 50%;
      padding-left: 40px;
  }
  
  .milestone:nth-child(even) {
      margin-right: 50%;
      padding-right: 40px;
      justify-content: flex-end;
  }
  
  .year-marker {
      left: 50%;
      transform: translateX(-50%);
  }
  
  .milestone-content {
      width: calc(100% - 40px);
  }
}

@media (max-width: 767px) {
  .milestone-content {
      width: calc(100% - 20px);
  }
}

.footer {
    background-color: #004d40; /* Vert foncé pour refléter l'environnement */
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap; /* Responsive */
    justify-content: space-between;
  }
  
  .footer-container > div {
    flex: 1;
    margin: 10px;
  }
  
  .footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .footer p, .footer ul {
    font-size: 14px;
  }
  
  .footer ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer ul li {
    margin-bottom: 5px;
  }
  
  /* Liens sociaux */
  .footer-social a {
    display: inline-block;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out; /* Ajoute une transition pour la couleur */
  }
  
  .footer-social a:hover {
    transform: scale(1.2);
    color: #4bfd51; /* Vert clair au survol */
  }
  
  
  /* Section bas de page */
  .footer-bottom {
    text-align: center;
    margin-top: 20px;
  }
  
  /* Responsive */
  @media (max-width:768px) {
    .footer-container {
      flex-direction: column; /* Les sections s'empilent sur petits écrans */
      text-align: center; /* Centrer le texte */
    }
  }
 /*fin footer*/ 