body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
    line-height: 1.6;
    transition: direction 0.3s, text-align 0.3s;
}
a {
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

.header {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.navbar {
    flex-grow: 1;
    flex-basis: 200;
    padding: 0 !important;
    margin: 0 !important;
}
.top-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: right;
}

.logo {
    min-width: 870px;
    margin-left: 20rem;
}

.logo img {
    height: 50px;
}

.languages {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* flex: 1; */
}

.languages img {
    width: 33.5px;
    height: 22px;
    margin: 0 5px;
    cursor: pointer;
}

.languages img:hover {
    opacity: 0.7;
}

.nav-wrapper {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.nav {
    display: flex;
    flex-direction: row;
    /* gap: 0.2rem; */
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f4f4f4;
    width: fit-content;
}

.navbar-nav a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    background-color: transparent;
    border-radius: 5px;
    margin-bottom: 3px;

}

.navbar-nav a:hover {
    /* color: #f4f4f4; */
    background-color: #f4f4f4;
}

small {
    display: block;
    font-size: 10px;
    color: #777;
}

/* --------------------------- footer styling ------------------------------------------- */
.footer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #fff;
    color: #333;
    padding: 20px 40px;
    border-top: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.footer-content {
    flex-grow: 1;
    flex-basis: 200;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    gap: 7rem;
    
}

.footer-section {
    margin: 0 ;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #333;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}
  
.social-icons {
    display: flex;
    gap: 10px;

}

.social-icons img {
    flex-grow: 1;
    flex-basis: 200;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.social-icons a:hover {
    background-color: #ccc;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    color: #777;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Centre le contenu sur petits écrans */
        text-align: center;
        gap: 1rem;
    }

    .footer-content div {
        margin-bottom: 20px;
    }
}

/*--------------------------- embrace-section ------------------------------ */


 .section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    /* padding: 20px; */
    box-sizing: border-box;
}

 .section-text {
    flex: 1;
    flex-grow: 1;
    flex-basis: 200;
}

 .section-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

 .section-text h2 small {
    display: block;
    font-size: 16px;
    color: #666;
}

 .section-text h2 small {
    display: block;
    font-size: 16px;
    color: #9C81CF;
}

 .section-text p {
    margin-bottom: 20px;
    color: #555;
}

 .section-text .buttons {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.628rem;
}
.section-text .buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    background-color: #ffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-text .buttons .button .button-icon {
    width: 20px; /* Ajustez la taille de l'image */
    height: 20px;
    margin-right: 8px; /* Espace entre l'image et le texte */
}

.section-text .buttons  .button:hover {
    background-color: #ddd; /* Changement de couleur au survol */
}

.section-text .buttons .button  .button.facebook {
    border-color: #4267B2; /* Facultatif : couleur de la bordure */
}

.section-text .buttons .button .button.instagram {
    border-color: #E4405F;
}

.section-text .buttons .button  .button.whatsapp {
    border-color: #25D366;
}
 .section-text .buttons a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    background-color: #9C81CF;
    transition: background-color 0.3s;
}

 .section-text .buttons a.secondary {
    background-color: #ddd;
    color: #333;
}

 .section-text .buttons a:hover {
    background-color: #906fcd;
}

 .section-text .buttons a.secondary:hover {
    background-color: #ccc;
}

 .section-image {
    flex: 1;
    flex-grow: 1;
    flex-basis: 200;
    max-width: 600px;
}

 .section-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* ------------------------- adventure-section  ----------------------------------*/

.adventure-section {
    max-width: 1200px;
    margin: 20px auto;
    /* padding: 20px; */
}

.adventure-header {
    text-align: start;
    margin-bottom: 20px;
}

.adventure-header h2 {
    font-size: 28px;
    margin: 0;
}

.adventure-header small {
    font-size: 18px;
    color: #9C81CF;
    display: block;
    margin-top: 5px;
}

.adventure-header p {
    margin-top: 10px;
    color: #555;
}
.carousel-caption {
    max-width: 51%;
    text-align: start !important;
}

.carousel-caption h3 {
    font-size: 24px;
    margin: 0 !important;
}

.carousel-caption p {
    font-size: 14px;
    margin: 10px 0;
    text-align: start !important;
}

.carousel-buttons {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-right: 2.5rem;
    padding: 0.25rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.628rem;
}
.carousel-buttons a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    background-color: #9C81CF;
    transition: background-color 0.3s;
}

.carousel-buttons a.secondary {
    background-color: #ddd;
    color: #333;
}

.carousel-buttons a:hover {
    background-color: #906fcd;
    color: #fff;
}

.carousel-buttons a.secondary:hover {
    background-color: #bbb;
    color: #333;

}

.carousel-nav {
    top: 50%;
    font-size: 61px;
    color: #9C81CF;
    cursor: pointer;
    transition: color 0.3s;
    align-items: center;
    display: flex;
}

.carousel-nav:hover {
    color: #906fcd;
}



.carousel-control-prev {
    color: #9C81CF !important;
}
.carousel-indicators button {
    display: inline-block;
    width: 10px !important;
    height: 10px !important;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    border-top: none !important;
    border-bottom: none !important;
    transition: background 0.3s;
}

.carousel-indicators button.active {
    background: #9C81CF;
}


/* --------------------- form styling -------------------------*/


.form-container {
    margin-top: 4rem;
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #9C81CF;
    outline: none;
}

.form-group textarea {
    resize: none;
    height: 80px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #9C81CF;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #906fcd;
}



/* ----------------------------------- review card ---------------------------------- */

.reviews {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr)); 
    gap: 30px; 
}

.review-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 200px; 
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card .stars {
    color: #ffcc00;
    margin-bottom: 10px;
}
.review-card .stars .is-not-selected {
    color: #333;
    margin-bottom: 10px;
}

.review-card h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #333;
}

.review-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #777;
}

.reviewer-info img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.description-section {
    flex: 1;
    margin-top: 3rem;
}

.description-section p {
    font-size: 14px;
    margin-bottom: 20px;
}

.description-section .images {
    display: flex;
    gap: 10px;
    height: 357px;
    width: 316px;
}

.description-section .images img {
    width: 89%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.description-section .images img:first-child {
    flex: 2;
}

.description-section .images img:last-child {
    flex: 1;
}

/* ------------------------------------ album styling ------------------------------------ */

.album {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr)); 
    gap: 10px; 
}

.album-images {
    background: none;
    width: fit-content;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: none; /* Start with all images hidden */
}

.album-images img {
    width: 376px;
    height: 324px;
}
.album-images:hover {
    transform: translateY(-5px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
  }

  /* Pagination items */
  .pagination li {
    margin: 0 5px;
  }

  /* Links */
  .pagination a {
    text-decoration: none;
    color: #6c757d;
    font-weight: bold;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  /* Active page */
  .pagination a.active {
    background-color: none;
    color: #9C81CF;
  }

  /* Hover effect */
  .pagination a:hover {
    background-color: #ddd;
    color: #333;
  }

  .pagination a.active:hover {
    background-color: #9C81CF;
    color: #fff;
  }

  /* Disabled buttons */
  .pagination a.disabled {
    color: #ccc;
    pointer-events: none;
  }

  /* Arrows */
  .pagination a.arrow {
    font-size: 16px;
    padding: 6px 10px;
    border: 1px solid #eee;
  }
  .pagination a.arrow:hover {
    font-size: 16px;
    padding: 6px 10px;
    border: 1px solid #9C81CF;
    background-color: #9C81CF;
  }





/* Petits écrans (mobile) */
@media (max-width: 576px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .top-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo {
        margin: 0 auto;
        min-width: 100px;
        margin: 0 !important;
    }

    .languages {
        justify-content: center;
        gap: 5px;
    }

    .nav-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .reviews {
        grid-template-columns: 1fr;
    }
    .album {
        grid-template-columns: 1fr;
    } 
}