/* 页脚样式优化 - 马帮传奇 */

/* 页脚基础样式 */
#footer {
    position: relative;
    color: #9b9b9b;
    min-width: 1280px;
    margin: 49px auto 0px auto;
    background: url(../images/footerbg.jpg) no-repeat center bottom;
    z-index: 1500;
    font-family: 'Microsoft YaHei', sans-serif;
}

/* 页脚顶部区域 */
.footer-top {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .center {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 1273px;
    padding-right: 87px;
}

/* 页脚Logo */
.footer-logo {
    width: 300px;
    text-align: center;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* 联系我们区域 */
.footer-contact {
    width: 300px;
    padding: 0 20px;
}

.contact-title {
    font-size: 18px;
    color: #ddbf71;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.contact-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e04524, #ddbf71);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-item i {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e04524, #c0392b);
    border-radius: 50%;
    color: #fff;
}

.contact-item a {
    color: #9b9b9b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ddbf71;
    text-decoration: none;
}

/* 快速导航区域 */
.footer-nav {
    width: 400px;
}

.nav-title {
    font-size: 18px;
    color: #ddbf71;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.nav-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e04524, #ddbf71);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
}

.nav-links a {
    color: #9b9b9b;
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ddbf71;
    text-decoration: none;
}

.nav-links a:hover:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddbf71;
}

/* 页脚底部区域 */
.footer-bottom {
    padding: 20px 0;
}

.footer-bottom .center {
    width: 1273px;
    padding-right: 87px;
    text-align: center;
}

/* 页脚提示文字 */
.footer-tips {
    font-size: 14px;
    color: #8d6e3e;
    margin-bottom: 15px;
    line-height: 1.6;
    padding: 0 20px;
}

/* 版权信息 */
.footer-copyright {
    line-height: 24px;
}

.footer-copyright p {
    margin-bottom: 5px;
}

.footer-copyright a {
    font-size: 14px;
    font-weight: bold;
    color: #e04524;
    text-decoration: underline;
}

.footer-copyright a:hover {
    color: #fae1a8;
}

/* 图标样式 */
.icon-qq, .icon-group {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-qq:before {
    content: "\f1d6"; /* QQ图标的Unicode */
    font-family: 'Font Awesome 5 Brands';
}

.icon-group:before {
    content: "\f0c0"; /* 用户组图标的Unicode */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    #footer {
        min-width: auto;
        height: auto;
        margin: 20px auto 0 auto;
        background-size: cover;
    }
    
    .footer-top .center,
    .footer-bottom .center {
        width: 100%;
        padding: 0 15px;
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-nav {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .contact-title:after,
    .nav-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .footer-tips {
        font-size: 12px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* 小屏幕手机优化 */
@media screen and (max-width: 480px) {
    .nav-links a {
        margin-right: 10px;
        font-size: 12px;
    }
    
    .footer-tips {
        padding: 0 10px;
    }
}