/**
 * Footer
 *
 * @package Manu_Portfolio
 */


/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    position: relative;
    padding: 70px 0 30px;
    overflow: hidden;
    background: #050408;
    border-top: 1px solid var(--color-border);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 1px;
    background: var(--color-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}


/* =====================================================
   TOP
   ===================================================== */

.site-footer__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 70px;
}

.site-footer__brand {
    max-width: 700px;
}

.site-footer__eyebrow {
    display: block;
    margin-bottom: 22px;
    color: var(--color-primary-soft);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.site-footer__brand p {
    margin: 0;
    color: #F5F3FF !important;
    font-size: clamp(38px, 6vw, 82px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.site-footer__brand p span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(192, 132, 252, 0.6);
}


/* =====================================================
   BACK TO TOP
   ===================================================== */

.site-footer__top-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    color: #A8A3B8;
    font-size: 9px;
    letter-spacing: 0.1em;
    transition:
        color var(--transition-base),
        transform var(--transition-base);
}

.site-footer__top-link:hover {
    color: var(--color-primary-soft);
    transform: translateY(-3px);
}

.site-footer__top-link span {
    color: var(--color-primary);
    font-size: 18px;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

.site-footer__navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 30px 0 55px;
    border-top: 1px solid rgba(168, 163, 184, 0.10);
}

.site-footer__navigation-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.site-footer__navigation-label {
    color: rgba(168, 163, 184, 0.4);
    font-size: 9px;
    letter-spacing: 0.14em;
}

.site-footer__navigation-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    max-width: 240px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(168, 163, 184, 0.12);
    color: #F5F3FF;
    font-size: 14px;
    transition:
        color var(--transition-base),
        border-color var(--transition-base),
        padding-left var(--transition-base);
}

.site-footer__navigation-link span:last-child {
    color: var(--color-primary);
    font-size: 16px;
    transition: transform var(--transition-base);
}

.site-footer__navigation-link:hover {
    padding-left: 5px;
    border-color: var(--color-primary);
    color: var(--color-primary-soft);
}

.site-footer__navigation-link:hover span:last-child {
    transform: translate(3px, -3px);
}


/* =====================================================
   SOCIALS
   ===================================================== */

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__social {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background: rgba(18, 16, 26, 0.55);
    color: #A8A3B8;
    transition:
        color var(--transition-base),
        border-color var(--transition-base),
        background var(--transition-base),
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.site-footer__social::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid transparent;
    transition: border-color var(--transition-base);
}

.site-footer__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition:
        transform var(--transition-base),
        filter var(--transition-base);
}

.site-footer__social span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer__social:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-primary-soft);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
    transform: translateY(-4px);
}

.site-footer__social:hover::before {
    border-color: rgba(192, 132, 252, 0.12);
}

.site-footer__social:hover svg {
    transform: scale(1.12);
    filter: drop-shadow(0 0 7px rgba(168, 85, 247, 0.5));
}


/* =====================================================
   BOTTOM
   ===================================================== */

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(168, 163, 184, 0.10);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(168, 163, 184, 0.4) !important;
    font-size: 10px;
}

.site-footer__meta {
    display: flex;
    gap: 9px;
    color: rgba(168, 163, 184, 0.35);
    font-size: 8px;
    letter-spacing: 0.1em;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

    .site-footer__navigation {
        gap: 50px;
    }

}

@media (max-width: 600px) {

    .site-footer {
        padding-top: 55px;
        text-align: center;
    }

    /* =================================================
       TOP
       ================================================= */

    .site-footer__top {
        flex-direction: column;
        align-items: center;
        padding-bottom: 50px;
        text-align: center;
    }

    .site-footer__brand {
        max-width: 100%;
        text-align: center;
    }

    .site-footer__brand p {
        font-size: clamp(40px, 13vw, 65px);
        text-align: center;
    }

    .site-footer__eyebrow {
        text-align: center;
    }

    .site-footer__top-link {
        margin-inline: auto;
    }


    /* =================================================
       NAVIGATION
       ================================================= */

    .site-footer__navigation {
        grid-template-columns: 1fr;
        gap: 45px;
        justify-items: center;
        text-align: center;
    }

    .site-footer__navigation-group {
        align-items: center;
        text-align: center;
    }

    .site-footer__navigation-label {
        text-align: center;
    }

    .site-footer__navigation-link {
        width: 240px;
        text-align: left;
    }


    /* =================================================
       SOCIALS
       ================================================= */

    .site-footer__socials {
        justify-content: center;
        gap: 10px;
    }

    .site-footer__social {
        width: 48px;
        height: 48px;
    }


    /* =================================================
       BOTTOM
       ================================================= */

    .site-footer__bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }

    .site-footer__bottom p {
        text-align: center;
    }

    .site-footer__meta {
        justify-content: center;
        text-align: center;
    }

}
