/* Footer Component Styles */
.footer {
    position: relative;
    width: 100%;
    min-height: 14.4375rem; /* 231px */
    overflow: hidden;
    color: white;
}

.footer-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.footer-yellow-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem; /* 8px */
    background: linear-gradient(90deg, #efb801 0%, #f1d049 100%);
    z-index: 2;
}

.footer-inner {
    position: relative;
    z-index: 3;
    max-width: 94.5rem; /* 1512px */
    margin: 0 auto;
    padding: 3.5625rem 3.625rem 2.5rem; /* 57px top, 58px sides, 40px bottom */
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(2rem, 6vw, 9rem);
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Logo */
.footer-logo {
    width: 11.1875rem; /* 179px */
    height: 4.875rem;  /* 78px */
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Left links/text */
.footer-links-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-text {
    font-family: 'Afacad', sans-serif;
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    letter-spacing: 0.0375rem; /* 0.6px */
    color: white;
}

.footer-links-left a {
    font-family: 'Afacad', sans-serif;
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    letter-spacing: 0.0375rem; /* 0.6px */
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    transition: opacity 0.2s ease;
}

.footer-links-left a:hover {
    opacity: 0.8;
}

/* Right navigation links */
.footer-links-right {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* 40px */
}

.footer-links-right a {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 1.875rem; /* 30px */
    letter-spacing: 0.075rem; /* 1.2px */
    color: #efb801;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links-right a:hover {
    opacity: 0.75;
}

/* Copyright */
.footer-copyright {
    font-family: 'Afacad', sans-serif;
    font-weight: 400;
    font-size: 1.25rem; /* 20px */
    letter-spacing: 0.0375rem; /* 0.6px */
    color: white;
    text-align: right;
    margin: 0;
}

/* -------------------------
   Tablet & Small Desktop
   ------------------------- */
@media screen and (max-width: 1024px) {
    .footer-inner {
        padding: 3rem 2.5rem 2rem;
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-left {
        justify-content: center;
    }

    .footer-links-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* -------------------------
   Mobile
   ------------------------- */
@media screen and (max-width: 768px) {
    .footer-inner {
        padding: 2.5rem 1.75rem 1.75rem;
    }

    .footer-left {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-links-left {
        align-items: center;
    }

    .footer-links-right {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-links-right a {
        font-size: clamp(1.125rem, 5vw, 1.75rem);
    }

    .footer-link-text,
    .footer-links-left a,
    .footer-copyright {
        font-size: clamp(1rem, 4vw, 1.25rem);
        text-align: center;
    }
}
