/* ============================================================
   Footer Styles
   ============================================================ */

footer {
    width: 100%;
    background-image: url('../images/footer.webp');
    background-size: cover;
    background-position: center bottom;
    background-color: #000000;
    position: relative;
    color: #ffffff;
}

footer:after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

footer .main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}

footer ul {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
}

footer ul li {
    line-height: 1.8;
}

footer ul li a {
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-nexa-black);
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.2s ease-in-out;
}

footer ul li a:hover {
    color: var(--primary-color, #ee5a23);
}

.footer-left-list li a span::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 3px;
    background-color: var(--primary-color, #ee5a23);
    margin-right: 0;
    vertical-align: middle;
    transition: width 0.2s ease, margin-right 0.2s ease;
}

.footer-left-list li a:hover span::before {
    width: 24px;
    margin-right: 12px;
}

.footer-right-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.footer-right-list li a {
    font-family: var(--font-nexa-book);
    font-size: clamp(1.2rem, 2.2vw, 1.9rem);
    line-height: 2;
}

.footer-logo-container {
    width: clamp(140px, 16vw, 220px);
}

.footer-logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop 100vh Sticky Reveal Effect */
@media (min-width: 1025px) {
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        z-index: 1;
    }

    footer .main-container {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Mobile & Tablet Stacking */
@media (max-width: 1024px) {
    footer {
        position: static;
        height: auto;
        min-height: auto;
        padding: 40px 0;
    }

    footer .main-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-right-container {
        align-items: flex-start;
        width: 100%;
        gap: 30px;
    }

    .footer-logo-container {
        margin-top: 20px;
    }
}