/**
 * Styles pour la section d'activités académiques
 */

/* Wrapper principal */
.academie-activites-wrapper {
    margin-bottom: 2rem;
    border-top: 1px solid #424242;
}

/* Style pour chaque élément d'activité */
.activite-item {
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Wrapper d'image avec image de fond */
.activite-image-wrapper {
    height: 400px;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

/* Overlay qui contient le titre et le bouton */
.activite-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
    transition: background 0.3s ease;
}

/* Style pour le titre */
.activite-title {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Style pour le bouton */
.activite-btn {
    text-transform: uppercase;
    font-weight: 500;
    border-width: 2px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

/* Effets au survol */
.activite-item:hover .activite-image-wrapper {
    transform: scale(1.05);
}

.activite-item:hover .activite-overlay {
    background: #eb3b5b91;
}

.activite-btn:hover {
    background-color: black;
    border-color: black;
    color: white;
}

/* Styles responsifs */
@media (max-width: 991px) {
    .activite-image-wrapper {
        height: 380px;
    }
    
    .activite-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .activite-image-wrapper {
        height: 350px;
    }
    
    .activite-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .activite-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
} 