/* footer.css - Premium Glassmorphism Design */

.site-footer {
    position: relative;
    padding: 80px 0 40px;
    margin-top: 100px;
    background: var(--footer-bg, rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--footer-text, #333);
    overflow: hidden;
}

/* Light mode support if theme is light */
.theme-minimal .site-footer,
.theme-agro .site-footer {
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-brand .footer-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color, var(--primary-color)));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.footer-slogan {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 300px;
    line-height: 1.6;
}

.footer-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 10px;
}

.footer-list {
    margin: 0;
    padding: 0;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
    font-size: 0.95rem;
    opacity: 0.7;
}

.footer-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

/* Newsletter Section */
.footer-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: inherit !important;
    border-radius: 50px !important;
    padding-right: 60px !important;
    height: 48px !important;
    transition: all 0.3s ease;
}

.footer-input:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: inherit;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

/* WhatsApp Floating Fix */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Bottom Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.85rem;
}

.footer-bottom .uk-text-meta {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Grid adjustments */
@media (max-width: 959px) {
    .site-footer {
        padding: 60px 0 30px;
        text-align: center;
    }

    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-slogan {
        max-width: 100%;
    }

    .social-icon {
        margin: 0 6px;
    }

    .payment-methods .uk-flex {
        justify-content: center;
    }
}
/* ======================================================
   PHASE 2026 - FOOTER BUILDER TOKENS
   ====================================================== */

.site-footer {
    background: var(--footer-bg, rgba(255, 255, 255, 0.03));
    color: var(--footer-text, #333);
}

.footer-title,
.footer-section-title,
.site-footer h4,
.site-footer h5 {
    color: var(--footer-title-color, var(--primary-color));
}

.footer-link,
.footer-slogan,
.footer-bottom,
.footer-bottom .uk-text-meta {
    color: var(--footer-text, inherit);
}

.newsletter-btn,
.site-footer .uk-button-primary {
    border-radius: var(--button-radius, 999px);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 24px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        transform: scale(.92);
    }
}
