/* Styles pour la section Qui suis-je */
#qui-suis-je {
    position: relative;
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#qui-suis-je::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/exemple_montagne_2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: -1;
    filter: blur(1px);
    transition: opacity 0.5s ease, filter 0.5s ease;
    border-radius: 12px;
}

#qui-suis-je .container {
    position: relative;
    z-index: 2;
}

/* Styles spécifiques pour la section activités de la page d'accueil */

/* Style des nouvelles cartes d'activité sur la page d'accueil */
#activites .activity-card-new {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    position: relative;
    border-bottom: 4px solid transparent;
}

#activites .activity-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid var(--secondary);
}

/* Style des icônes circulaires */
#activites .activity-icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#activites .activity-icon-circle i {
    color: white;
    font-size: 1.8rem;
}

#activites .activity-card-new:hover .activity-icon-circle {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Style des titres sur la page d'accueil */
#activites .activity-title-new {
    color: var(--primary);
    margin: 0.8rem 0;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

#activites .activity-title-new:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

/* Style du contenu */
#activites .activity-content-new {
    padding: 0.8rem;
    text-align: center;
    flex-grow: 1;
}

/* Style des images sur la page d'accueil */
#activites .activity-image-new {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#activites .activity-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.95);
}

#activites .activity-card-new:hover .activity-image-new img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#activites .col-lg-6:nth-child(1) .activity-card-new {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.1s;
}

#activites .col-lg-6:nth-child(2) .activity-card-new {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.3s;
}

#activites .col-lg-6:nth-child(3) .activity-card-new {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.5s;
}

#activites .col-lg-6:nth-child(4) .activity-card-new {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: 0.7s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #activites .activity-card-new {
        margin-bottom: 1.5rem;
    }
    
    #activites .activity-title-new {
        font-size: 1.3rem;
    }
    
    #activites .activity-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    #activites .activity-icon-circle i {
        font-size: 1.5rem;
    }
}


/* Styles pour la section FAQ */
#faq {
    position: relative;
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Style des éléments de l'accordéon FAQ */
.faq-accordion .accordion-button {
    padding: 1.2rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.05);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/* Style des icônes dans les questions */
.faq-icon-container {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-icon {
    color: white;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) .faq-icon-container {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Style du texte de la question */
.faq-question {
    flex-grow: 1;
}

/* Style du corps de la réponse */
.faq-answer {
    padding: 1.5rem;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Animation pour l'ouverture/fermeture */
.accordion-collapse {
    transition: all 0.5s ease-in-out;
}

/* Effet de survol sur les éléments FAQ */
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Animation séquentielle pour les éléments FAQ */
.faq-accordion .faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-accordion .faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-accordion .faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-accordion .faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-accordion .faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-accordion .faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Animation de rotation pour les icônes */
@keyframes rotateIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rotate-icon {
    animation: rotateIcon 0.4s ease-in-out;
}

/* Amélioration de l'animation d'ouverture/fermeture */
.accordion-collapse.collapsing {
    transition-duration: 0.4s;
}

.accordion-button::after {
    transition: transform 0.4s ease;
}

/* Styles pour la section Contact */
#contact {
    position: relative;
    padding: 4rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/contact-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.6;
    z-index: -1;
}

#contact .container {
    position: relative;
    z-index: 2;
}