/* --- Reset général --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
  }
  
  /* Fond du body avec bg.jpg */
  body {
    background: url('../bg.jpg') no-repeat center center/cover;
    position: relative;
  }
  
  /* Overlay sombre */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 0;
  }
  
  /* Structure globale en colonnes */
  body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  /* --- Barre de navigation --- */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(28,28,28,0.8);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  }
  
  .nav-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
  }
  
  .nav-logo, .laga {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
  }
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #f39c12;
  }
  
  /* --- Contenu principal --- */
  .events-main {
    flex: 1;
    padding-top: 60px;   /* Espace pour la navbar */
    padding-bottom: 60px; /* Espace pour le footer */
    position: relative;
    z-index: 5;
    width: 100%;
    overflow-y: auto;  /* Permet de défiler si le contenu dépasse */
  }
  
  /* ----- Compte à rebours ----- */
  .countdown-section {
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
    animation: fadeIn 1s ease-in;
  }
  
  .countdown-section h1 {
    font-family: 'Sawarabi Gothic', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  #countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .time-box {
    background: rgba(28,28,28,0.8);
    padding: 15px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
  }
  
  .time-box span {
    font-size: 2rem;
    display: block;
    color: #f39c12;
  }
  
  .time-box p {
    font-size: 0.9rem;
    color: #fff;
    margin-top: 5px;
  }
  
  /* ----- Événements passés ----- */
  .past-events {
    padding: 20px;
    color: #fff;
    animation: fadeIn 1s ease-in;
  }
  
  .past-events h1 {
    font-family: 'Sawarabi Gothic', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
  }
  
  .event-card {
    background: rgba(28,28,28,0.85);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.3s;
  }
  
  .event-card:hover {
    transform: translateY(-5px);
  }
  
  .event-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .event-info {
    padding: 15px;
  }
  
  .event-info h2 {
    font-family: 'Sawarabi Gothic', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f39c12;
  }
  
  .event-info p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* --- Footer --- */
  .footer {
    background: rgba(28,28,28,0.8);
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer p {
    margin-bottom: 5px;
    text-align: center;
    font-size: 0.9rem;
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1);
  }
  
  /* Filtres pour recolorer les icônes */
  .social-icons a.fb-icon img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(97%) saturate(1797%) hue-rotate(200deg) brightness(92%) contrast(101%);
  }
  
  .social-icons a.mail-icon img {
    filter: brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(7486%) hue-rotate(354deg) brightness(96%) contrast(107%);
  }
  
  .social-icons a.wp-icon img {
    filter: brightness(0) saturate(100%) invert(66%) sepia(48%) saturate(442%) hue-rotate(78deg) brightness(91%) contrast(88%);
  }
  
  /* --- Animations --- */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* --- Responsive --- */
  @media (max-width: 768px) {
    .menu-btn {
      display: block;
    }
    
    .nav-links {
      position: fixed;
      top: 50px;
      left: 0;
      width: 100%;
      background: rgba(28,28,28,0.8);
      flex-direction: column;
      align-items: center;
      display: none;
    }
    
    .nav-links li {
      margin: 10px 0;
    }
    
    .nav-links.active {
      display: flex;
      animation: slideDown 0.5s ease;
    }
    
    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
  .events-container a {
    text-decoration: none;
    color: inherit;
  }
  