/* Footer Specific Styles */

/* Newsletter form enhancements */
.newsletter-form {
    position: relative;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

/* Social media hover effects */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

/* Footer link animations */
.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

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

/* Trust badge animations */
.trust-badge {
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 0.5rem;
        width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    footer {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

/* Print styles */
@media print {
    footer {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .social-link,
    .newsletter-form {
        display: none !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .social-link,
    .footer-link,
    .trust-badge {
        transition: none;
    }
    
    .social-link::before {
        display: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    footer {
        background: #000000 !important;
        color: #ffffff !important;
        border-top: 2px solid #ffffff;
    }
    
    .footer-link:hover {
        background: #ffffff;
        color: #000000;
        padding: 2px 4px;
    }
}
