/* Styles de transition pour les pages de service */

/* Transitions entre pages */
.page-transition {
    transition: opacity 0.4s ease-out;
}

.page-transition-out {
    opacity: 0;
}

/* Animations d'entrée et de sortie */
@keyframes pageEntrance {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour le chargement progressif des images */
.lazy-load-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load-image.loaded {
    opacity: 1;
}

/* Améliorations pour la navigation entre services */
.service-navigation {
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.prev-service, 
.next-service {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #6a8d73;
    transition: all 0.3s ease;
}

.prev-service:hover,
.next-service:hover {
    color: #4e6953;
}

.prev-service i,
.next-service i {
    font-size: 1.2rem;
}

.prev-service i {
    margin-right: 10px;
}

.next-service i {
    margin-left: 10px;
}

.service-name {
    font-weight: 600;
}

/* Styles pour la mise en évidence du menu actif */
nav ul li a.current-page {
    color: #6a8d73;
    font-weight: bold;
    position: relative;
}

nav ul li a.current-page:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #6a8d73;
    transform: scaleX(1);
}
