body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f9fc;
  color: #333;
}

.topbar {
  background-color: #2d3e50;
  padding: 1em;
  text-align: center;
}

.topbar ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
}

.topbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.site-name {
  font-size: 1.5em;
  color: #00bcd4;
}

.banner {
  background: url('banniere-yahoublo.jpg') center/cover no-repeat;
  height: 300px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2em;
  border-radius: 8px;
}

.buttons a {
  margin: 1em;
  padding: 0.8em 1.2em;
  background-color: #2d3e50;/*#00bcd4*/
  color: white;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5em;
  padding: 2em;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
  padding: 1em;
}

.card img {
  max-width: 100%;
  border-radius: 8px;
}

footer {
  background-color: #2d3e50;
  color: white;
  text-align: center;
  padding: 1.5em 0;
}

/* Logo dans l'en-tête */
.logo {
  height: 32px;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* Nouvelle section avec fond de bannière */
.banner-buttons {
  background: url('banniere-yahoublo.png') center/cover no-repeat;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.banner-buttons .overlay {
  background-color: rgba(0, 0, 0, 0.45);
  padding: 2em;
  border-radius: 10px;
  color: white;
}

.banner-buttons h1 {
  font-size: 1.8em;
  margin-bottom: 1em;
}

/* ... code existant ... */

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .topbar ul {
    flex-direction: column;
    gap: 1em;
  }
  
  .logo {
    height: 24px;
  }

  .banner {
    height: 220px;
    padding: 1em;
  }

  .overlay h1 {
    font-size: 1.4em;
  }

  .buttons a {
    margin: 0.5em;
    padding: 0.6em 1em;
    font-size: 0.9em;
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 1em;
  }

  .card {
    padding: 1em;
  }

  .banner-buttons {
    height: 220px;
    padding: 1em;
  }

  .banner-buttons h1 {
    font-size: 1.3em;
  }

  .buttons a {
    font-size: 0.9em;
    padding: 0.6em 1em;
  }

  footer {
    font-size: 0.9em;
    padding: 1em;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .buttons a {
    font-size: 1em;
    padding: 0.7em 1.1em;
  }
}
