/* Footer Styles - Hack & Stack */

/* Gradient background pour le footer */
.footer-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.footer-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(30, 64, 175, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Sections du footer */
.footer-section {
    position: relative;
    z-index: 10;
}

/* Titres des sections */
.footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #93c5fd;
}

/* Liens du footer */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #bfdbfe;
    transition: color 0.2s ease-in-out;
    font-size: 0.875rem;
    display: block;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #60a5fa;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-link:hover::before {
    width: 100%;
}

/* Container pour les réseaux sociaux */
.social-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bfdbfe;
    transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.social-link:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

/* Newsletter signup */
.newsletter-signup {
    margin-top: 1.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background-color: #1e3a8a;
    border: 1px solid #2563eb;
    border-radius: 0.5rem 0 0 0.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    transition: border-color 0.2s ease-in-out;
}

.newsletter-btn {
    padding: 0.5rem 1rem;
    background-color: #2563eb;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #ffffff;
    transition: background-color 0.2s ease-in-out;
}

/* Animation pour les icônes Lucide */
.footer-section i[data-lucide] {
    transition: transform 0.2s ease;
}

.footer-section:hover i[data-lucide] {
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .footer-title {
        font-size: 1rem;
    }
    
    .social-container {
        justify-content: center;
    }
    
    .newsletter-signup {
        text-align: center;
    }
}

/* Animation d'entrée pour le footer */
.footer-gradient {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de brillance subtil */
.footer-gradient::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.5), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { 
        opacity: 0; 
    }
    50% { 
        opacity: 1; 
    }
}

/* États de focus pour l'accessibilité */
.footer-link:focus,
.social-link:focus,
.newsletter-btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #60a5fa, 0 0 0 4px #1e3a8a;
    transition: box-shadow 0.2s ease-in-out;
}