body, html {
  height: 100%;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #254136; /* change la couleur de fond ici */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 250;
  transition: opacity 0.6s ease;
}

#preloader img {
  width: 300px;
  height: auto;
}


.background-filter {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('img/lions-drinking-from-a-lake-in-the-kruger-national-2024-09-19-09-20-54-utc.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;

  /* Couche blanche semi-transparente */
  background-color: rgba(255, 255, 255, 0.908); /* filtre blanc à 30% */
  background-blend-mode: lighten;
}

.card {
  border-radius: 16px;
}

a {
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.body-cdv {
    padding-top: 5%;
    padding-bottom: 5%;
    max-width: 500px;
    position: relative;
    z-index:1;
}

.pic-avatar {
    position : relative;
    right: -50%;
}

.name {
    text-decoration: bold !important;
}

.section-avatar {
    z-index: 100;
}

.section-ummah {
    z-index: 101;
}

.section-who-are-we {
    z-index: 102;
}

.section-galerie {
    z-index: 103;
}

.section-form {
    position: relative;
    z-index: 400;
}

.section-modal {
    z-index: 450;
    background-color: rgba(255, 255, 255, 0.908); /* filtre blanc à 30% */
    background-blend-mode: lighten;
}
.modal-backdrop {
  visibility: hidden;
}

.btn-add-to-contact{
  visibility: visible;
  padding-left : 20px;
  padding-right : 20px;
  padding-top : 10px;
  padding-bottom : 10px;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.text-green {
    color: #254136;
}

.text-night-blue {
    color: #040a19;
}

.text-white {
    color: #f6f6f6;
}

.text-gold {
    color: #c0a764;
}

.btn-gold {
    color:#f6f6f6;
    background-color: #c0a764;
}
.btn-gold:hover {
    color:#f6f6f6;
    background-color: #254136;
}

.bold {
    font-weight: bold;
}

.text-decoration-none {
    text-decoration:none;

}

.p-bottom0 {
    margin-bottom: 0px;
}

.gallery-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.375rem; /* pour garder l'arrondi si souhaité */
}

.site-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 1rem;
  border-radius: 6px 6px 0 0;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  z-index: 402;
  text-align: center;
  pointer-events: none; /* ignore les clics globaux */
}

.site-footer a {
  pointer-events: auto; /* chaque bouton accepte les clics */
}


.fixed-bottom-left-qr-code {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 310;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.fixed-bottom-left-qr-code img.btn-qr-code {
  width: 60%;
  height: auto;
}

.fixed-bottom-left-share {
  position: fixed;
  bottom: 20px;
  left: 100px;
  z-index: 320;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
}

.fixed-bottom-left-share img.btn-share {
  width: 60%;
  height: auto;
}

.icon-plus{
    visibility: hidden;
}
@media (max-width: 768px) {
    body {
        padding: 0 30px;
    }

    #preloader img {
        width: 200px;
        height: auto;
    }


    .body-cdv {
        padding-top: 10%;
        padding-bottom: 15%;
        max-width: 500px;
        position: relative;
        z-index:1;
    }

    .section-ajout-contact {
        position: fixed;
        bottom: 10px;
        left: 10px;
        z-index: 330;
    }

    .btn-add-to-contact{
        visibility: hidden;
    }
    .icon-plus{
        visibility: visible;
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 331;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transition: background-color 0.3s;

        padding-left : 20px;
        padding-right : 20px;
        padding-top : 10px;
        padding-bottom : 10px;
    }

    .icon-plus img{
        width: 100%;
        height: auto;
    }

    .fixed-bottom-left-qr-code {
        position: fixed;
        bottom: 10px;
        left: 10px;
        z-index: 340;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transition: background-color 0.3s;
    }

    .fixed-bottom-left-qr-code img.btn-qr-code {
        width: 60%;
        height: auto;
    }

    .fixed-bottom-left-share {
        position: fixed;
        bottom: 80px;
        left: 10px;
        z-index: 345;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        transition: background-color 0.3s;
    }

    .fixed-bottom-left-share img.btn-share {
        width: 60%;
        height: auto;
    }
}

.action-buttons {
  position: fixed;
  z-index: 401;
  display: flex;
  gap: 10px;
  pointer-events: none; /* ignore les clics globaux */
}

.action-buttons button {
  pointer-events: auto; /* chaque bouton accepte les clics */
}