/**
 * Footer样式文件
 * PC端页脚样式
 *
 * @package HiTemp
 * @since 1.0.0
 */

/* Clearfix工具类 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Footer Banner - 底部横幅 */
.footer-banner {
    background: linear-gradient(135deg, #f66600 0%, #ff8534 50%, #ffa366 100%);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.03) 10px, rgba(255, 255, 255, 0.03) 20px);
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 12px 0;
    margin-bottom: 40px;
}

.footer-banner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 100%;
}

.footer-banner-text {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.footer-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 8px;
    color: #f66600;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
}

.footer-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #e55a00;
}

/* Footer Main - 底部主体 */
.hitemp-site-footer {
    background-color: #f5f5f5;
    font-family: "Microsoft Yahei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 1px 0 1px;
    overflow: hidden;
    min-width: 1220px;
}

.hitemp-site-footer .footer-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 0px;
    margin-top: 20px;
}

.hitemp-site-footer .footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hitemp-site-footer .footer-logo {
    margin-bottom: 8px;
}

.hitemp-site-footer .footer-logo .logo-img {
    height: 65px;
    width: auto;
}

.hitemp-site-footer .footer-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.hitemp-site-footer .footer-center {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.hitemp-site-footer .footer-nav-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hitemp-site-footer .footer-nav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.hitemp-site-footer .footer-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #ff8c42;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 140, 66, 0.25);
    transition: all 0.3s ease;
}

.hitemp-site-footer .footer-nav-title:hover .footer-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 66, 0.35);
}

.hitemp-site-footer .footer-icon i {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.hitemp-site-footer .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hitemp-site-footer .footer-nav-list li a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hitemp-site-footer .footer-nav-list li a:hover {
    color: #ff6600;
}

.hitemp-site-footer .footer-right {
    display: flex;
    flex-direction: column;
}

.hitemp-site-footer .footer-service-wrapper {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.hitemp-site-footer .footer-service-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.hitemp-site-footer .footer-service-section:last-child .footer-contact-info .footer-nav-title {
    margin-top: 18px;
    margin-bottom: -6px;
}

.hitemp-site-footer .footer-service-section:last-child .footer-contact-info {
    margin-top: 44px;
    justify-content: center;
}

.hitemp-site-footer .footer-qrcode {
    width: 120px;
    height: 120px;
    padding: 3px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 微信绿色角标装饰 */
.hitemp-site-footer .footer-qrcode::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07c160 0%, #10b981 50%, #07c160 100%);
    z-index: -1;
    opacity: 0.8;
}

/* 内部白色背景层 */
.hitemp-site-footer .footer-qrcode::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 10px;
    background: #fff;
    z-index: -1;
}

.hitemp-site-footer .footer-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.hitemp-site-footer .qrcode-placeholder {
    color: #07c160;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.hitemp-site-footer .footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.hitemp-site-footer .footer-contact-info .footer-nav-title {
    text-align: left;
    align-self: flex-start;
}

.hitemp-site-footer .contact-email {
    font-size: 14px;
    color: #666;
    margin: 0;
    text-align: left;
}

.hitemp-site-footer .contact-email a {
    color: #666;
    text-decoration: none;
}

.hitemp-site-footer .contact-email a:hover {
    color: #ff6600;
}

.hitemp-site-footer .contact-phone {
    display: inline-block;
    padding: 10px 20px;
    background: #ff8c42;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
    white-space: nowrap;
}

.hitemp-site-footer .contact-phone:hover {
    background: #ff6600;
    transform: translateY(-1px);
}

.hitemp-site-footer .footer-links {
    padding: 8px 0;
    border-top: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hitemp-site-footer .footer-links-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.hitemp-site-footer .footer-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hitemp-site-footer .footer-links-list a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hitemp-site-footer .footer-links-list a:hover {
    color: #ff6600;
}

.foot-copyright {
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
    padding: 24px 0;
    text-align: left;
    color: #666;
    overflow: hidden;
    min-width: 1220px;
}

.foot-copyright .container {
    width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.foot-copyright p {
    line-height: 28px;
    font-size: 12px;
    margin: 4px 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.foot-copyright p > span {
    white-space: nowrap;
}

.foot-copyright p a {
    color: #666;
    text-decoration: none;
}

.foot-copyright p a:hover {
    color: #ff6600;
}

.icp-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.icp-icon-img {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* 友情链接 */
.footer-friend-links {
    background: #f5f5f5;
    border-top: 1px solid #e2e8f0;
    padding: 6px 0;
}

.footer-friend-links .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.footer-friend-links .friend-links-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.footer-friend-links .friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-friend-links .friend-links-list a {
    color: #64748b;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-friend-links .friend-links-list a:hover {
    color: #ff6600;
}

/* Footer响应式样式 */
@media (max-width: 768px) {
    .footer-banner {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .footer-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-banner-text {
        font-size: 18px;
        width: 100%;
    }
    
    .footer-banner-btn {
        width: 100%;
        text-align: center;
    }
    
    .hitemp-site-footer {
        min-width: 100%;
    }
    
    .hitemp-site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hitemp-site-footer .footer-center {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hitemp-site-footer .footer-service-wrapper {
        flex-direction: column;
    }
    
    .foot-copyright {
        min-width: 100%;
    }
    
    .foot-copyright .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .foot-copyright p {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
