/* =========================
   STYLES GÉNÉRAUX
   ========================= */
body {
  font-family: 'Tektur';
  color: #000;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.5rem;
}

/* =========================
   HEADER & LOGO
   ========================= */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2.3rem;
  color: #005cb2;
  margin: 20px 0;
}

.logo {
  position: absolute;
  left: 10px;
  top: 5px;
}

.logo img {
  width: 10px;
  height: auto;
}


/* =========================
   PRÉSENTATION
   ========================= */
.presentation {
  align-self: center;
  margin-left: 20px;
  margin-bottom: 15px;
}

.presentation h2 {
  font-size: 2rem;
  color: #000;
  margin: 20px 0;
}

.presentation p {
  font-size: 1.1rem;
  font-family: "Work Sans", sans-serif;
  color: #000;
  margin: 20px 0;
}

/* =========================
   NAVIGATION
   ========================= */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  border-radius: 25px;
  border: 2px solid #000;
  padding: 10px 20px;
  color: #000;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  color: #fff;
  background-color: #000;
}

/* =========================
   SEARCH BAR
   ========================= */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.search-container input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  border: 2px solid #000;
  border-radius: 25px;
  margin-right: 10px;
}

.search-container input[type="text"]:focus {
  outline: none;
  border-color: #1e88e5;
}

.search-container button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #005cb2;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

.search-container button:hover {
  background-color: #004a99;
}

/* =========================
   GALERIE
   ========================= */
.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  position: relative;
}

.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.gallery img {
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.large-image {
  width: 300px;
  height: 500px;
  opacity: 1;
}

.small-image {
  width: 200px;
  height: 340px;
  opacity: 0.7;
}

.fade-in {
  animation: fadeEffect 0.5s ease-in-out;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================
   CARROUSEL NAVIGATION
   ========================= */
.nav-button, .nav-button-l {
  background: rgba(255, 255, 255, 0.7);
  width: 50px;
  height: 50px;
  border: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.3rem;
  color: rgb(0, 0, 0);
  transition: background 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.nav-button:hover, .nav-button-l:hover {
  background: rgba(15, 15, 15, 0.5);
  color: rgb(255, 255, 255);
}

.nav-button {
  right: 20px;
}

.nav-button-l {
  left: 20px;
}

/* =========================
   FILTRES
   ========================= */
.filters-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 20px 0;
}

.filters-container select {
  font-size: 1rem;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  font-family: "Work Sans", sans-serif;
}

.filter-confederation option,
.filter-national-team option {
  font-size: 1.2rem;
  color: #000000;
}

/* =========================
   BOUTONS GÉNÉRAUX
   ========================= */
button {
  background-color: #005cb2;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 20px 0;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
}

/* =========================
   FOOTER
   ========================= */
footer {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #005cb2;
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

footer > div {
  flex: 1;
  margin: 10px;
}

footer h3 {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

footer ul {
  list-style-type: none;
  padding: 0;
}

footer ul li {
  margin: 5px 0;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease-in-out;
}

footer a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

footer p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .gallery {
    gap: 10px;
  }
  .small-image {
    width: 140px;
    height: 250px;
  }
  .large-image {
    width: 200px;
    height: 350px;
  }
  .nav-button, .nav-button-l {
    font-size: 1.2rem;
    padding: 8px 12px;
  }
}