/* =====================================================
   ObfuscatorJS Framework v2.4
   footer.css
   Footer System
   Production Safe Version

   Compatible with:
   - Existing HTML
   - Existing JavaScript
   - Existing variables.css
   - Existing dark.css
   - Existing component system

   SAFE UPDATE:
   - No HTML changes required
   - No JavaScript changes required
   - No class names removed
   - No layout-breaking changes
===================================================== */


/* =====================================================
   SITE FOOTER
===================================================== */

.site-footer {

    margin-top: var(--space-8);

    background: var(--surface-color);

    border-top: 1px solid var(--border-color);

    color: var(--text-color);

}


/* =====================================================
   FOOTER WRAPPER
===================================================== */

.footer-wrapper {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: var(--space-6);

    padding: var(--space-8) 0;

}


/* =====================================================
   FOOTER COLUMN
===================================================== */

.footer-column {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


/* =====================================================
   FOOTER TITLE
===================================================== */

.footer-title {

    margin: 0 0 var(--space-4);

    color: var(--text-color);

    font-size: var(--font-size-lg);

    font-weight: var(--font-bold);

    line-height: 1.3;

}


/* =====================================================
   FOOTER DESCRIPTION
===================================================== */

.footer-description {

    max-width: 420px;

    margin: 0;

    color: var(--text-light-color);

    font-size: var(--font-size-md);

    line-height: var(--line-height);

    overflow-wrap: break-word;

}


/* =====================================================
   FOOTER LINKS
===================================================== */

.footer-links {

    display: flex;

    flex-direction: column;

    gap: var(--space-3);

    margin: 0;

    padding: 0;

    list-style: none;

}


/* =====================================================
   FOOTER LINK
===================================================== */

.footer-links a {

    display: inline-block;

    max-width: 100%;

    color: var(--text-light-color);

    font-size: var(--font-size-md);

    line-height: 1.5;

    text-decoration: none;

    overflow-wrap: break-word;

    transition:
        color .2s ease,
        transform .2s ease;

}


/* =====================================================
   FOOTER LINK HOVER
===================================================== */

.footer-links a:hover {

    color: var(--primary-color);

    transform: translateX(3px);

}


/* =====================================================
   FOOTER LINK FOCUS
===================================================== */

.footer-links a:focus-visible {

    outline:
        var(--focus-width)
        solid
        var(--primary-color);

    outline-offset: var(--focus-offset);

    border-radius: var(--radius-sm);

}


/* =====================================================
   FOOTER BOTTOM
===================================================== */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 64px;

    padding: var(--space-4) 0;

    border-top: 1px solid var(--border-color);

    text-align: center;

}


/* =====================================================
   FOOTER COPYRIGHT
===================================================== */

.footer-bottom p {

    margin: 0;

    color: var(--text-light-color);

    font-size: var(--font-size-sm);

    line-height: 1.6;

    overflow-wrap: break-word;

}


/* =====================================================
   CURRENT YEAR
===================================================== */

#current-year {

    color: inherit;

}


/* =====================================================
   DARK MODE
===================================================== */

html.dark .site-footer {

    background: var(--surface-color);

    border-color: var(--border-color);

    color: var(--text-color);

}


html.dark .footer-title {

    color: var(--text-color);

}


html.dark .footer-description,
html.dark .footer-links a,
html.dark .footer-bottom p {

    color: var(--text-light-color);

}


html.dark .footer-links a:hover {

    color: var(--primary-color);

}


html.dark .footer-links a:focus-visible {

    outline-color: var(--primary-color);

}


html.dark .footer-bottom {

    border-color: var(--border-color);

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .footer-wrapper {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: var(--space-6);

    }


    .footer-description {

        max-width: 100%;

    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .site-footer {

        margin-top: var(--space-7);

    }


    .footer-wrapper {

        grid-template-columns: 1fr;

        gap: var(--space-6);

        padding:
            var(--space-7)
            0;

    }


    .footer-title {

        margin-bottom: var(--space-3);

    }


    .footer-description {

        max-width: 100%;

    }


    .footer-links {

        gap: var(--space-3);

    }


    .footer-bottom {

        min-height: 60px;

        padding:
            var(--space-4)
            var(--container-gutter-mobile);

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .footer-wrapper {

        gap: var(--space-5);

    }


    .footer-bottom {

        padding:
            var(--space-3)
            var(--container-gutter-mobile);

    }


    .footer-bottom p {

        font-size: var(--font-size-xs);

    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-links a {

        transition: none !important;

        transform: none !important;

    }

}


/* =====================================================
   PRINT
===================================================== */

@media print {

    .site-footer {

        margin-top: 20px;

        background: #ffffff;

        color: #000000;

        border-top: 1px solid #000000;

        box-shadow: none !important;

    }


    .footer-title,
    .footer-description,
    .footer-bottom p {

        color: #000000;

    }


    .footer-links a {

        color: #000000;

        text-decoration: underline;

    }


    .footer-links a:hover {

        color: #000000;

        transform: none;

    }

}


/* =====================================================
   END OF FOOTER.CSS
===================================================== */