/*
===============================================================================
RENT ASSISTENZ - FOOTER STYLES SYSTEM
===============================================================================
Complete footer styling system - consolidated from style.css
Corporate design with accessibility features
Version: 1.0.0 - Clean Migration
===============================================================================
*/

/* ===== FOOTER FOUNDATION ===== */

/* Main Footer Container */
.site-footer {
    color: var(--rent-text-light) !important;
    background: #1a1a1a !important;
    padding: var(--space-2xl) 0 var(--space-lg) 0 !important;
    border-top: 1px solid #333333 !important;
}

/* ===== FOOTER TYPOGRAPHY ===== */

/* Footer Headings */
.site-footer .widget h5,
.site-footer .widget_getintuch h5,
.site-footer .footer-bottom h5 {
    color: var(--rent-bg-white) !important;
    font-weight: 600 !important;
    font-size: var(--font-size-lg) !important;
    margin-bottom: var(--space-lg) !important;
    line-height: 1.3 !important;
}

/* Footer Text Elements */
.site-footer .widget p,
.site-footer .widget_getintuch p {
    color: var(--rent-text-light) !important;
    font-size: var(--font-size-base) !important;
    line-height: 1.6 !important;
    margin-bottom: var(--space-md) !important;
}

/* ===== FOOTER LINKS SYSTEM ===== */

/* Primary Footer Links */
.site-footer .widget a,
.site-footer .widget_getintuch a,
.site-footer .footer-bottom a {
    color: var(--rent-text-light) !important;
    text-decoration: none;
    transition: var(--transition-base) !important;
    font-size: var(--font-size-base) !important;
    display: inline-block !important;
}

/* Footer Links Hover States */
.site-footer .widget a:hover,
.site-footer .widget_getintuch a:hover,
.site-footer .footer-bottom a:hover {
    color: var(--rent-bg-white) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Footer Links Focus States (Accessibility) */
.site-footer .widget a:focus,
.site-footer .widget_getintuch a:focus,
.site-footer .footer-bottom a:focus {
    outline: 2px solid var(--rent-primary-blue) !important;
    outline-offset: 2px !important;
    border-radius: 3px !important;
}

/* ===== FOOTER LIST ELEMENTS ===== */

/* Footer Widget Lists */
.site-footer .widget ul,
.site-footer .widget_getintuch ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}

/* Footer List Items */
.site-footer .widget ul li,
.site-footer .widget_getintuch ul li {
    color: var(--rent-text-light) !important;
    margin-bottom: var(--space-sm) !important;
    font-size: var(--font-size-base) !important;
    line-height: 1.5 !important;
}

.site-footer .widget ul li:last-child {
    margin-bottom: 0 !important;
}

/* Footer List Item Links */
.site-footer .widget ul li a,
.site-footer .widget_getintuch ul li a {
    padding: var(--space-xs) 0 !important;
    min-height: 44px !important; /* Senior-friendly touch target */
    display: flex !important;
    align-items: center !important;
}

/* ===== FOOTER BOTTOM SECTION ===== */

/* Footer Bottom Container */
.site-footer .footer-bottom {
    color: var(--rent-text-light) !important;
    font-size: var(--font-size-sm) !important;
    text-align: center !important;
    padding-top: var(--space-lg) !important;
    border-top: 1px solid #333333 !important;
    margin-top: var(--space-2xl) !important;
}

.site-footer .footer-bottom span {
    color: var(--rent-text-light) !important;
    font-size: var(--font-size-sm) !important;
}

/* ===== FOOTER WIDGETS LAYOUT ===== */

/* Widget Spacing */
.site-footer .widget {
    margin-bottom: var(--space-xl) !important;
}

.site-footer .widget:last-child {
    margin-bottom: 0 !important;
}

/* Contact Widget Special Styling */
.site-footer .widget_getintuch {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: var(--space-lg) !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid #333333 !important;
}

/* ===== FOOTER RESPONSIVE DESIGN ===== */

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: var(--space-xl) var(--space-md) var(--space-md) var(--space-md) !important;
        text-align: center !important;
    }
    
    .site-footer .widget h5,
    .site-footer .widget_getintuch h5 {
        font-size: var(--font-size-base) !important;
        margin-bottom: var(--space-md) !important;
    }
    
    .site-footer .widget,
    .site-footer .widget_getintuch {
        margin-bottom: var(--space-lg) !important;
    }
    
    .site-footer .footer-bottom {
        font-size: 12px !important;
        padding-top: var(--space-md) !important;
        margin-top: var(--space-lg) !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-footer {
        padding: var(--space-lg) var(--space-sm) var(--space-sm) var(--space-sm) !important;
    }
    
    .site-footer .widget_getintuch {
        padding: var(--space-md) !important;
    }
    
    .site-footer .widget ul li a {
        min-height: 48px !important; /* Larger touch target for mobile */
        padding: var(--space-sm) 0 !important;
    }
}

/* ===== ACCESSIBILITY FEATURES ===== */

/* High contrast support */
@media (prefers-contrast: high) {
    .site-footer {
        background: #000000 !important;
        color: #ffffff !important;
    }
    
    .site-footer .widget h5,
    .site-footer .widget_getintuch h5 {
        font-weight: 700 !important;
    }
    
    .site-footer .widget a:focus,
    .site-footer .widget_getintuch a:focus {
        outline-width: 3px !important;
        outline-offset: 3px !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .site-footer .widget a,
    .site-footer .widget_getintuch a,
    .site-footer .footer-bottom a {
        transition: none !important;
    }
}

/* ===== FOOTER ICONS & SPECIAL ELEMENTS ===== */

/* Social Media Icons in Footer */
.site-footer .social-icons {
    display: flex !important;
    gap: var(--space-md) !important;
    justify-content: center !important;
    margin-top: var(--space-lg) !important;
}

.site-footer .social-icons a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: var(--radius-full) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--rent-text-light) !important;
    transition: var(--transition-base) !important;
}

.site-footer .social-icons a:hover {
    background: var(--rent-primary-blue) !important;
    color: var(--rent-bg-white) !important;
    transform: translateY(-2px) !important;
}

/* Footer Contact Info */
.site-footer .contact-info {
    text-align: center !important;
}

.site-footer .contact-info strong {
    color: var(--rent-bg-white) !important;
    font-weight: 600 !important;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* GPU acceleration for smooth animations */
.site-footer .widget a,
.site-footer .social-icons a {
    will-change: transform !important;
    backface-visibility: hidden !important;
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-footer {
        background: none !important;
        color: #000000 !important;
        border-top: 2px solid #000000 !important;
    }
    
    .site-footer .widget h5,
    .site-footer .widget_getintuch h5,
    .site-footer .footer-bottom {
        color: #000000 !important;
    }
    
    .site-footer .social-icons {
        display: none !important;
    }
}