/* 页脚整体样式 - 多层结构优化 */
#footer {
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 30%, #8d6e63 100%);
    color: #ffffff;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

/* 添加装饰性顶部边框 */
#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffcc80, #ffab40, #ffcc80);
    z-index: 1;
}

/* 添加背景图案 */
#footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 204, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 171, 64, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 页脚内容区域 - 简化版 */
.foot-top {
    position: relative;
    z-index: 1;
    padding: 0;
    border-bottom: none;
}

/* 版权信息区域优化 */
.copy {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(30, 20, 18, 0.95) 0%, rgba(62, 39, 35, 0.9) 100%);
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid rgba(255, 204, 128, 0.3);
    margin-top: 0;
}

.copy p {
    color: #ffcc80; /* 改为亮色 */
    font-size: 1.4rem; /* 增大字体 */
    margin: 0;
    padding: 15px 0;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.copy p::before, .copy p::after {
    content: '✦';
    color: #ffffff;
    margin: 0 20px;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(255, 204, 128, 0.5);
}

.copy p span {
    background: rgba(255, 204, 128, 0.15);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 204, 128, 0.3);
}

/* 融合的联系方式和信息层 */
.footer-info-layer {
    background: rgba(93, 64, 55, 0.4); /* 使用网站主题色 */
    padding: 40px 0;
    border-top: 2px solid rgba(255, 204, 128, 0.3);
    border-bottom: 2px solid rgba(255, 204, 128, 0.3);
    margin: 0;
    position: relative;
    z-index: 1;
}

.footer-info-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 204, 128, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 171, 64, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.info-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.info-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px 25px;
    background: rgba(141, 110, 99, 0.3); /* 使用网站主题色 */
    border-radius: 12px;
    border: 2px solid rgba(255, 204, 128, 0.25);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 204, 128, 0.4);
    background: rgba(141, 110, 99, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.info-item i {
    font-size: 2.5rem;
    color: #ffcc80;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.info-item h5 {
    color: #ffcc80;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.info-item p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* 二维码样式 - 优化版 */
.qr-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.qr-image-wrapper {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 204, 128, 0.2);
    transition: all 0.3s ease;
}

.qr-item:hover .qr-image-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 204, 128, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.qr-img {
    width: 140px;
    height: 140px;
    display: block;
    border-radius: 8px;
    background: transparent;
    padding: 0;
}

.qr-text {
    text-align: center;
}

.qr-text h5 {
    color: #ffcc80;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.qr-text p {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .info-content {
        gap: 25px;
        padding: 0 25px;
    }

    .info-item {
        min-width: 220px;
        padding: 25px 20px;
    }
}

@media (max-width: 992px) {
    .info-content {
        gap: 20px;
        padding: 0 20px;
    }

    .info-item {
        min-width: 200px;
        padding: 20px 15px;
    }

    .info-item i {
        font-size: 2.2rem;
    }

    .info-item h5 {
        font-size: 1.4rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .qr-img {
        width: 120px;
        height: 120px;
    }

    .qr-text h5 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .footer-info-layer {
        padding: 30px 0;
    }

    .info-content {
        gap: 15px;
        padding: 0 15px;
    }

    .info-item {
        min-width: 45%;
        padding: 20px 15px;
    }

    .info-item i {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .info-item h5 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .qr-img {
        width: 100px;
        height: 100px;
    }

    .qr-text h5 {
        font-size: 1.3rem;
    }

    .qr-text p {
        font-size: 1rem;
    }

    .copy p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .info-item {
        min-width: 100%;
        padding: 18px 15px;
    }

    .info-item i {
        font-size: 1.8rem;
    }

    .info-item h5 {
        font-size: 1.2rem;
    }

    .qr-img {
        width: 90px;
        height: 90px;
    }

    .qr-text h5 {
        font-size: 1.2rem;
    }

    .qr-text p {
        font-size: 0.95rem;
    }

    .copy p::before, .copy p::after {
        margin: 0 6px;
        font-size: 1.4rem;
    }
}
         /* footer.css 优化后 - 提高可读性 */
           #footer {
             background: linear-gradient(135deg, #5d4037 0%, #3e2723 100%); /* 使用更深的颜色 */
              color: #ffffff; /* 纯白色，确保高对比度 */
          }
          .foot-nav a { color: #ffffff; }
       .foot-nav a:hover { color: #ffcc80; }
         .copy { background: rgba(62, 39, 35, 0.9); color: #ffffff; }
/* 联系方式部分 */
.contact-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.qr-code {
    text-align: center;
    flex-shrink: 0;
}

.qr-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.5); /* 改为白色半透明边框，与页脚协调 */
    padding: 5px;
    background: white;
    transition: transform 0.3s ease;
}

.qr-img:hover {
    transform: scale(1.05);
}

.qr-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffffff; /* 改为白色，在深色背景下更清晰 */
}

.contact-details {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-item i {
    color: #3498db;
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.phone-number {
    color: #ffffff; /* 改为白色 */
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600; /* 加粗 */
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #ffcc80; /* 悬停时改为更亮的橙色 */
}

address {
    font-style: normal;
    line-height: 1.6;
}

/* 导航菜单 */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #ffffff; /* 改为白色 */
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
    position: relative;
    font-weight: 500; /* 中等粗细 */
}

.footer-menu a::before {
    content: '›';
    margin-right: 8px;
    color: #ffcc80; /* 改为更亮的橙色 */
    transition: transform 0.3s ease;
}

.footer-menu a:hover {
    color: #ffcc80; /* 悬停时改为更亮的橙色 */
    transform: translateX(5px);
}

.footer-menu a:hover::before {
    transform: translateX(3px);
    color: #ffffff; /* 悬停时箭头改为白色 */
}

/* 相关信息 */
.info-links {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.info-links li {
    margin-bottom: 10px;
}

.info-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-links a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
}

/* 底部版权信息 */
.footer-bottom {
    padding: 25px 0;
    background: rgba(125,82,7,0.2);
    text-align: center;
}

.copyright p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9); /* 改为白色，稍微透明 */
    font-size: 0.95rem;
}

.additional-info {
    margin-top: 10px;
}

.sep {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.6); /* 改为白色半透明 */
}

/* 增强页脚可读性 */
#footer h3, #footer h4 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* 添加文字阴影增强可读性 */
}

#footer p {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* 增强二维码视觉效果 */
.qr-img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 添加阴影 */
}

.qr-img:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); /* 悬停时增强阴影 */
}

/* 增强页脚链接对比度 */
#footer a {
    font-weight: 500;
}

#footer a:hover {
    text-decoration: underline; /* 添加下划线增强可识别性 */
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 0 30px;
    }
    
    .footer-column {
        padding: 0 15px;
    }
    
    .additional-info span {
        display: block;
        margin: 5px 0;
    }
    
    .sep {
        display: none;
    }
}

/* 图标字体（这里使用Unicode字符作为示例，实际项目中建议使用图标字体库） */
.icon-phone::before { content: "📞"; }
.icon-location::before { content: "📍"; }
.icon-email::before { content: "✉️"; }
.icon-wechat::before { content: "💬"; }
.icon-weibo::before { content: "📱"; }