/*
=====================================
ADMITH LEGACY V2.0

GLOBAL FOOTER SYSTEM
=====================================
*/


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

.footer {

    position: relative;

    padding-top: 80px;

    padding-bottom: 28px;

    background:
        var(--color-black);

    color:
        var(--color-white);

}


/* =========================================================
   FOOTER GRID
========================================================= */

.footer-grid {

    display: grid;

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

    gap:
        var(--space-8);

    padding-bottom: 64px;

}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {

    max-width: 360px;

}


.footer-brand h3 {

    margin: 0 0 18px;

    color:
        var(--color-white);

    font-size:
        1.5rem;

    font-weight:
        800;

    letter-spacing:
        -0.03em;

}


.footer-brand p {

    max-width: 340px;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-size:
        0.95rem;

    line-height:
        1.7;

}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-socials {

    display: flex;

    align-items: center;

    gap:
        12px;

    margin-top:
        28px;

}


/* =========================================================
   SOCIAL LINK
========================================================= */

.footer-social-link {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius:
        50%;

    background:
        rgba(
            255,
            255,
            255,
            0.04
        );

    transition:
        transform 0.3s ease,

        background 0.3s ease,

        border-color 0.3s ease;

}


.footer-social-link img {

    display: block;

    width: 19px;

    height: 19px;

    object-fit: contain;

}


.footer-social-link:hover {

    transform:
        translateY(-4px);

    background:
        var(--color-primary);

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

}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-column h4 {

    margin:
        0 0 20px;

    color:
        var(--color-white);

    font-size:
        0.95rem;

    font-weight:
        700;

}


.footer-column a {

    margin-bottom:
        12px;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );

    font-size:
        0.9rem;

    line-height:
        1.5;

    text-decoration:
        none;

    transition:
        color 0.25s ease,

        transform 0.25s ease;

}


.footer-column a:hover {

    color:
        var(--color-primary);

    transform:
        translateX(4px);

}


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

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap:
        var(--space-6);

    padding-top:
        24px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

}


.footer-bottom p {

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size:
        0.8rem;

}


.footer-legal {

    display: flex;

    align-items: center;

    gap:
        12px;

}


.footer-legal a {

    color:
        rgba(
            255,
            255,
            255,
            0.45
        );

    font-size:
        0.8rem;

    text-decoration:
        none;

    transition:
        color 0.25s ease;

}


.footer-legal a:hover {

    color:
        var(--color-primary);

}


.footer-legal span {

    color:
        rgba(
            255,
            255,
            255,
            0.25
        );

}


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

@media (max-width: 900px) {

    .footer {

        padding-top:
            64px;

    }


    .footer-grid {

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

        gap:
            48px 32px;

        padding-bottom:
            48px;

    }
    .footer-brand {

        max-width:
            100%;

    }

}


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

@media (max-width: 600px) {

    .footer {

        padding-top:
            56px;

        padding-bottom:
            24px;

    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            40px;

        padding-bottom:
            40px;

    }


    .footer-column {

        align-items:
            center;

        text-align:
            center;

    }


    .footer-brand {

        max-width:
            100%;

    }


    .footer-brand p {

        max-width:
            100%;

    }


    .footer-socials {

        margin-top:
            24px;

    }


    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            18px;

    }


    .footer-legal {

        flex-wrap:
            wrap;

    }

}
