/* GZEP Footer Styles - 参考 fenghuo.cc 布局 */
/* 更新时间: 2025-08-22 23:28 - 修复编码问题 */

/* 主容器布局 */
.footer-main-wrapper {
    background: #2c3e50;
    padding: 60px 0 40px;
}

.footer-content-layout {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-end;
}

/* 左侧导航区域 f-z */
.f-z {
    flex: 1;
    max-width: 70%;
}

.f-z-1 {
    margin-bottom: 40px;
}

.f-z-1 .footer-nav-column {
    margin-bottom: 30px;
}

.f-z-1 .footer-nav-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.f-z-1 .footer-nav-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.f-z-1 .footer-nav-title a:hover {
    color: #4a90e2;
}

.f-z-1 .footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.f-z-1 .footer-nav-list li {
    margin-bottom: 10px;
}

.f-z-1 .footer-nav-list li a {
    color: #b0b0b0;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    position: relative;
    padding-left: 12px;
}

.f-z-1 .footer-nav-list li a:before {
    content: "·";
    position: absolute;
    left: 0;
    color: #888;
}

.f-z-1 .footer-nav-list li a:hover {
    color: #4a90e2;
}

/* f-z-2 底部图片区域 */
.f-z-2 {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.f-z-2 img {
    max-width: 400px;
    height: auto;
}

/* 右侧关注我们区域 f-y - 完全复制fenghuo.cc样式 */
.f-y {
    width: 240px;
    flex-shrink: 0;
}

.f-y ul li {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

/* 确保每行4个 */
.f-y ul li:nth-child(4n) {
    margin-right: 0;
}

/* 社交项样式 - 默认显示图标，hover显示二维码 */
.f-y ul li.social-item {
    position: relative;
}

.f-y ul li.social-item .social-icon {
    width: 46px;
    height: 46px;
    display: block;
    transition: opacity 0.3s ease;
}

/* 悬停时显示二维码大图 */
.f-y ul li.social-item .hover-qr {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border: 2px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 999;
    background: #fff;
    padding: 5px;
}

.f-y ul li.social-item:hover .hover-qr {
    display: block;
}

/* 鼠标悬停时图标稍微透明 */
.f-y ul li.social-item:hover .social-icon {
    opacity: 0.8;
}

/* 添加悬停提示箭头 */
.f-y ul li.social-item .hover-qr:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
}

/* 电话热线 */
.f-y .tel {
    text-align: center;
    padding: 10px 0 20px 0;  /* 减少顶部padding */
}

.f-y .tel p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 400;
}

.f-y .tel h3 {
    color: #fff;  /* 改为白色 */
    font-size: 26px;
    font-weight: 700;  /* 保持粗体 */
    margin: 0;
    letter-spacing: 1px;
}

/* 强制隐藏旧的版权信息 */
.f-y .copyright-inner {
    display: none !important;
}

/* 版权信息独立区域 - 页面底部全屏宽度居中 */
.footer .copyright-section,
.copyright-section {
    width: 100% !important;
    background: #1a2332 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
}

/* PC端显示为一行 - 强制白色字体 */
.copyright-section .copyright-line {
    color: #ffffff !important;
    font-size: 16px !important;  /* 字体从14px增大到16px */
    line-height: 1.8;
    margin: 0;
    display: block;
    text-align: center;
    font-weight: 400;
}

/* 移动端显示为多行 - 默认隐藏 */
.copyright-section .copyright-mobile {
    display: none;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.8;
    margin: 3px 0;
    text-align: center;
    font-weight: 400;
}

.copyright-section p {
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.8;
    margin: 3px 0;
    text-align: center;
    font-weight: 400;
}

/* 强制所有子元素也使用白色 */
.copyright-section,
.copyright-section * {
    color: #ffffff !important;
}

/* 确保链接也是白色 */
.copyright-section a {
    color: #ffffff !important;
    text-decoration: none;
}

.copyright-section a:hover {
    color: #f0f0f0 !important;
    text-decoration: underline;
}

/* 删除旧的版权样式 */
.copyright-inner,
.copyright-inner-fullwidth {
    display: none;
}

/* f-z 和 f-y 底部对齐 - 修复高度问题 */

.f-z {
    flex: 1;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
}

.f-y {
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    align-self: flex-end;
}

/* 确保 f-z-1 不会撑开整个容器高度 */
.f-z-1 {
    margin-bottom: 0;
    flex-grow: 0;
    flex-shrink: 0;
}

/* f-y 内容也要底部对齐 */
.f-y h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    margin-top: auto;
}

.f-y ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 214px;
}

.f-y .tel {
    text-align: center;
    padding: 10px 0 0 0;
    margin-top: 0;
}

/* 隐藏旧的版权区域样式 */
.copyright {
    display: none !important;
}

.copyright-info {
    display: none !important;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li {
    display: inline-block;
    margin: 0 10px;
}

.footer-menu ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
}

.footer-menu ul li a:hover {
    color: #4a90e2;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .footer-content-layout {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }
    
    .copyright-section {
        padding: 15px 0;
    }
    
    .f-z {
        max-width: 100%;
        align-self: stretch;
    }
    
    .f-y {
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        align-self: stretch;
    }
    
    .f-y ul {
        justify-content: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
    }
    
    .f-z-2 img {
        max-width: 100%;
    }
    
}

@media (max-width: 767px) {
    .footer-main-wrapper {
        padding: 30px 0 20px;
    }
    
    .footer-content-layout {
        gap: 25px;
    }
    
    .f-z-1 .row {
        margin: 0 -10px;
        justify-content: center;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-column {
        margin-bottom: 15px;
        padding: 0 10px;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-title {
        font-size: 14px;
        margin-bottom: 8px;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-title a {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list li {
        margin-bottom: 6px;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list li a {
        font-size: 12px;
        padding-left: 0;
        text-align: center;
        display: inline-block;
    }
    
    .f-z-1 .footer-nav-list li a:before {
        display: none;
    }
    
    .f-y {
        text-align: center;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    /* clearfix 元素居中 */
    .clearfix {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .f-y h2 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .f-y ul {
        width: 100%;
        max-width: 240px;
        gap: 8px;
        justify-content: center;
        margin: 0 auto 15px auto;
    }
    
    .f-y ul li,
    .f-y ul li img,
    .f-y ul li.qr-item img,
    .f-y ul li .social-link,
    .f-y ul li.social-item .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .f-y ul li.social-item .hover-qr {
        width: 120px;
        height: 120px;
        bottom: 40px;
    }
    
    .f-y .tel {
        padding: 8px 0 15px 0;
    }
    
    .f-y .tel p {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .f-y .tel h3 {
        font-size: 18px;
    }
    
    .copyright-section {
        padding: 12px 0;
    }
    
    /* 移动端隐藏一行版本，显示多行版本 */
    .copyright-section .copyright-line {
        display: none;
    }
    
    .copyright-section .copyright-mobile {
        display: block;
        font-size: 13px !important;
        line-height: 1.6;
        margin: 2px 0;
        padding: 0 20px;
        color: #ffffff !important;
        font-weight: 400;
    }
}

@media (max-width: 480px) {
    .footer-main-wrapper {
        padding: 25px 0 15px;
    }
    
    .footer-content-layout {
        gap: 20px;
    }
    
    .f-z-1 .row {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-column {
        margin-bottom: 12px;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-title {
        font-size: 13px;
        margin-bottom: 6px;
        text-align: center;
    }
    
    .f-z-1 .footer-nav-title a {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list li {
        text-align: center;
    }
    
    .f-z-1 .footer-nav-list li a {
        font-size: 11px;
        padding-left: 0;
        text-align: center;
        display: inline-block;
    }
    
    .f-z-1 .footer-nav-list li a:before {
        display: none;
    }
    
    /* clearfix 元素居中 */
    .clearfix {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    .f-y h2 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .f-y ul {
        max-width: 200px;
        gap: 6px;
        justify-content: center;
        margin: 0 auto 15px auto;
    }
    
    .f-y ul li,
    .f-y ul li img,
    .f-y ul li.social-item .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .f-y ul li.social-item .hover-qr {
        width: 100px;
        height: 100px;
        bottom: 35px;
    }
    
    .f-y .tel h3 {
        font-size: 16px;
    }
    
    .copyright-section .copyright-mobile {
        font-size: 12px !important;
        padding: 0 15px;
        color: #ffffff !important;
        font-weight: 400;
    }
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================== */
/* 版权信息样式 - 放在最后确保最高优先级 */
/* ========================================== */
body .copyright-section,
body footer .copyright-section,
#footer .copyright-section,
.footer .copyright-section {
    width: 100% !important;
    background: #1a2332 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
    position: relative !important;
    z-index: 100 !important;
}

/* 强制所有版权文字为白色 - 最高优先级 */
body .copyright-section *,
body .copyright-section p,
body .copyright-section span,
body .copyright-section a,
body .copyright-section .copyright-line,
body .copyright-section .copyright-mobile {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* PC端一行显示 */
body .copyright-section .copyright-line {
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
    font-weight: 400 !important;
}

/* 移动端多行显示 */
body .copyright-section .copyright-mobile {
    display: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 3px 0 !important;
    text-align: center !important;
    font-weight: 400 !important;
}

/* 链接hover效果 */
body .copyright-section a:hover {
    color: #f0f0f0 !important;
    text-decoration: underline !important;
}

/* 移动端响应式 */
@media (max-width: 767px) {
    body .copyright-section {
        padding: 12px 0 !important;
    }
    
    body .copyright-section .copyright-line {
        display: none !important;
    }
    
    body .copyright-section .copyright-mobile {
        display: block !important;
        font-size: 13px !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    body .copyright-section .copyright-mobile {
        font-size: 12px !important;
        padding: 0 15px !important;
    }
}