/**
 * Footer Styles
 * @package MrKAli
 */

/* ========================================
   Footer Base
   ======================================== */
.site-footer {
    background: var(--bg-section, #fafafa);
    padding: clamp(2rem, 6vw, 4rem) 0;
    border-top: 2px solid var(--gold-mid, #f2b94d);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

/* ========================================
   Footer Widgets
   ======================================== */
.footer-widgets {
    width: 100%;
    max-width: 800px;
}

.footer-widgets .widget {
    margin-bottom: 1.5rem;
}

.footer-widgets .widget:last-child {
    margin-bottom: 0;
}

.footer-widgets .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #0b0b0b);
    margin-bottom: 0.75rem;
}

/* ========================================
   Footer Info
   ======================================== */
.footer-info {
    color: var(--text-muted, #6b6b6b);
}

.footer-info p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========================================
   Footer Quick Links
   ======================================== */
.footer-quicklinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-quicklinks a {
    display: inline-block;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    color: var(--gold-dark, #8b681a);
    text-decoration: none;
    font-weight: 600;
    transition: 
        color 200ms ease,
        background 200ms ease,
        transform 200ms ease;
}

.footer-quicklinks a:hover,
.footer-quicklinks a:focus {
    color: var(--gold-warm, #c99a2d);
    background: rgba(246, 211, 101, 0.1);
    transform: translateY(-2px);
}

.footer-quicklinks span {
    color: var(--text-muted, #6b6b6b);
    opacity: 0.5;
}

/* ========================================
   Animations
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .site-footer {
        animation: fadeInUp 0.6s ease-out;
    }
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 640px) {
    .site-footer {
        padding: 2rem 0;
    }
    
    .footer-quicklinks {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .footer-quicklinks span {
        display: none;
    }
    
    .footer-quicklinks a {
        width: 100%;
        text-align: center;
        padding: 0.625rem 1rem;
    }
}