/* ========================================
   导航栏和页脚样式修复
   修复黑色字体和图标问题
======================================== */

/* 导航栏文字和图标颜色修复 */
.navbar .nav-menu a {
    color: white !important;
    transition: all 0.3s ease;
}

.navbar .nav-menu a:hover {
    color: var(--primary-color, #2E7BFF) !important;
}

/* .navbar .nav-menu a i {
    color: inherit !important;
} */

/* 导航栏Logo文字颜色 */
.navbar .logo-text {
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
}

/* 移动端菜单按钮颜色 */
.nav-toggle span {
    background: white !important;
}

/* 导航栏图标彩色化保持 */
.navbar .fa-home { color: #4CAF50 !important; }
.navbar .fa-info-circle { color: #2196F3 !important; }
.navbar .fa-newspaper { color: #FF9800 !important; }
.navbar .fa-calendar-alt { color: #E91E63 !important; }
.navbar .fa-users { color: #9C27B0 !important; }
.navbar .fa-download { color: #00BCD4 !important; }
.navbar .fa-cog { color: #607D8B !important; }

/* 页脚样式修复 */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3a3a3a 100%) !important;
    color: white !important;
}

.footer h3,
.footer h4 {
    color: white !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p,
.footer li,
.footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white !important;
    text-decoration: underline;
}

/* 页脚底部版权信息 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
}

.footer-bottom a:hover {
    color: white !important;
}

/* 社交媒体图标修复 */
.footer .social-links a {
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    margin: 0 0.5rem !important;
}

.footer .social-links a i {
    font-size: 1.25rem !important;
}

/* 微信图标 */
.footer .fa-weixin { 
    color: #07c160 !important; 
    background: rgba(7, 193, 96, 0.2) !important;
    border: 2px solid rgba(7, 193, 96, 0.3) !important;
}

.footer .social-links a:has(.fa-weixin):hover {
    background: #07c160 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(7, 193, 96, 0.4) !important;
}

/* 微博图标 */
.footer .fa-weibo { 
    color: #e6162d !important; 
    background: rgba(230, 22, 45, 0.2) !important;
    border: 2px solid rgba(230, 22, 45, 0.3) !important;
}

.footer .social-links a:has(.fa-weibo):hover {
    background: #e6162d !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(230, 22, 45, 0.4) !important;
}

/* QQ图标 */
.footer .fa-qq { 
    color: #12b7f5 !important; 
    background: rgba(18, 183, 245, 0.2) !important;
    border: 2px solid rgba(18, 183, 245, 0.3) !important;
}

.footer .social-links a:has(.fa-qq):hover {
    background: #12b7f5 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(18, 183, 245, 0.4) !important;
}

/* 页脚联系信息图标 */
.footer .fa-map-marker-alt { 
    color: #e84393 !important; 
    margin-right: 0.5rem !important;
}

.footer .fa-phone { 
    color: #00b894 !important; 
    margin-right: 0.5rem !important;
}

.footer .fa-envelope { 
    color: #74b9ff !important; 
    margin-right: 0.5rem !important;
}

/* 页脚联系信息项 */
.footer .contact-info p {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 0.75rem !important;
    padding: 0.5rem 0 !important;
}

/* 页脚快速导航链接 */
.footer-section ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-section ul li {
    margin-bottom: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

.footer-section ul li a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.25rem 0 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.footer-section ul li a:hover {
    padding-left: 0.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar .nav-menu {
        background: rgba(0, 0, 0, 0.95) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    .navbar .nav-menu a {
        color: white !important;
        padding: 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar .nav-menu a:hover {
        background: rgba(46, 123, 255, 0.1) !important;
        color: var(--primary-color, #2E7BFF) !important;
    }
    
    .footer .social-links {
        justify-content: center !important;
        margin-top: 1rem !important;
    }
}