/* Styles de base pour la page avec fond noir */
body {
  /* Ne pas modifier le background ici pour garder le fond noir */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Container principal */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #333;
}

/* Style du logo */
.logo-club {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.logo-club:hover {
  transform: scale(1.05);
}

/* Titres */
h1, h2 {
  color: #0a3d62;
  background: none;
  text-shadow: none;
}

h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #0a3d62;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Sections d'actualités et matchs */
.club-actus, .matchs-weekend {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin: 25px auto;
  max-width: 90%;
  color: #333;
}

/* Style des actualités */
.actu {
  background-color: #f5f5f5;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border-left: 4px solid #0a3d62;
  text-align: left;
}

.actu strong {
  color: #0a3d62;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.actu em {
  color: #666;
  font-size: 0.9rem;
}

/* Container pour les matchs */
.match-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
}

/* Style des cartes de match */
.match-card {
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.match-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* En-tête du match avec le nom des équipes */
.match-header {
  background-color: #252424;
  color: rgb(185, 182, 182);
  padding: 12px 15px;
  font-size: 1.1rem;
  text-align: center;
}

.match-header strong {
  display: block;
  font-weight: 600;
}

/* Détails du match */
.match-details {
  padding: 15px;
  color: #333;
}

.match-info {
  margin-bottom: 8px;
  color: #444;
}

.match-score {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 12px;
  text-align: center;
}

/* Classes pour les scores */
.score-vert {
  color: #27ae60;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 0 5px;
}

.score-rouge {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 0 5px;
}

.score-egalite {
  color: #f39c12;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 0 5px;
}


/* Style amélioré pour la section actualités de la page d'accueil */
.actualites-accueil {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #8b9cad;
    padding: 30px 15px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    
}

.actualites-accueil::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.actualites-accueil h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 12px;
}

.actualites-accueil h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #f5f6fa;
    border-radius: 2px;
}

.actualites-liste {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.actualite-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.actualite-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left-color: #2ecc71;
}

.actualite-date {
    color: #6c757d;
    font-size: 0.9rem;
    min-width: 90px;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.actualite-item a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    flex-grow: 1;
    padding-left: 15px;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.actualite-item a:hover {
    color: #3498db;
}

.voir-toutes {
    display: inline-block;
    text-align: center;
    margin-top: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background-color: #3498db;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.voir-toutes:hover {
    background-color: #2980b9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%) translateY(-2px);
}

/* Responsive design */
@media (max-width: 992px) {
  .container, .club-actus, .matchs-weekend {
    max-width: 95%;
  }
  
  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  .match-card {
    max-width: 100%;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .club-actus, .matchs-weekend {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .logo-club {
    max-width: 100px;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .actu, .match {
    padding: 10px;
  }
  
  .actu strong, .match strong {
    font-size: 1rem;
  }
  
  .container, .club-actus, .matchs-weekend {
    padding: 15px 10px;
  }
  
  /* Style responsive */
@media (max-width: 576px) {
    .actualite-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .actualite-date {
        margin-bottom: 5px;
    }
    
    .actualite-item a {
        padding-left: 0;
    }
}
}