﻿/* ═══════════════════════════════════════
   PREMIUM MAJESTIC FOOTER
   Centralized Styles for MK WordPress Designer
   ═══════════════════════════════════════ */

.footer {
    position: relative;
    background: #030308;
    padding: var(--space-24) 0 var(--space-10);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(130, 36, 227, 0.08) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* THE 4-COLUMN GRID ENGINE */
.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    /* Standardized for 4 even columns */
    gap: var(--space-8) !important;
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 2;
}

.footer-col-title {
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary-light);
    margin-bottom: var(--space-8);
    position: relative;
    display: block;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

/* Brand Column Content */
.footer-brand-logo {
    height: 50px;
    margin-bottom: var(--space-6);
    filter: drop-shadow(0 0 15px rgba(130, 36, 227, 0.2));
}

.footer-mission {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.footer-payments-pill {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
}

.payment-badge {
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

/* Links Columns Content */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-base);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link::before {
    content: '→';
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--color-primary-light);
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Column Content */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(130, 36, 227, 0.1);
    border: 1px solid rgba(130, 36, 227, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-text p {
    font-size: var(--text-base);
    color: white;
    font-weight: 600;
}

/* Bottom Bar Content */
.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    /* Centered as requested */
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: var(--space-4);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(130, 36, 227, 0.3);
}

/* ─────────────────────────────────────────
   RESPONSIVE LOGIC — Surgical Centering
   ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 columns on tablet */
        gap: var(--space-8) !important;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: var(--space-16) !important;
        text-align: center !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-12) !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .footer-col-title {
        display: inline-block !important;
        margin-bottom: var(--space-6) !important;
    }

    .footer-col-title::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .footer-brand-logo {
        margin: 0 auto var(--space-6) !important;
    }

    .footer-mission {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 320px !important;
    }

    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer-link {
        justify-content: center !important;
    }

    .footer-payments-pill {
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .contact-item {
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: var(--space-8) !important;
    }

    .footer-socials {
        justify-content: center !important;
    }
}

/* ─────────────────────────────────────────
   MAJESTIC INTERACTION WIDGET (WhatsApp) - PNG ICON LOOK
   ───────────────────────────────────────── */
/* ─────────────────────────────────────────
   MAJESTIC INTERACTION WIDGET (WhatsApp) - PURPLE ICON
   ───────────────────────────────────────── */
.interaction-widget {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 2000 !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.widget-main {
    width: 65px !important;
    height: 65px !important;
    background: var(--color-primary) !important;
    /* Solid Purple Bg */
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    position: relative;
    box-shadow: 0 0 20px rgba(130, 36, 227, 0.6) !important;
    /* Neon Glow */
}

.widget-main svg {
    width: 35px !important;
    /* Standard icon size inside button */
    height: 35px !important;
    color: white !important;
    /* White Icon */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.widget-main::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    opacity: 0.6;
    z-index: -1;
    animation: widgetPulsePurple 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes widgetPulsePurple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.interaction-widget:hover {
    transform: scale(1.1);
}

.interaction-widget:hover .widget-main {
    background: white !important;
    box-shadow: 0 0 30px var(--color-primary) !important;
}

.interaction-widget:hover svg {
    color: var(--color-primary) !important;
    transform: rotate(-10deg);
}