/* Project Overlay Styles - Version simplifiée avec opacité uniquement */
.project__item {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
    padding: 20px;
    text-align: center;
}

.project__item:hover .project-overlay {
    opacity: 1;
}

.project-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.project-subtitle {
    color: #e0e0e0;
    font-size: 18px;
    margin: 0 0 25px 0;
    text-align: center;
    line-height: 1.4;
}

.overlay-arrows {
    display: flex ;
    gap: 13px !important;
    margin-top: 10rem !important;
}
.section__title_2{
    text-align: left;
    width: 27rem;
    flex: 0 0 auto;
    margin: 5rem 0 0 0;
    position: relative;
}
.overlay-arrows i {
    font-size: 36px;
    transition: opacity 0.6s ease;
    position: relative;
    margin-left: -2rem;
}

/* Fallback avec flèches vers la gauche comme dans l'image */
.overlay-arrows i:before {
    content: "❮";
    font-family: Arial, sans-serif;
    font-size: 8rem;
    font-weight: bold
}

/* Animation simple d'opacité pour la flèche verte */
.arrow-green {
    color: var(--main-color);
    animation: blinkOpacity 2s infinite;
}

/* Animation simple d'opacité pour la flèche blanche */
.arrow-white {
    color: white;
    animation: blinkOpacity 2s infinite;
    animation-delay: 1s;
}
/* Keyframes pour clignotement simple */
@keyframes blinkOpacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .project-overlay {
        padding: 15px;
    }
    .project-title { 
        font-size: 26px;
        margin-bottom: 12px;
    }
    .project-subtitle { 
        font-size: 16px;
        margin-bottom: 20px;
    }
    .overlay-arrows {
        display: none !important;
    }
    .overlay-arrows i { 
        font-size: 30px;
    }
    .overlay-arrows {
        gap: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .project-overlay {
        padding: 12px;
    }
    .project-title { 
        font-size: 22px;
        margin-bottom: 10px;
    }
    .project-subtitle { 
        font-size: 14px;
        margin-bottom: 18px;
    }
        .overlay-arrows {
        display: none !important;
    }
    .overlay-arrows i { 
        font-size: 26px;
    }
    .overlay-arrows {
        gap: 18px;
        margin-top: 12px;
    }
}