/* Reset senp */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

/* Menu navigasyon */
header nav {
  background: linear-gradient(90deg, #003366, #0066cc);
  padding: 15px;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

header nav ul li {
  margin: 0 20px;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ffcc00;
}

/* Hero Section */
.hero {
  text-align: center;
  background: linear-gradient(135deg, #003366, #0066cc);
  color: white;
  padding: 120px 20px; /* plis espas anwo ak anba */
}

.hero h1 {
  font-size: 3.8em;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.7);
  margin-bottom: 40px; /* espas ant tit ak logo */
}

.hero img {
  width: 180px; /* gwosè logo */
  display: block;
  margin: 0 auto; /* santre logo a */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Matchs en Direct */
.live-scores {
  background: #ffffff;
  margin: 40px auto;
  padding: 20px;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.live-scores h2 {
  color: #003366;
  margin-bottom: 15px;
}

/* Publications Récentes */
.news {
  background: #e9f2ff;
  padding: 30px;
}

.news h2 {
  text-align: center;
  color: #0066cc;
  margin-bottom: 20px;
}

.news .carousel {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.news article {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
}

.news article img {
  max-width: 100%;
  border-radius: 5px;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
.apropos {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.apropos h1 {
  color: #003366;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.apropos p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.organisateurs {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pays {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 250px;
  padding: 15px;
}

.pays img {
  width: 100%;
  border-radius: 8px;
}

.pays h3 {
  color: #0066cc;
  margin-top: 10px;
}

.pays p {
  font-size: 0.95em;
  color: #555;
}
.news {
  padding: 60px 20px;       /* plis espas anwo ak anba */
  background: #f4f4f4;      /* background pi klè */
}

.news h2 {
  color: #003366;
  margin-bottom: 30px;
  font-size: 32px;          /* tit pi gwo */
  text-align: center;       /* tit nan mitan */
  text-transform: uppercase;
}

.grid-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 25px;                /* plis espas ant box yo */
  max-width: 1000px;        /* limite lajè total */
  margin: 0 auto;           /* mete yo nan mitan paj la */
}

.grid-news article {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.grid-news article:hover {
  transform: translateY(-5px); /* efè hover pou fè yo leve yon ti kras */
}

.grid-news img {
  width: 100%;
  height: 180px;
  object-fit: cover;        /* imaj yo koupe pou yo rantre byen */
}

.grid-news h3 {
  font-size: 20px;
  color: #003366;
  margin: 15px;
}

.grid-news p {
  margin: 0 15px 15px;
  color: #555;
}

.grid-news a {
  display: inline-block;
  margin: 0 15px 15px;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}
/* Seksyon global */
.apropos, .histoire, .organisateurs {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center; /* Santre tout kontni */
}

.apropos h1, .histoire h1, .organisateurs h1 {
  color: #003366;
  margin-bottom: 25px;
  font-size: 32px;
  font-weight: bold;
}

.apropos p, .histoire p, .organisateurs p {
  font-size: 18px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

/* Organisateurs */
.pays-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.pays {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  padding: 25px;
  width: 280px;
  text-align: center;
}

.pays img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.pays h2 {
  margin-top: 10px;
  color: #003366;
  font-size: 22px;
  font-weight: bold;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}
body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
}

header {
  background: #004080;
  color: white;
  text-align: center;
  padding: 20px;
}

.filters {
  display: flex;
  justify-content: center;
  margin: 20px;
}

.filters button {
  margin: 0 10px;
  padding: 10px 15px;
  background: #0080ff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.filters button:hover {
  background: #005bb5;
}

#match-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.match-card {
  background: white;
  margin: 15px;
  padding: 15px;
  width: 280px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.match-card:hover {
  transform: scale(1.05);
}

.match-card img {
  width: 40px;
  margin-right: 10px;
}
.navbar {
  background: #004080;
  padding: 10px 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar ul li {
  margin: 0 15px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
}

.navbar ul li a:hover {
  background: #005bb5;
  border-radius: 5px;
}

.navbar ul li a.active {
  background: #0080ff;
  border-radius: 5px;
}
/* Section Équipes */
.teams {
  padding: 20px;
  background: #f4f4f4;
}

.teams h2 {
  text-align: center;
  color: #002244;
  margin-bottom: 30px;
}

/* Bloc Confédération */
.confederation {
  margin-bottom: 30px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.confederation h3 {
  color: #002244;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* Liste des équipes */
.confederation ul {
  list-style: none;
  padding: 0;
}

.confederation ul li {
  margin: 10px 0;
}

.confederation ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s, transform 0.2s;
}

.confederation ul li a:hover {
  color: #ffcc00;
  transform: translateX(5px);
}
/* Style pou paj detay ekip yo */
.team-details {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px;
}

.team-details h2 {
  color: #002244;
  margin-top: 20px;
}

.team-details ul {
  list-style: square;
  padding-left: 20px;
}

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corps du site */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #0a2a43;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  border-bottom: 4px solid #ffcc00;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffcc00;
}

/* Sections principales */
main {
  padding: 30px;
}

/* Titres */
h2, h3 {
  color: #0a2a43;
  margin-bottom: 10px;
}

/* Cartes génériques */
.card, .match-card, .stadium-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 15px;
  padding: 20px;
  transition: transform 0.2s;
}

.card:hover, .match-card:hover, .stadium-card:hover {
  transform: scale(1.03);
}

/* Grilles */
.stadiums-grid, .matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Images */
.stadium-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* Boutons */
button {
  background: #0a2a43;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #ffcc00;
  color: #0a2a43;
}

/* Footer */
footer {
  background: #0a2a43;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  border-top: 4px solid #ffcc00;
}
.flags {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.flags img {
  width: 60px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.match-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  margin: 15px;
  width: 280px;
  display: inline-block;
}
.hidden {
  display: none;
}
/* --- Fan Zone --- */
.predictor, .leaderboard {
  background: #ffffff;
  margin: 30px auto;
  padding: 25px;
  border-radius: 10px;
  max-width: 700px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Tit seksyon yo */
.predictor h2, .leaderboard h2 {
  text-align: center;
  color: #002244;
  margin-bottom: 20px;
  font-size: 1.8em;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 10px;
}

/* Formulaire Predictor */
.predictor form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.predictor label {
  font-weight: bold;
  color: #333;
}

.predictor select {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.predictor button {
  padding: 12px;
  border: none;
  background: #002244;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.predictor button:hover {
  background: #ffcc00;
  color: #002244;
}

/* Rezilta prediksyon */
#prediction-result {
  margin-top: 15px;
  font-size: 1.2em;
  font-weight: bold;
  color: #006400;
  text-align: center;
}

/* Leaderboard */
.leaderboard table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.leaderboard th, .leaderboard td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.leaderboard th {
  background: #002244;
  color: #fff;
}

.leaderboard tr:nth-child(even) {
  background: #f9f9f9;
}

.leaderboard tr:hover {
  background: #fffae6;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px;
}

.product {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.product img {
  max-width: 100%;
  border-radius: 8px;
}

.product h3 {
  margin: 10px 0;
  color: #002244;
}

.product .price {
  font-weight: bold;
  color: #006400;
}

.add-cart {
  margin-top: 10px;
  padding: 10px;
  background: #002244;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.add-cart:hover {
  background: #ffcc00;
  color: #002244;
}
/* Style global */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #333;
}

/* Navigation */
.navbar {
  background: #002244;
  padding: 15px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center; /* mete meni an nan mitan */
  gap: 30px;
  margin: 0;
  padding: 0;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}
.navbar ul li a:hover {
  color: #ffcc00;
}
.navbar ul li a.active {
  color: #ffcc00;
}

/* Section bienvenue */
.welcome {
  text-align: center;
  padding: 40px 20px;
}
.welcome h1 {
  font-size: 26px;
  color: #004488;
  margin-bottom: 10px;
}
.welcome p {
  font-size: 18px;
  color: #555;
}/* Reset senp pou tout paj yo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background: #002244;
  padding: 15px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s;
}
.navbar ul li a:hover {
  color: #ffcc00;
}
.navbar ul li a.active {
  color: #ffcc00;
}

/* Section bienvenue */
.welcome {
  text-align: center;
  padding: 40px 20px;
}
.welcome h1 {
  font-size: 26px;
  color: #004488;
  margin-bottom: 10px;
}
.welcome p {
  font-size: 18px;
  color: #555;
}

/* Formulaire Contact */
.contact-form {
  background: #fff;
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form label {
  font-weight: bold;
  color: #004488;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form textarea {
  min-height: 120px;
}
.contact-form button {
  padding: 12px;
  border: none;
  background: #002244;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #ffcc00;
  color: #002244;
}

/* Footer */
footer {
  background: #002244;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
/* Reset senp */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background: #002244;
  padding: 15px;
}
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: 0.3s;
}
.navbar ul li a:hover {
  color: #ffcc00;
}
.navbar ul li a.active {
  color: #ffcc00;
}

/* Section bienvenue */
.welcome {
  text-align: center;
  padding: 40px 20px;
}
.welcome h1 {
  font-size: 26px;
  color: #004488;
  margin-bottom: 10px;
}
.welcome p {
  font-size: 18px;
  color: #555;
}

/* Formulaire Contact */
.contact-form {
  background: #fff;
  margin: 30px auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-form label {
  font-weight: bold;
  color: #004488;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}
.contact-form textarea {
  min-height: 120px;
}
.contact-form button {
  padding: 12px;
  border: none;
  background: #002244;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #ffcc00;
  color: #002244;
}

/* Rezilta mesaj apre fòm */
#formResult {
  margin-top: 20px;
  font-weight: bold;
  font-size: 16px;
  display: block;       /* fòse li vizib */
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 5px;
  text-align: left;
}

/* Footer */
footer {
  background: #002244;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}
