footer {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Couleurs au survol */
.footer-links a:hover {
  color: #0077b5; /* Bleu LinkedIn par défaut au survol */
}

/* On peut même être précis si tu veux */
.footer-links a[href*="github"]:hover {
  color: #24292e;
}footer {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Couleurs au survol */
.footer-links a:hover {
  color: #0077b5; /* Bleu LinkedIn par défaut au survol */
}

/* On peut même être précis si tu veux */
.footer-links a[href*="github"]:hover {
  color: #24292e;
}


/* --- NAVIGATION PRINCIPALE --- */
.main-nav {
  display: flex;
  gap: 30px; /* Plus d'espace pour respirer */
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative; /* Nécessaire pour l'animation de la barre */
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* Effet de la barre qui se dessine sous le lien */
.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0077b5; /* Couleur d'accent (ex: bleu LinkedIn) */
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #0077b5;
}

.main-nav a:hover::after {
  width: 100%; /* La barre s'étire sur toute la largeur au survol */
}

/* --- AJUSTEMENT POUR LE MOBILE --- */
@media (max-width: 600px) {
  .main-nav {
    gap: 15px;
  }
  .main-nav a {
    font-size: 0.9rem;
  }
}
#accordion-toggle {
  background: transparent;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 20px; /* Bord arrondi style "pilule" */
  font-weight: bold;
  transition: all 0.3s ease;
}

#accordion-toggle:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}


/* On s'assure que le parent est la référence pour le placement */
#low {
  display: inline-block; /* Garde le bouton à sa place naturelle */
}

/* Style du bouton (on garde ton style actuel) */
#accordion-toggle {
  background: transparent;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Le menu : position absolute pour ne pas décaler le reste du site */
#accordion-menu {
  display: none; 
  position: absolute;
  top: 110%;      /* Apparaît juste en dessous */
  right: 0;        /* Aligné à droite du bouton */
  background: #fff;
  min-width: 230px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 1000;
  border: 1px solid #eee;
  padding: 5px 0;
}

/* Classe de bascule */
#accordion-menu.show {
  display: flex;
  flex-direction: column;
}

/* Style des liens */
#accordion-menu a {
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  border-bottom: 1px solid #f9f9f9;
}

#accordion-menu a:hover {
  background: #f4f4f4;
  color: #0077b5;
}










