/* Footer 样式 */
.site-footer {
    background: #931d22;
    padding: 0;
    color: #f6e8b9;
    height: 505px;
    position: relative;
}

.footer-main {
    padding: 40px 0;
}

.footer-main .container {
    width: 1570px;
    max-width: 1570px;
    margin: 0 auto;
    padding: 0;
}

/* 第一行：Logo和导航 */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-right: 90px;
}

.footer-logo {
    margin-right: 15px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    padding-bottom: 20px;
    margin: 0 auto;
    width: 309px;
}

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

.footer-nav {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: space-between;
    font-size: 22px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: #f6e8b9;
}

/* 第二行：联系信息和二维码 */
.footer-info-row {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    font-size: 22px;
}

/* 招生专线 */
.footer-contact-section .section-title {
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    margin-bottom: 10px;
    font-size: 22px;
    color: #f6e8b9;
    text-align: left;
    font-weight: normal;
    line-height: normal;
}

.footer-contact-section .contact-label {
    margin-bottom: 5px;
}

.footer-contact-section .contact-value {
    margin-bottom: 10px;
}

/* 学校地址和邮箱 */
.footer-address-section .section-title {
    font-size: 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    padding-bottom: 10px;
    font-size: 22px;
    color: #f6e8b9;
    text-align: left;
    font-weight: normal;
    line-height: normal;
}

.footer-address-section .address-text {
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    padding-bottom: 10px;
}

.footer-address-section .email-label {
    font-size: 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgb(246 232 185 / 50%);
    padding-bottom: 10px;
}

.footer-address-section .email-text,
.footer-address-section .website-text {
    font-size: 16px;
    margin-bottom: 8px;
}

/* 二维码区域 */
.footer-qrcode-section {
    display: flex;
    gap: 20px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-box {
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-box:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.qrcode-box img {
    width: 177px;
    height: 186px;
    transition: transform 0.3s ease;
}

.qrcode-box:hover img {
    transform: scale(1.05);
}

/* 页脚底部 */
.footer-bottom {
    background: #7a181d;
    height: 80px;
    line-height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-bottom .container {
    width: 1570px;
    max-width: 1570px;
    margin: 0 auto;
    padding: 0;
}

.footer-copyright {
    text-align: center;
    font-size: 16px;
}

.footer-copyright a{
    color: #f6e8b9;
}

/* 1600px 以下适配 */
@media (max-width: 1600px) {
    .footer-main {
        width: 1400px;
        margin: 0 auto;
    }

    .footer-nav {
        gap: 30px;
        justify-content: left;
    }

    .footer-info-row{
        width: 1400px;
    }

    .qrcode-box img {
       width: 137px;
        height: 146px;
        transition: transform 0.3s ease;
    }

    .footer-address-section{
        margin-left: 80px;
        margin-right: 80px;
    }
}

/* 1440px 以下适配 */
@media (max-width: 1440px) {
    .footer-nav {
        gap: 20px;
        justify-content: left;
        font-size: 20px;
    }

    .footer-main {
        width: 1280px;
        margin: 0 auto;
    }

    .footer-main .container {
        width: 1280px !important;
    }

    .footer-logo-wrapper {
        display: flex;
        align-items: center;
        margin-right: 60px;
    }

    .footer-address-section {
        margin-left: 60px;
        margin-right: 30px;
    }

    .qrcode-box img {
        width: 127px;
        height: 136px;
        transition: transform 0.3s ease;
    }

    .footer-info-row {
        width: 1280px;
    }
}
