
    body {
      background-color: #f8f9fa;
    }

    .section-title h2 {
      font-size: 2.5rem;
      font-weight: 700;
      color: #343a40;
      text-align: center;
      margin-bottom: 15px;
    }

    .section-title p {
      text-align: center;
      color: #6c757d;
      max-width: 700px;
      margin: 0 auto 50px auto;
    }

    #portfolio-flters {
      padding: 0;
      margin: 0 0 40px 0;
      list-style: none;
      text-align: center;
    }

    #portfolio-flters li {
      cursor: pointer;
      display: inline-block;
      padding: 10px 20px;
      margin: 0 10px 10px 0;
      background: #fff;
      border-radius: 50px;
      font-weight: 500;
      color: #495057;
      transition: all 0.3s ease;
    }

    #portfolio-flters li.filter-active,
    #portfolio-flters li:hover {
      background: #0d6efd;
      color: #fff;
    }

    .portfolio-container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .portfolio-item {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .portfolio-item img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .portfolio-item:hover img {
      transform: scale(1.1);
    }

    .portfolio-links {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      gap: 15px;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .portfolio-item:hover .portfolio-links {
      opacity: 1;
    }

    .portfolio-links a {
      color: #fff;
      background: rgba(0,0,0,0.6);
      padding: 10px;
      border-radius: 50%;
      font-size: 1.2rem;
      transition: all 0.3s ease;
    }

    .portfolio-links a:hover {
      background: #0d6efd;
      color: #fff;
    }
    #portfolio-flters li {
    color: #000000 !important; /* Force le texte en blanc */
    background: #ffffff;    /* Fond bleu (optionnel) */
}

#portfolio-flters li.filter-active,
#portfolio-flters li:hover {
    color: #ffffff !important;  /* Texte blanc même au survol */
    background: #007bff !important; /* Fond un peu plus foncé */
}

/* ======== Portfolio Items ======== */
.portfolio-wrap img {
    border-radius: 10px;
}

/* Overlay au hover */
.portfolio-wrap::after {
    background: rgba(0, 0, 0, 0.2) !important; /* overlay semi-blanc */
}

/* Titre et texte des items (si tu as du texte) */
.portfolio-wrap .portfolio-info,
.portfolio-wrap .portfolio-lightbox {
    color: #fff !important;
}

/* ======== Responsive ======== */
@media (max-width: 992px) {
    .portfolio-item {
        flex: 0 0 48%;
    }
}

@media (max-width: 576px) {
    .portfolio-item {
        flex: 0 0 100%;
    }

    #portfolio-flters {
        flex-direction: column;
        gap: 8px;
    }
}
/* Espace entre les items de la galerie */
.portfolio-item {
    margin-bottom: 30px; /* marge en bas */
    padding: 5px; /* optionnel : un petit padding autour de l'image */
}

.portfolio-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* coins arrondis optionnels */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* ombre légère optionnelle */
}
.defilement {
  display: inline-block;
  white-space: nowrap;
  animation: defile 10s linear infinite;
}

@keyframes defile {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
