/* ===== FOOTER 樣式 ===== */
.footer {
    background-color: #000000;
    padding: 80px 0 40px;
    color: #FFFFFF;
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col-group {
    display: flex;
    gap: 20px;
    flex: 2;
    flex-wrap: wrap;
}

.footer-header {
    margin-bottom: 40px;
}

.footer-hero-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 96px;
    line-height: 120px;
    letter-spacing: 5%;
}

.get-ready {
    color: #FFFFFF;
    display: block;
}

.contact-us {
    font-size: 56px;
    color: #F75105;
    display: block;
    text-align: right;
}

.footer-col {
    flex: 1;
    /* min-width: 250px; */
}

.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #F7F7F7;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.57;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.footer-link {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #F75105;
}

.footer-logo {
    height: 40px;
    margin-bottom: 32px;
}

.footer-map {
    min-height: 280px;
    height: 280px;
    width: 100%;
    border-radius: 16px;
}

.footer-copyright {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 5%;
    color: #474343;
}

/* ===== 響應式設計 ===== */

/* 1200px - 1249px */
@media (max-width: 1249px) {
    .contact-us {
        font-size: 52px;
    }
}

/* 1024px - 1199px */
@media (max-width: 1199px) {
    .contact-us {
        font-size: 44px;
    }
}

/* 大型桌面 (1200px 以下) */
@media (max-width: 1200px) {

    .footer-hero-text {
        font-size: 80px;
        line-height: 100px;
    }

    .footer-col {
        /* min-width: 220px; */
    }
}

/* 中型桌面/平板橫向 (992px 以下) */
@media (max-width: 992px) {

    .footer-hero-text {
        font-size: 64px;
        line-height: 80px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-links-container {
        gap: 20px;
    }

    .footer-map {
        min-height: 250px;
        height: 250px;
    }
}

/* 平板直向 (768px 到 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .contact-us {
        font-size: 30px;
    }
}

/* 平板直向 (768px 以下) */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }


    .footer-hero-text {
        font-size: 42px;
        line-height: 50px;
    }

    .contact-us {
        text-align: left;
        font-size: 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 25px;
    }

    /* 針對 footer-links-container 啟用並排佈局 */
    .footer-links-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-col-group {
        flex-direction: column;
        gap: 0px;
        width: 50%;
        flex: 1;
    }

    .company-col {
        width: 50%;
        flex: 1;
    }

    .footer-col {
        /* width: 100%; */
        /* min-width: unset; */
    }

    /* 隱藏社群標題 */
    .social-heading {
        display: none;
    }

    /* 調整間距 */
    .contact-col .footer-text {
        margin-bottom: 10px;
    }
    
    .social-col {
        margin-top: 0;
    }

    .footer-copyright {
        font-size: 16px;
        margin-bottom: 0;
    }

    .footer-map {
        min-height: 200px;
        height: 200px;
    }

    .footer-logo {
        margin-top: 30px;
        margin-bottom: 20px;
        height: 35px;
    }

}

/* 大型手機 (576px 以下) */
@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-hero-text {
        font-size: 32px;
        line-height: 38px;
    }

    .footer-heading {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-text {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-link {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-copyright {
        font-size: 14px;
    }

    .footer-map {
        min-height: 180px;
        height: 180px;
        border-radius: 12px;
    }

    .footer-logo {
        height: 30px;
        margin-top: 25px;
        margin-bottom: 15px;
    }


    .footer-container {
        gap: 20px;
    }

    .footer-links-container {
        gap: 20px;
    }

    .footer-header {
        margin-bottom: 25px;
    }
}

/* 小型手機 (480px 以下) */
@media (max-width: 480px) {
    .footer {
        padding: 25px 0 12px;
    }

    .footer-hero-text {
        font-size: 28px;
        line-height: 34px;
    }

    .footer-heading {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-text {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .footer-link {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-map {
        min-height: 160px;
        height: 160px;
        border-radius: 10px;
    }

    .footer-logo {
        height: 25px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .footer-container {
        gap: 15px;
    }

    .footer-header {
        margin-bottom: 20px;
    }


}

/* 超小型手機 (360px 以下) */
@media (max-width: 360px) {
    .footer-hero-text {
        font-size: 24px;
        line-height: 30px;
    }

    .footer-text {
        font-size: 11px;
    }

    .footer-link {
        font-size: 11px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-map {
        min-height: 140px;
        height: 140px;
    }
}