@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
        --primary: #e8a58b;
        --bs-code-color: #d63384;
        --secondary: #C9A86A;
        --light: #f8f5f2;
        --dark: #5a4a42;
        --mg-text-dark:  #D4AF37;
        --mg-text-ligh:var(--secondary);
        --bckgr_col_1: #fdf6e7;

      }

.great-vibes-regular {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  color: var(--mg-text-ligh);
  font-style: normal;
}
.open-sans-regular {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  color: var(--mg-text-dark);
  font-style: normal;
}
.police_primary {
  font-family: "Great Vibes", cursive;

  font-style: normal;
}


.alex-brush-regular {
  font-family: "Alex Brush", cursive;
  font-weight: 400px;
    color: var(--mg-text-ligh);

  font-style: italic;
  font-size: 30px;
}



body {

 font-family: "Open Sans", sans-serif;
}
.body-Bg{
    color: var(--mg-text-ligh);

}
[data-bs-theme="dark"] .body-Bg {
    color: var(--mg-text-dark);
}

.text-prime{
    font-family: ;
    color: var(--primary);
}
.hero-title {
    font-family: 'Great Vibes', cursive;
    color: #ffffff; ; /* Votre couleur OR */
    font-size: 50px;


}
.swiper-slide img {
    width: 100%;
    height: 430%;
    object-fit: cover;
    border-radius: 10px;
}
.card-custom {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.7);
}
.titreEvents{
    color: var(--primary);
    font-family: 'Great Vibes', cursive;
}


.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
#nb{
    background: var(--primary);
}




.sidebar a {
    transition: all 0.3s ease;
}

.sidebar a:hover {
    padding-left: 25px;
}

.sidebar {

    color: white;
    background: linear-gradient(180deg, var(--primary),  #c6a27e);

}

.sidebar h4 {
    padding: 20px;
    font-weight: bold;
}

.sidebar a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.sidebar a:hover {
    background: rgba(255,255,255,0.1);
}

/* Main */
.main {
    margin-left: 250px;
    padding: 20px;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.idCard{
    background:url('../image/invitation.jpeg');
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, #d88c8c, #c6a27e);
    border: none;
}

.btn-primary-custom:hover {
    background: #c97b7b;
}



      /* Navbar */
      .navbar {
        background: transparent;
      }

      .navbar-brand {
        font-weight: bold;

      }
html{
    scroll-behavior:smooth;
}
      /* Hero */
      .hero {
        height: 100vh;
        background:
          linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
          url("../image/image_section.jpg");
        background-size: cover;
        background-position: center;
        color: white;
      }


      .bg_section_mobile{
                background:
          linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
          url("../image/section_mobile.jpeg");

      }



      /* Buttons */
      .btn-primary-custom {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        border: none;
        border-radius: 30px;
        padding: 10px 25px;
        color: white;
      }


    .btn-secondary-custom {
    background:linear-gradient(#9b6e83,#9b6e83)  ;
    border: none;

    }








/* L'overlay qui couvre tout l'écran */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fond noir semi-transparent */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 9999; /* S'assure qu'il est au-dessus de TOUT */
}

/* Un simple spinner animé */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--bs-code-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}















      /* Features */
      .feature-box {
        padding: 10px;
        border-radius: 15px;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
      }

      .feature-box:hover {
        transform: translateY(-5px);
      }

      /* Section */
      section{
        padding: 500;
      }

      /* Footer */
      .footer {
        background: #111;
        color: #ccc;
        padding: 40px 0;
      }
      #logoMariage{
        left: 50%;
        transform: translateX(-50%);

        border: 4px solid #D4AF37; /* Votre couleur OR */
        color: #ffffff; ; /* Votre couleur OR */
        background: transparent;
        height: 130px;
        width: 130px;
      }
      .img-container{

aspect-ratio: 2/4;
        overflow: hidden;
        border-radius: 10px;

      }
      .img-container img{
        object-fit:cover;

      }
    .img-container img{
        transition: transform 0.3s ease;

      }

    .img-container:hover img{
        transform: scale(1.05) ;
      }

      .preview-image{
        max-width: 100%;
        min-height: 90vh;
        object-fit: contain;
      }

.bodyModal {
    height: 100vh;

    overflow: hidden !important;
}
#swipperGallery{
    width: 100%;
    height: 100%;
}
#swipperGallery .swiper-slide{
    display: flex;
    justify-content: center;
    align-items: center;
}

#swipperGallery .swiper-slide img{
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}


















.img-full {
    width: 10px;
    height: 20PX;
    object-fit: contain;
}

        #dessCode3{

        transform: translateX(-50%);
            margin-left: 2Px;

        color: #ffffff; ; /* Votre couleur OR */
        background: rgb(137, 114, 92);
        height: 35px;
        width: 35px;
      }

    #dessCode1{

        transform: translateX(-50%);
        margin-left: 2Px;
        color: #ffffff; ; /* Votre couleur OR */
         background: rgb(239, 207, 171);
        height: 35px;
        width: 35px;
    }

    #dessCode2{

        transform: translateX(-50%);
        margin-left: 2Px;
        color: #ffffff; ; /* Votre couleur OR */
        background: rgba(23, 12, 0, 0.685);
        height: 35px;
        width: 35px;
    }









      /* Card */
.event-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

/* Image container */
.card-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

/* Image */
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
/* état normal */
.swiper-slide {
    transform: scale(0.85) translateY(20px);
    opacity: 0.5;
    transition: all 0.4s ease;
    z-index: 1;
}

/* slide actif (centre) */
.swiper-slide-active {
    transform: scale(1.05) translateY(0);
    opacity: 1;
    z-index: 3; /* 🔥 devant */
}

/* slides autour */
.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(0.9) translateY(10px);
    opacity: 0.8;
    z-index: 2;
}

/* Overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transition: 0.3s ease;
}

/* Bouton */
.overlay .btn {
    transform: translateY(20px);
    transition: 0.3s;
}

/* 🔥 HOVER EFFECT */
.event-card:hover .overlay {
    opacity: 1;
}

.event-card:hover .overlay .btn {
    transform: translateY(0);
}

.event-card:hover img {
    transform: scale(1.1);
}




.programme-scroll{
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

.programme-scroll::-webkit-scrollbar{
    width: 5px;
}

.programme-scroll::-webkit-scrollbar-thumb{
    background: #cfcfcf;
    border-radius: 10px;
}

/*


css de la page Mariage*/
      .sectionHero{
              height: 100vh;
        background:
          linear-gradient( to bottom ,transparent, rgba(0, 0, 0, 0.5)),
          url("../image/jonathan.jpg");
        background-size: cover;
        background-position: center;
        color: white;
      }

      .cardo{
        background: transparent;
         color: #faeccc; /* Votre couleur OR */
        margin-left: 2px;

        height: 100px;
        width: 100px;
      }
.divIder{
    width: 1px;
    height: 500px;
    /*  border: 4px solid #D4AF37;Votre couleur OR */
    background:linear-gradient(to top,transparent,#D4AF37);
}

.ligne{
    width: 1px;
    height: 100%;
     border: 1px solid #D4AF37;
    background:linear-gradient(to top,transparent,#D4AF37);
}
    .qr-container {
        position: relative;
        width: 200px;
        padding: 15px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        text-align: center;
        margin: 20px auto;
    }

    #qrcode img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .sectionbackround1{

        background-color:var(--bckgr_col_1)
    }


    .sectionProgramme{

                top:50%;
        left: 85%;
        background-color: violet;


    }


