/* Fond d'écran avec fondu */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: white;
  overflow-x: hidden;
  position: relative;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.background-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ombre sombre sur tout l'écran */
  z-index: -1; /* Assurez-vous que l'overlay soit en dessous du texte */
}

/* Le reste de ton style */
nav {
  background: rgba(0, 0, 0, 0.6); /* déjà bien */
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 40px;
  margin: 80px 20px 20px 20px; /* Pour ne pas être collé aux bords */
  border-radius: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5rem;
}

section {
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.4); /* Fond sombre derrière les sections */
  backdrop-filter: blur(5px);
  margin: 40px 20px;
  border-radius: 20px;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding: 0 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5); /* Fond derrière le formulaire */
  backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 20px;
}

form input, form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
}

form button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background-color: #ffffff;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
}

form button:hover {
  background-color: #ddd;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.9rem;
}

a {
  color:  #02ebfe 
}

#ils-sont-passes-par-la {
  padding: 4rem 2rem;
  background: #f0f4f8;
  text-align: center;
}

#ils-sont-passes-par-la h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  position: relative;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: white;
}

.overlay h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.overlay p {
  margin: 0;
  font-size: 1.1rem;
  font-family: 'Roboto', sans-serif;
}


.tony-estanguet {
  background-image: url('https://www.francebleu.fr/s3/cruiser-production-eu3/2025/02/3eb6b85c-c1f6-482d-bb6f-046dfbbeb234/1200x680_sc_gettyimages-543891476.jpg'); 
}

.denis-gargaud {
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSHd58qmlgU45pwjHlpPJqIdKmJoJKKHH6EzQ&s'); 
}

.fabien-lefevre {
  background-image: url('https://www.canoeicf.com/sites/default/files/styles/full_athlete/public/fabien-lefevre-usa.jpg?itok=qb1ygwid'); 
}

.samuel-hernanz {
  background-image: url('https://media.eitb.eus/multimedia/images/2012/06/06/667895/667895_Samuel_Hernanz__foto610x342.jpg'); /* à remplacer */
}

.carole-bouzidi {
  background-image: url('https://cdn-s-www.leprogres.fr/images/C5B8EAD1-C579-4549-B951-858D5127C165/NW_raw/carole-bouzidi-n-a-pas-reussi-a-accrocher-la-victoire-photo-dr-1619616426.jpg'); /* à remplacer */
}

.boris-neveu {
  background-image: url('https://imgresizer.eurosport.com/unsafe/2560x1440/filters:format(jpeg)/origin-imgresizer.eurosport.com/2023/10/08/3800232-77294568-2560-1440.jpg');
}

.angele-hug {
  background-image: url('https://www.lequipe.fr/_medias/img-photo-jpg/angele-hug-avec-sa-medaille-d-argent-decrochee-au-kayak-cross-s-mantey-l-equipe/1500000002019181/752:106,1868:1222-828-828-75/7bf5d'); /* à remplacer */
}

.manon-hostens {
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/2b/2022_ICF_Canoe_Slalom_World_Championships_-_Anatole_Delassus_-_France_-_by_2eight_-_9SC1919.jpg'); /* à remplacer */
}

.textefin {
  color:  #000000 ;
}

.social.facebook {
  background-image: url('facebooklogo.png');
}

.social.instagram {
  background-image: url('instalogo.png');
}

#reseaux-sociaux {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  background: url('chemin/vers/ton-image.jpg') center/cover no-repeat;
  overflow: hidden;
}

#reseaux-sociaux .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#reseaux-sociaux h2 {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  font-family: 'Poppins', sans-serif;
}

.social-links {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social:hover {
  transform: scale(1.1);
}

 h4 {
  text-align: center;
}

#dossier-inscription {
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  margin: 40px 20px;
  border-radius: 20px;
  position: relative;
}

#dossier-inscription .overlay {
  max-width: 700px;
  margin: 0 auto;
}

#dossier-inscription h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

#dossier-inscription p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.btn-inscription {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.btn-inscription:hover {
  background: #dddddd;
}
