/* ==================== 底部区域 ==================== */
.footer-section {
    margin-top: 50px;
}

/* 黑色导航栏 */
.footer-nav {
    background-color: #000000;
    padding: 25px 0;
}

.footer-nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-nav-item {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.footer-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* 红色联系信息区 */
.footer-contact {
    background-color: #D90000;
    padding: 40px 0;
    color: #fff;
}

.footer-contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-contact-info {
    flex: 0 0 50%;
}

.footer-contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.footer-contact-info strong {
    font-weight: bold;
}

.footer-contact-qr-container {
    display: flex;
    gap: 30px;
}

.footer-contact-qr {
    flex: 0 0 auto;
    text-align: center;
}

.footer-contact-qr img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer-contact-qr p {
    font-size: 14px;
    margin: 0;
}

/* 平板端底部调整 */
@media (max-width: 991px) {
    .footer-nav-list {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-nav-link {
        font-size: 14px;
    }
    
    .footer-contact-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .footer-contact-info {
        flex: 100%;
        text-align: center;
    }
    
    .footer-contact-qr-container {
        display: flex;
        gap: 30px;
    }
    
    .footer-contact-qr {
        flex: 0 0 auto;
        text-align: center;
    }
}

/* 手机端底部调整 */
@media (max-width: 767px) {
    .footer-nav-list {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 2px;
        overflow-x: hidden;
    }
    
    .footer-nav-item {
        flex: 1;
        min-width: auto;
        padding: 0 2px;
    }
    
    .footer-nav-link {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .footer-contact {
        padding: 30px 0;
    }
    
    .footer-contact-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-contact-info {
        flex: 100%;
        text-align: center;
        overflow: hidden;
        padding-top: 0;
    }
    
    .footer-contact-info p {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .footer-contact-qr-container {
        flex: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        align-items: center;
        justify-items: center;
        max-width: 300px;
    }
    
    .footer-contact-qr {
        flex: 0 0 auto;
        text-align: center;
        width: 100%;
    }
    
    .footer-contact-qr img {
        width: 70px;
        height: 70px;
        margin-bottom: 5px;
    }
    
    .footer-contact-qr p {
        font-size: 9px;
        margin: 0;
        line-height: 1.2;
    }
}
