/* Réinitialisation rapide */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Supprime le flash bleu au clic */
    -webkit-font-smoothing: antialiased; /* Améliore le rendu des textes */
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'inter', sans-serif;
    font-weight: 300;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: #FFFFFF;
    background-color: #161623; /* Couleur de fond sombre */
  }
  
  html, body {
    -webkit-text-size-adjust: 100%; /* Empêche Safari de zoomer les textes */
  }

  /* ------ HEADER & NAVBAR ------ */
  .main-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background-color: #101018;
    
  }
  
   .navbar {
    display: flex;
    align-items: center;
    /* On place tout à gauche (flex-start) au lieu de répartir l’espace */
    justify-content: space; 
    /* On utilise un léger espace horizontal entre le logo et les liens */
    gap: 2rem;  
    height: 80px;
    padding: 0 2rem;
      }
  
  
  .logo img {
    /* Ajustez la taille de votre logo si besoin */
    height: 60px;
    width: auto;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #058216;
  }
  
  /* Menu Burger pour Mobile */
.burger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background: black;
    width: 100%;
    top: 60px;
    left: 0;
    padding: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .burger-menu {
    display: block;
  }
}
    
  /* ------ SECTIONS GÉNÉRALES ------ */
  section {
    padding: 5rem 2rem;
  }
  
  /* Pour éviter que le contenu ne soit caché par la navbar fixe */
  section:not(.hero-section) {
    margin-top: 60px;
  }
  
  .container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* ------ SECTION SCHEDULE ------ */
  .schedule-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  
  .schedule-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
  }
  
  .schedule-item h3 {
    margin-bottom: 1rem;
    color: #FFFFFF;
  }
  
  .schedule-section h4 {
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    color: #ff0808;
    margin-top: 50px;
  }

  /* ------ SECTION jeux ------ */
  .teams-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    justify-items: center;
  }
  
  @media screen and (max-width: 768px) {
    .teams-grid {
      grid-template-columns: 1fr;
    }
  }

  .team-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    width: 50%;
    max-width: 250px;
  }
  
  .team-card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 1rem;
  }
  
  .team-card h3 {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
  }
  

  .yellow-line {
    border: 0;
    height: 2px;
    background-color: #FCCA03;
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 40px;
}

  /* ------ SECTION CONTACT ------ */
  .contact-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
    color: #FCCA03;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  input[type="text"],
input[type="email"],
textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  
}

  
  /* ------ PIED DE PAGE ------ */
  .main-footer {
    background-color: #101018;
    padding: 2rem;
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content p {
    color: #AAAAAA;
    margin-bottom: 0;
  }
  
  .social-links a {
    color: #FCCA03;
  font-weight: bold;
    margin: 0 0.3rem;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: #ffffff;
  }
  
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: auto;
  }
  