/* ========================================
   CASA17 - Footer Styles (Exact from index.html)
   Version: 2.0
   Description: Styles identiques au footer de l'index.html
   ======================================== */

/* FOOTER */
.footer {
    background: var(--bg-footer);
    color: var(--text-inverse);
    padding: 40px 0 20px;
    border-top: var(--border-width) solid var(--border-color);
    margin-top: auto;
}

/* Mode sombre - Footer amélioré */
.theme-dark .footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
    border-top-color: #60c9ff;
}

.theme-dark .footer p {
    color: #F4F4F4;
    opacity: 0.9;
}

.theme-dark .footer-links a {
    color: #F4F4F4;
    opacity: 0.85;
}

.theme-dark .footer-links a:hover {
    opacity: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #60c9ff; /* Bleu bulle clair */
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-inverse);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #60c9ff; /* Bleu bulle clair */
    padding-left: 5px;
}

.footer-credits {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--text-inverse); /* Utilise la couleur de texte inversée pour s'adapter au thème */
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    transition: all 0.3s ease;
    display: block;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icons img {
    transition: all 0.3s ease;
}

/* Social links heading */
.social-links h4 {
    color: #60c9ff;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Footer paragraphs */
.footer p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Container dans le footer */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }
}