body {
    margin: 0;
    padding: 0;
    background: url('samurai2.jpg') no-repeat center center fixed;
    background-repeat: repeat;
  background-size: cover; /* Ne coupe rien, toute l'image est visible */
  background-position: top center; /* Garde le haut visible */
  background-attachment: fixed;
  background-color: black; /* Une couleur de fond si l'image ne remplit pas tout */
  
  

    font-family: 'Cinzel', sans-serif;
    color: white;
    min-height: 100vh;
  }
  

/* Bouton burger + texte */
    .menu-toggle {
      display: flex;
  align-items: center;
  padding: 10px 15px;
  margin: 20px;
  cursor: pointer;
  /*border: 2px solid black;      /* ✅ BORDURE */
  border-radius: 8px;           /* ✅ BORDS ARRONDIS */
  width: fit-content;           /* ✅ Le cadre s’adapte au contenu */
  background: rgba(0, 0, 0, 0.6);
  /*background-color: #ffffffaa;  /* Optionnel : fond semi-transparent */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); /* Optionnel : ombre douce */

    }
    .menu-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 22px;
      margin-right: 10px;
    }

    .menu-icon div {
      width: 30px;
      height: 4px;
      background-color: red;
      transition: 0.3s;
    }

    .menu-text {
      font-size: 1.3rem;
      font-family: Arial, sans-serif;
      font-weight: bold;
      color: red;
      
    }

    /* Menu caché au départ */
    .menu {
      display: none;
      background-color: transparent;
      padding: 20px;
    }

    .menu.active {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    .menu a {
      flex: 1 1 30%;
      min-width: 100px;
      text-align: center;
      padding: 12px;
      /*background-color: #e0e0e0;*/
      background: linear-gradient(180deg, black,rgb(72, 72, 72),black);
      font-size: 1.5rem;
      /*font-family: Arial, sans-serif;*/
      font-weight: bold;
      color: red;
      /*color: black;*/
      text-decoration: none;
      border-radius: 6px;
      transition: background-color 0.3s;
    }

    .menu a:hover {
      background-color: #ccc;
    }

    @media (max-width: 600px) {
      .menu a {
        flex: 1 1 45%;
      }
    }
   .lien-special {
      color: red;
      text-decoration: none;
    }

    .lien-special:hover {
      color: darkred;
    }

  .top-nav {
     background: linear-gradient(180deg, black,rgb(72, 72, 72),black); 
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .navbar a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
     font-size: clamp(0.5rem, 1.6vw, 1.5rem);
    font-weight: bold;
  }
  
  .navbar a:hover {
    color: #ff0000;
  }
  
  .container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  
  .materiel-encart {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 50px;
    width: 80%;
  }
  
  .materiel-description h2 {
    font-size: 2rem;
    text-decoration: underline;
    margin-bottom: 10px;
  }
  
  .materiel-description p {
    margin: 5px 0;
    font-size: 1.2rem;
     line-height: 2.6;  
  }
  
  .gallery {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
  }
  
  .thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #00ff88;
    border-color: #00ff88;
  }
  
  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
  }
  
  .close {
    color: white;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: 40px;
    cursor: pointer;
  }
  
  .nav-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .prev, .next {
    font-size: 50px;
    color: white;
    cursor: pointer;
    user-select: none;
  }


   @media (max-width: 600px) {
      .menu a {
        flex: 1 1 45%;
      }
    }
  
 @media (max-width: 768px) {
      .item {
        flex-direction: column !important;
        text-align: center;
      }

      .item img {
        width: 100%;
      }}


.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: bold;
  background-color: #f5f5f5;
  color: #333;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}