/**
 * Footer Styles for AKA Theme V2
 * Comprehensive footer design with Kurdish cultural elements
 */

/* Site Footer Container */
.site-footer {
    background-color: var(--aka-navy) !important;
    color: var(--kurdish-white) !important;
    margin-top: 60px;
}

.site-footer * {
    color: inherit;
}

/* Footer Branding */
.footer-branding {
    text-align: left;
}

.footer-logo img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-branding .wp-block-site-title a {
    color: var(--kurdish-white) !important;
    text-decoration: none;
    font-family: Merriweather, 'Noto Serif', Georgia, serif;
}

.footer-mission {
    color: var(--aka-cream) !important;
    line-height: 1.6;
    margin-top: 16px;
}

/* Footer Social Links */
.footer-social {
    margin-top: 20px;
}

.footer-social .wp-block-social-links {
    gap: 16px;
}

.footer-social .wp-block-social-link a {
    background-color: var(--kurdish-green) !important;
    color: var(--kurdish-white) !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 8px;
}

.footer-social .wp-block-social-link a:hover {
    background-color: var(--kurdish-yellow) !important;
    color: var(--aka-slate) !important;
    transform: translateY(-2px);
}

/* Footer Navigation */
.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-navigation li {
    margin-bottom: 12px;
}

.footer-navigation a {
    color: var(--aka-cream) !important;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
    color: var(--kurdish-yellow) !important;
    text-decoration: underline;
}

/* Footer Headings */
.site-footer h4 {
    color: var(--kurdish-yellow) !important;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--kurdish-green);
}

.site-footer h5 {
    color: var(--kurdish-white) !important;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Footer Contact */
.footer-contact p {
    color: var(--aka-cream) !important;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.footer-contact a {
    color: var(--kurdish-white) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: var(--kurdish-yellow) !important;
    text-decoration: underline;
}

/* Newsletter Signup */
.newsletter-signup {
    background: rgba(19, 111, 99, 0.2);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--kurdish-green);
}

.newsletter-form {
    margin-top: 12px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--kurdish-green);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background-color: var(--kurdish-white);
    color: var(--aka-slate);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input-group input[type="email"]:focus {
    border-color: var(--kurdish-yellow);
    box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.1);
}

.newsletter-input-group button {
    padding: 12px 20px;
    background-color: var(--kurdish-green);
    color: var(--kurdish-white);
    border: 2px solid var(--kurdish-green);
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.newsletter-input-group button:hover,
.newsletter-input-group button:focus {
    background-color: var(--kurdish-yellow);
    border-color: var(--kurdish-yellow);
    color: var(--aka-slate);
}

.newsletter-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--aka-cream);
    line-height: 1.4;
}

.newsletter-privacy input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--kurdish-green);
}

.newsletter-privacy label {
    cursor: pointer;
}

.newsletter-privacy a {
    color: var(--kurdish-yellow) !important;
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    color: var(--kurdish-white) !important;
}

/* Footer Separator */
.footer-separator {
    background-color: var(--kurdish-yellow) !important;
    height: 3px;
    border: none;
    margin: 40px 0 24px 0;
}

/* Footer Bottom */
.footer-bottom {
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--aka-cream) !important;
    font-size: 13px;
    margin: 0;
}

/* Legal Navigation */
.legal-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.legal-navigation a {
    color: var(--aka-cream) !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.legal-navigation a:hover,
.legal-navigation a:focus {
    color: var(--kurdish-yellow) !important;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .site-footer .wp-block-columns {
        flex-wrap: wrap;
    }
    
    .site-footer .wp-block-column {
        flex-basis: 48% !important;
        margin-bottom: 32px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 32px 20px 20px 20px;
    }
    
    .site-footer .wp-block-columns {
        flex-direction: column;
    }
    
    .site-footer .wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 32px;
    }
    
    .footer-branding {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .legal-navigation ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input[type="email"] {
        border-radius: 6px;
        border-right: 2px solid var(--kurdish-green);
        margin-bottom: 8px;
    }
    
    .newsletter-input-group button {
        border-radius: 6px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 24px 16px 16px 16px;
    }
    
    .footer-social .wp-block-social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .footer-social .wp-block-social-link a {
        padding: 6px;
    }
    
    .newsletter-signup {
        padding: 16px;
    }
    
    .legal-navigation ul {
        gap: 12px;
    }
    
    .legal-navigation a {
        font-size: 12px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .site-footer {
        border-top: 4px solid var(--kurdish-yellow);
    }
    
    .footer-navigation a:hover,
    .footer-navigation a:focus {
        outline: 2px solid var(--kurdish-yellow);
    }
    
    .newsletter-input-group input[type="email"]:focus {
        outline: 3px solid var(--kurdish-yellow);
    }
    
    .newsletter-input-group button:focus {
        outline: 3px solid var(--kurdish-white);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .footer-social .wp-block-social-link a,
    .footer-navigation a,
    .footer-contact a,
    .newsletter-input-group input,
    .newsletter-input-group button {
        transition: none;
    }
    
    .footer-social .wp-block-social-link a:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .site-footer {
        background: white !important;
        color: black !important;
        box-shadow: none;
    }
    
    .newsletter-signup,
    .footer-social {
        display: none;
    }
    
    .footer-contact a::after {
        content: " (" attr(href) ")";
    }
}