/*
 Theme Name: Perso
 Description: Thème personnalisé - Footer
 Version: 1.0.0
*/

/* Footer styles */

/* Variables font-family héritées du header.css */

.custom-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--font-family);
    margin: 40px 20px 20px 20px;
    border-radius: 16px;
    overflow: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 40px 25px 40px;
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Logo section */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

/* Links section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--footer-text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 6px;
}

.footer-column a {
    color: var(--footer-text-secondary);
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-column a:hover {
    color: var(--footer-hover);
}

/* Social media section */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--social-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--social-hover);
    color: var(--footer-text);
    transform: translateY(-2px);
}

/* Copyright section */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding: 20px 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #888888;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
        padding: 40px 30px 20px 30px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-column a {
        white-space: normal;
    }
    
    .footer-bottom {
        padding: 18px 30px;
    }
}

@media (max-width: 768px) {
    .custom-footer {
        margin: 30px 15px 15px 15px;
        border-radius: 14px;
    }
    
    .footer-container {
        padding: 35px 25px 18px 25px;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .footer-column a {
        font-size: 14px;
        white-space: normal;
    }
    
    .footer-column li {
        margin-bottom: 8px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    
    .footer-bottom {
        padding: 15px 25px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .custom-footer {
        margin: 20px 10px 10px 10px;
        border-radius: 12px;
    }
    
    .footer-container {
        padding: 30px 20px 15px 20px;
        gap: 25px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .footer-social {
        gap: 10px;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 12px 20px;
    }
}
