/**
 * PlexKits Custom Footer Styles
 *
 * Modern, clean footer matching the PlexKits brand.
 * Brand colors: #003ac1 → #0067e0 (blue gradient)
 *
 * @package PLEXKITS Theme - Astra
 * @since 4.1.0
 */

/* ==============================================
   FOOTER — RESET & CONTAINER
   ============================================== */

.plexkits-footer {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.plexkits-footer *,
.plexkits-footer *::before,
.plexkits-footer *::after {
    box-sizing: border-box;
}

.plexkits-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==============================================
   MAIN FOOTER
   ============================================== */

.plexkits-footer__main {
    background: #0f172a;
    padding: 4rem 0 3rem;
}

.plexkits-footer__main .plexkits-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
}

/* ==============================================
   BRAND COLUMN
   ============================================== */

.plexkits-footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.plexkits-footer__logo {
    display: inline-flex;
    text-decoration: none;
}

.plexkits-footer__logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.plexkits-footer__logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.plexkits-footer__tagline {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    max-width: 280px;
}

/* Social Icons */
.plexkits-footer__social {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.plexkits-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.plexkits-footer__social a:hover {
    background: #003ac1;
    color: #fff;
    transform: translateY(-2px);
}

.plexkits-footer__social svg {
    display: block;
}

/* ==============================================
   LINK COLUMNS
   ============================================== */

.plexkits-footer__heading {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.plexkits-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.plexkits-footer__links li {
    margin: 0;
    padding: 0;
}

.plexkits-footer__links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 400;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.plexkits-footer__links a:hover {
    color: #fff;
    padding-left: 4px;
}

/* ==============================================
   BOTTOM BAR
   ============================================== */

.plexkits-footer__bottom {
    background: #0a0f1e;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.plexkits-footer__bottom .plexkits-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plexkits-footer__copyright {
    color: #64748b;
    font-size: 0.85rem;
}

.plexkits-footer__legal {
    display: flex;
    gap: 1.5rem;
}

.plexkits-footer__legal a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.plexkits-footer__legal a:hover {
    color: #fff;
}

/* ==============================================
   HIDE ASTRA / ELEMENTOR FOOTER
   ============================================== */

/* Hide Astra's default footer markup when our custom footer is active */
#colophon:not(#plexkits-footer) {
    display: none !important;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 960px) {
    .plexkits-footer__main .plexkits-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .plexkits-footer__col--brand {
        grid-column: 1 / -1;
    }

    .plexkits-footer__tagline {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .plexkits-footer__main {
        padding: 3rem 0 2rem;
    }

    .plexkits-footer__inner {
        padding: 0 1.25rem;
    }

    .plexkits-footer__main .plexkits-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plexkits-footer__col--brand {
        text-align: center;
        align-items: center;
    }

    .plexkits-footer__tagline {
        text-align: center;
    }

    .plexkits-footer__social {
        justify-content: center;
    }

    .plexkits-footer__bottom .plexkits-footer__inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .plexkits-footer__legal {
        justify-content: center;
    }
}
