/* Style global */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  margin-top: 70px; /* Ajuste selon la hauteur de   nav */


}

/* Style de la navigation */
nav {
  position: fixed;            /* Fixe la barre de navigation */
  top: 0;                     /* La colle en haut de la fenêtre */
  left: 0;
  width: 100%;                /* Prend toute la largeur */
  background-color: #f4f4f4;    
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  z-index: 1000;              /* Passe au-dessus du contenu */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* (Optionnel) une ombre discrète */
}

nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

nav a:hover {
  transform: scale(1.1);
  color: #00bcd4;
}

/* Titres */
h1 {
  text-align: center;
  font-size: 32px;
  margin: 40px 20px 20px 20px;
  color: #222;
  text-decoration: underline;

}

h2 {
  font-size: 26px;
  margin: 30px 20px 10px 20px;
  color: #444;
  text-decoration: underline;

}

/* Paragraphes */
p {
  text-align: justify;      /* Justifie le texte */
  max-width: 900px;         /* Limite la largeur pour une meilleure lisibilité */
  margin: 0 auto 30px auto; /* Centre le paragraphe horizontalement et ajoute un espacement en bas */
  line-height: 1.6;         /* Améliore l'espacement entre les lignes */
  font-size: 1.2em;          /* Lisibilité du texte */
}

/* Images des motos */
p img {
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav a {
    margin: 10px 0;
  }

  p img {
    width: 90%;
    max-width: 300px;
  }

  h1, h2, p {
    margin-left: 10px;
    margin-right: 10px;
  }
}
.motos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.zoomable {
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.zoomable:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close-btn {
  color: white;
  font-size: 40px;
  position: absolute;
  top: 20px;
  right: 40px;
  cursor: pointer;
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.caption {
  margin-top: 8px;
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

