/**
 * SctV Footer Styles
 * 
 * 页脚模块样式表
 * 包含所有页脚相关的CSS样式
 * 
 * @package SctV\Footer
 */

/* ==========================================
   页脚主样式
========================================== */

.sctV-footer {
    position: relative;
    background-color: #001a33;
    padding-top: 80px;
    padding-bottom: 100px;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}

/* ==========================================
   水文背景图覆盖层
========================================== */

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================
   内容容器（相对定位确保内容在前景）
========================================== */

.footer-content-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   三列布局
========================================== */

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 列基础样式 */
.footer-column {
    min-width: 0;
}

/* ==========================================
   标题样式
========================================== */

.footer-heading {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 0;
}

/* ==========================================
   链接列表样式
========================================== */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a6c8ff;
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================
   信息链接样式
========================================== */

.info-links p {
    margin-bottom: 15px;
}

.info-links a {
    color: #a6c8ff;
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}

.info-links a i {
    width: 14px;
    text-align: center;
    font-size: 14px;
}

.info-links a:hover {
    color: #ffffff;
    outline: none;
    box-shadow: none;
}

.info-links a:focus {
    outline: none;
    box-shadow: none;
}

/* ==========================================
   联系信息样式
========================================== */

.contact-details {
    margin-bottom: 0;
}

.contact-details p {
    color: #a6c8ff;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-details a {
    color: #a6c8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

/* ==========================================
   微信二维码样式
========================================== */

.footer-wechat-qrcode {
    margin-top: 15px;
    text-align: left;
}

.footer-wechat-qrcode img {
    display: inline-block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(0.9) contrast(1.1) saturate(0.95) !important;
    transition: filter 0.3s ease;
}

.footer-wechat-qrcode img:hover {
    filter: brightness(1.0) contrast(1.15) saturate(1.0) !important;
}

/* ==========================================
   社交媒体图标
========================================== */

.social-media-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* ==========================================
   底部黑条样式
========================================== */

.footer-bottom-bar {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.footer-bottom-bar .copyright-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom-bar .copyright-content p {
    margin-bottom: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.footer-bottom-bar .copyright-content a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-bottom-bar .copyright-content a:hover {
    color: #a6c8ff;
    text-decoration: underline;
    opacity: 0.8;
}

/* ==========================================
   响应式布局
========================================== */

/* 大屏幕：3列 */
@media (min-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 中等屏幕：2列 */
@media (min-width: 768px) and (max-width: 991px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column:last-child {
        grid-column: 1 / -1;
    }
}

/* 小屏幕：1列 */
@media (max-width: 767px) {
    .sctV-footer {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        margin-bottom: 0;
    }
    
    .footer-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .footer-bottom-bar {
        padding: 15px 0;
        min-height: 50px;
    }
    
    .footer-bottom-bar .copyright-content p {
        font-size: 12px;
    }
}

/* ==========================================
   悬停效果
========================================== */

.sctV-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.social-link:hover {
    text-decoration: none !important;
}