
/* .bann-musee{
  height: 400px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("{{ asset('assets/front/images/guine.jpg') }}");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
} */

.bann-musee {
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.bann-musee span {
    color: white;
    font-size: 2em;
    font-weight: bold;
    z-index: 1; /* Assure que le texte est au-dessus de l'image */
}




.bann-musee::before{
  background-color: rgba(0, 0, 0, 0.5); /* Noir avec 50% d'opacité */
  z-index: -1;
}
/* .bann-musee span{
  color: #ffffff;
  font-weight: bold;
  font-size: xx-large;
} */



#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


@media (max-width: 767px) {

    #map {
      height: 280px;
      order: 2; /* Met la carte après le contenu */
    }

    .content-section {
      order: 1;
    }

    .title {
      font-size: 1.6rem;
      margin-bottom: 15px;
    }

    .description {
      font-size: 0.9rem;
      line-height: 1.6;
    }
  }


#map-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    flex: 2;

    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);

}




/*Le style de la section slide image*/

.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
}

.custom-marker {
    background-color: #3498db;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    border: 2px solid white;
}



.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-button {
    cursor: pointer;
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-button:hover {
    background: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slide img {
        height: 300px;
    }
}


/*Le style */

.titre-section {
    text-align: center;
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card:hover {
    background: var(--primary-color);
    transform: translateY(-10px);
}

.card:hover * {
    color: white !important;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.card:hover .add-icon {
    opacity: 1;
    bottom: 20px;
    right: 20px;
}

.add-icon i {
    color: var(--primary-color);
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .card {
        margin-bottom: 30px;
    }
}
