/**
 * Footer Styles (BEM)
 */

/* ==========================================================================
   Footer Block
   ========================================================================== */

.footer {
    background-color: var(--black);
    padding: 50px 30px;
}

.footer__container {
    width: 100%;
    max-width: 1230px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px 40px;
}

/* ==========================================================================
   Footer Main Content (Row 1)
   ========================================================================== */

.footer__brand-column {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo {
    display: block;
}

.footer__logo img {
    max-width: 220px;
    height: auto;
}

/* Social Links */
.footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.footer__social-link:hover {
    opacity: 0.7;
}

.footer__social-icon {
    width: 32px;
    height: 32px;
    filter: invert(1);
    cursor: pointer;
}

/* ==========================================================================
   Footer Contact Column (Row 1, Column 2)
   ========================================================================== */

.footer__contact-column {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__company-name {
    font-family: Figtree, sans-serif;
    color: var(--white);
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer__contact-text {
    font-family: Figtree, sans-serif;
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.footer__contact-text--bold {
    font-weight: 700;
}

/* ==========================================================================
   Footer Bottom Row (Row 2)
   ========================================================================== */

.footer__copyright {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    font-family: Figtree, sans-serif;
    color: var(--white);
    font-size: 14px;
    line-height: 1.5;
}

.footer__legal {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__legal-link {
    font-family: Nunito Variablefont Wght, Arial, sans-serif;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: var(--yellow);
}

.footer__legal-divider {
    width: 2px;
    height: 20px;
    background-color: var(--white);
}

/* ==========================================================================
   Mobile Copyright (Hidden on Desktop)
   ========================================================================== */

.footer__bottom-mobile {
    display: none;
}

/* ==========================================================================
   Responsive - Tablet (max-width: 991px)
   ========================================================================== */

@media screen and (max-width: 991px) {
    .footer {
        padding: 40px 20px;
    }

    .footer__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer__brand-column {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
    }

    .footer__logo img {
        max-width: 180px;
    }

    .footer__contact-column {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer__company-name {
        text-align: center;
    }

    .footer__contact-item {
        justify-content: center;
    }

    /* Hide desktop bottom, show mobile */
    .footer__copyright,
    .footer__legal {
        display: none;
    }

    .footer__bottom-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .footer__legal--mobile {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer__copyright--mobile {
        font-family: Figtree, sans-serif;
        color: var(--white);
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }
}

/* ==========================================================================
   Responsive - Mobile (max-width: 767px)
   ========================================================================== */

@media screen and (max-width: 767px) {
    .footer__contact-column {
        align-items: flex-start;
    }

    .footer__company-name {
        text-align: left;
    }

    .footer__contact-item {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Responsive - Small Mobile (max-width: 479px)
   ========================================================================== */

@media screen and (max-width: 479px) {
    .footer {
        padding: 30px 15px;
    }

    .footer__container {
        gap: 25px;
    }

    .footer__brand-column {
        flex-direction: column;
        align-items: center;
    }

    .footer__contact-column {
        align-items: flex-start;
    }

    .footer__contact-item {
        justify-content: flex-start;
    }

    .footer__copyright--mobile {
        font-size: 11px;
    }
}
