﻿.footer {
    width: 100%;
    background-color: #4a4a4a;
    color: #e0e0e0;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr 2fr;
    gap: 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .footer-logo img {
        width: 218px;
        object-fit: contain;
        margin: 0 auto;
    }

.footer-desc {
    text-align: center;
    color: #FF6B8B; /* 改为主题粉色 */
    font-size: 12px; /* 字体增大一点 */
    font-weight: 500; /* 增加字体粗细 */
    margin-top: 15px; /* 增加与logo的间距 */
    letter-spacing: 1px; /* 增加字母间距 */
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 8px;
    position: relative;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 29px;
        height: 2px;
        background-color: #FF6B8B;
    }

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 8px;
    }

        .footer-links li a {
            color: #bdbdbd;
            text-decoration: none;
            font-size: 12px;
            transition: color 0.3s;
        }

            .footer-links li a:hover {
                color: #FF6B8B;
            }

.contact-item {
    margin-bottom: 10px;
    font-size: 12px;
    color: #bdbdbd;
}

    .contact-item i {
        color: #FF6B8B;
        margin-right: 8px;
    }

.wechat-qrcode-2 {
    max-width: 88px;
    display: block;
    margin: 15px auto 10px;
}

.wechat-text {
    text-align: center;
    font-size: 12px;
    color: #bdbdbd;
}

/* 三栏二维码组合 */
.qrcode-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    width: 100%;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    flex-shrink: 0;
}

    .qrcode-item .qrcode-img {
        width: 100px;
        height: 100px;
        object-fit: contain;
        background: #fff;
        border-radius: 6px;
        padding: 4px;
        box-sizing: border-box;
        transition: transform 0.2s ease;
    }

    .qrcode-item:hover .qrcode-img {
        transform: scale(1.05);
    }

    .qrcode-item .qrcode-label {
        margin-top: 8px;
        font-size: 12px;
        color: #bdbdbd;
        text-align: center;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #5a5a5a;
    font-size: 12px;
    color: #9e9e9e;
}
    .copyright img {
        width: auto;
        height: 24px;
        vertical-align: middle;
        margin: 0 5px 0px 10px;
    }

    .copyright a {
        margin: 0 5px 0px 10px;
    }

/* 移动端适配 */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .qrcode-item {
        width: 80px;
    }
    .qrcode-item .qrcode-img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .qrcode-item {
        width: 70px;
    }
    .qrcode-item .qrcode-img {
        width: 70px;
        height: 70px;
    }
    .qrcode-item .qrcode-label {
        font-size: 10px;
    }
}

/* 客户服务和同城专区的2列布局 */
.footer-section:nth-child(1) .footer-links,
.footer-section:nth-child(3) .footer-links {
    column-count: 2;
    column-gap: 10px;
}

    .footer-section:nth-child(1) .footer-links li,
    .footer-section:nth-child(3) .footer-links li {
        break-inside: avoid;
    }
