/* Footer 样式 */
.footer {
    background-color: var(--mainColor);
    color: #fff;
    height: 120px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.footer.show {
    transform: translateY(0);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.footer-left {
    flex: 1;
}

.footer-left .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-left .contact-info p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-left .contact-info i {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer {
        position: relative;
        height: auto;
        min-height: 100px;
        padding: 15px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-left .contact-info {
        align-items: center;
    }

    .contact-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-images {
        gap: 20px;
    }

    .footer-logo img {
        height: 50px;
    }

    .qr-code img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 15px;
    }

    .footer-left .contact-info p {
        font-size: 13px;
    }

    .contact-row {
        gap: 10px;
    }

    .footer-images {
        flex-direction: column;
        gap: 15px;
    }

    .footer-logo img {
        height: 40px;
    }

    .qr-code img {
        width: 45px;
        height: 45px;
    }
}

.footer-right {
    flex: 0 0 auto;
}

.footer-images {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.qr-code img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-code p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .qr-code img {
        width: 50px;
        height: 50px;
    }

    .qr-code img:hover {
        transform: scale(1.15);
    }
}

@media (max-width: 480px) {
    .qr-code img {
        width: 45px;
        height: 45px;
    }

    .qr-code img:hover {
        transform: scale(1.1);
    }
}


.footer-static {
    background-color: var(--mainColor);
    color: #fff;
    padding: 30px 0;
    margin-top: auto;
}

.footer-static .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-static .footer-left {
    flex: 1;
}

.footer-static .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-static .contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-static .contact-info p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-static .contact-info i {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.footer-static .footer-right {
    flex: 0 0 auto;
}

.footer-static .footer-images {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-static .footer-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-static .qr-code {
    text-align: center;
}

.footer-static .qr-code img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.footer-static .qr-code img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-static .qr-code p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 600px) {

    .footer-static .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-static .contact-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-static .footer-images {
        gap: 20px;
    }
}