/* footer.css - Styles pour le pied de page du site de Nicolas TARIELLO */

/* Styles du footer avec BEM naming convention */
.site-footer {
    background: linear-gradient(90deg, #3e6bba 35%, #090844 60%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0 1rem;
    font-family: 'Montserrat', sans-serif;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Sections du footer */
.site-footer__section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.site-footer__heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #40c8ff; /* Même bleu clair que dans l'en-tête */
}

.site-footer__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.site-footer__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.site-footer__link:hover {
    color: #fff;
}

.site-footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #40c8ff;
    transition: width 0.3s ease;
}

.site-footer__link:hover::after {
    width: 100%;
}

/* Liens sociaux */
.site-footer__social-links {
    list-style: none;
    padding: 0;
}

.site-footer__social-item {
    margin-bottom: 0.5rem;
}

.site-footer__social-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.site-footer__social-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Section copyright */
.site-footer__copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 1rem auto 0;
}

.site-footer__copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
    .site-footer__container {
        flex-direction: column;
    }

    .site-footer__section {
        margin-bottom: 2rem;
        padding: 0;
    }
}