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

.footer {
    position: relative;
    width: 100%;
    border-top: 1px solid var(--base-400);
    overflow: hidden;
}

/* ================= INNER ================= */

.footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    padding: 5rem 1.5rem 8rem 1.5rem;
    min-height: 28rem;
}

/* ================= TOP SECTION ================= */

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ================= SOCIAL ROW ================= */

.footer-social-row {
    display: flex;
    gap: 1.25rem;
}

.footer-social-row a {
    color: var(--base-300);
    transition: all 0.3s ease;
}

.footer-social-row a:hover {
    color: var(--base-100);
    transform: scale(1.1);
}

/* ================= NAV ROW ================= */

.footer-nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-nav-row a {
    color: var(--base-300);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 0.3rem;
    position: relative;
    transition: all 0.3s ease;
}

.footer-nav-row a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background: var(--base-100);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-nav-row a:hover {
    color: var(--base-100);
}

.footer-nav-row a:hover::after {
    width: 100%;
}

/* ================= BACKGROUND BIG TEXT ================= */

.footer-bg-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    font-size: clamp(2rem, 7.5vw, 5.5rem);

    white-space: nowrap;
    width: 100%;
    text-align: center;

    background: linear-gradient(
        180deg,
        rgba(242, 237, 230, 0.12) 0%,
        rgba(242, 237, 230, 0.05) 60%,
        transparent 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= LOGO CARD ================= */

.footer-logo-card {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 0.75rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 19, 19, 0.6);
    backdrop-filter: blur(10px);
}

.footer-logo-card-inner {
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-card-inner img {
    width: 110%;
    height: 110%;
    object-fit: contain;
}

/* ================= LINE ================= */

.footer-line {
    position: absolute;
    bottom: 2.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--base-400) 30%,
        var(--base-400) 70%,
        transparent 100%
    );
}

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

.footer-bottom {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding-top: 1.2rem;
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(242, 237, 230, 0.6);
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(242, 237, 230, 0.4) 30%,
        rgba(242, 237, 230, 0.4) 70%,
        transparent 100%
    );
}

/* ================= SHADOW ================= */

.footer-bottom-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(20, 19, 19, 0.4) 40%,
        var(--base-500) 100%
    );
    pointer-events: none;
}
