﻿@charset "utf-8";
/* 金企业网 - 橙色主题覆盖样式 */

/* ===== 主色调定义 ===== */
:root {
    --primary: #ff6600;
    --primary-dark: #e55a00;
    --primary-light: #ff8c33;
    --primary-pale: #fff3e6;
    --header-bg: #ff6600;
    --header-bg-scrolled: rgba(230, 90, 0, 0.95);
}

/* ===== Header 改为橙色 ===== */
.header {
    background-color: var(--header-bg) !important;
}
#index .header {
    background: rgba(255, 102, 0, 0.92) !important;
}
.header-nav .nav-item:hover .nav-top-a1,
.header-nav .nav-item.cur .nav-top-a1 {
    color: #fff !important;
}
.header-nav .nav-top-a1 {
    color: rgba(255, 255, 255, 0.8) !important;
}
.header-nav .nav-top-a2 {
    background: #fff !important;
    color: var(--primary) !important;
}
.header-nav .nav-sub-wrap {
    background: rgba(229, 90, 0, 0.92) !important;
}
.header-nav .sub-a:hover {
    background: var(--primary-dark) !important;
}
.header .language-a-wrap:before {
    background: rgba(255,255,255,0.3) !important;
}

/* 移动端导航 */
@media (max-width: 1270px) {
    .header-nav {
        background: var(--primary-dark) !important;
    }
    .header-nav .nav-sub-wrap {
        background: var(--primary-dark) !important;
    }
}

/* ===== 强调色：蓝色改橙色 ===== */
.section1 .ul .box .m a:after {
    background: var(--primary) !important;
}
.section1 .ul .box .m a:before {
    background: var(--primary) !important;
}
.section1 .ul .box .m a:hover {
    border-color: var(--primary) !important;
}

/* 浮动侧边栏 */
.floatFixed ul li a {
    background-color: var(--primary) !important;
    color: #fff !important;
}
.floatFixed ul li a:after {
    background: var(--primary-light) !important;
}
.floatFixed ul li a:hover {
    background-color: var(--primary-dark) !important;
}
.floatFixed ul li a:hover:after {
    background-color: var(--primary-dark) !important;
}
.floatFixed ul li.a4 a {
    background-color: var(--primary-light) !important;
}

/* Footer hover */
.footer .t2 a:hover {
    color: var(--primary) !important;
}

/* inner banner */
.inner-banner {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%) !important;
}

/* ===== 首页全屏区域自定义 ===== */
.section-hero {
    background: linear-gradient(135deg, #ff6600 0%, #cc4400 50%, #993300 100%) !important;
}
.section-about {
    background: #fff !important;
}
.section-services {
    background-image: url('../images/services-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #fff3e6 !important;
}
.section-cta {
    background: url('../images/bg-cta.jpg') center/cover !important;
}

/* 确保WOW元素默认可见（保留动画） */
.wow {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== 服务卡片入场动画 ===== */
@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes photoZoomIn {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 默认隐藏卡片，等section激活后再播放动画 */
.section-services .service-card {
    opacity: 0;
}
.section-services.loaded .service-card {
    animation: cardFadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.section-services.loaded .service-card:nth-child(1) { animation-delay: 0.1s; }
.section-services.loaded .service-card:nth-child(2) { animation-delay: 0.35s; }
.section-services.loaded .service-card:nth-child(3) { animation-delay: 0.6s; }

/* 圆形照片缩放弹入 */
.section-services.loaded .service-card .icon {
    animation: photoZoomIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}
.section-services.loaded .service-card:nth-child(1) .icon { animation-delay: 0.3s; }
.section-services.loaded .service-card:nth-child(2) .icon { animation-delay: 0.55s; }
.section-services.loaded .service-card:nth-child(3) .icon { animation-delay: 0.8s; }

/* 服务卡片 */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.1);
    transition: all 0.3s;
    border-top: 3px solid var(--primary);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.2);
}
.service-card .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.2);
}
.service-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}
.service-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}

/* 按钮 */
.btn-primary {
    display: inline-block;
    padding: 12px 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}
.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* 标题装饰 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 36px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}
.section-title .en {
    font-size: 14px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.section-title .line {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

/* 关于区域 */
.about-text {
    font-size: 16px;
    line-height: 2;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.about-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
}
.about-stats .stat {
    text-align: center;
}
.about-stats .num {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
}
.about-stats .label {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

/* CTA区域 */
.cta-title {
    color: #fff;
    text-align: center;
}
.cta-title h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 15px;
}
.cta-title p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 内页通用 */
.page-banner {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, #ff6600 0%, #cc4400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}
.page-banner h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
}
.page-banner .crumb {
    font-size: 14px;
    opacity: 0.8;
}
.page-banner .crumb a {
    color: #fff;
}

/* 内容区 */
.page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.page-content h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
}
.page-content p {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 15px;
    text-indent: 0;
}

/* 服务列表 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        gap: 30px;
    }
    .about-stats .num {
        font-size: 32px;
    }
}

/* 案例网格 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.case-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
}
.case-item .case-icon {
    font-size: 48px;
    color: var(--primary);
}
.case-item .case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 40px 20px 20px;
    color: #fff;
}
.case-item .case-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}
.case-item .case-info p {
    font-size: 13px;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .case-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻列表 */
.news-list {
    list-style: none;
}
.news-list li {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-list li:hover h3 {
    color: var(--primary);
}
.news-list h3 {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}
.news-list .date {
    font-size: 14px;
    color: #aaa;
}

/* 联系信息 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.contact-card {
    text-align: left;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 8px;
}
.contact-card .icon {
    font-size: 40px;
    margin: 0 auto 15px;
    color: var(--primary);
    margin-bottom: 15px;
}
.contact-card h3 {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}
.contact-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    padding-left: 60px;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   手机端自适应 (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {

    /* --- Header --- */
    .header {
        padding-top: 0 !important;
        height: 60px !important;
        line-height: 60px !important;
    }
    .header .header-mains {
        height: 60px !important;
        width: 100% !important;
        padding: 0 15px !important;
    }
    .header .logo span {
        font-size: 22px !important;
        line-height: 60px !important;
    }
    /* 隐藏桌面导航，显示汉堡按钮 */
    .header-nav {
        display: none !important;
    }
    .hamburger {
        display: flex !important;
        position: absolute;
        right: 15px;
        top: 0;
        width: 60px;
        height: 60px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 3px 0;
        transition: all 0.3s;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    /* 移动端下拉菜单 */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        z-index: 1000;
    }
    .mobile-menu.open {
        max-height: 400px;
    }
    .mobile-menu a {
        display: block;
        padding: 14px 20px;
        color: rgba(255,255,255,0.9);
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
    }
    .mobile-menu a:active {
        background: var(--primary);
    }

    /* --- 首页全屏：手机端改为普通滚动 --- */
    #dowebok.fp-enabled {
        height: auto !important;
    }
    #dowebok.fp-enabled .section {
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        transform: none !important;
        padding: 80px 0;
    }
    .fp-nav {
        display: none !important;
    }
    .section-inner {
        height: auto !important;
        padding: 0 20px !important;
    }

    /* --- Hero --- */
    .section-hero {
        min-height: 100vh !important;
        display: flex;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 30px !important;
        line-height: 1.4;
    }
    .hero-content .sub {
        font-size: 14px !important;
    }
    .hero-content .btns a {
        display: block !important;
        margin: 10px auto !important;
        max-width: 200px;
    }

    /* --- 标题 --- */
    .section-title h2 {
        font-size: 26px !important;
    }
    .section-title {
        margin-bottom: 30px !important;
    }

    /* --- 关于我们 --- */
    .about-text {
        font-size: 14px !important;
        text-align: left;
    }
    .about-stats {
        gap: 20px !important;
        flex-wrap: wrap;
    }
    .about-stats .stat {
        flex: 0 0 40%;
    }
    .about-stats .num {
        font-size: 32px !important;
    }

    /* --- 服务卡片 --- */
    .service-card {
        padding: 30px 20px !important;
    }
    .service-card .icon {
        width: 90px !important;
        height: 90px !important;
    }
    .service-card h3 {
        font-size: 18px !important;
    }
    .service-card p {
        font-size: 13px !important;
    }

    /* --- 合作理念 --- */
    .section[style*="#2b2b2b"] {
        padding: 60px 0 !important;
    }

    /* --- CTA --- */
    .section-cta {
        min-height: 60vh !important;
        display: flex;
        align-items: center;
    }
    .cta-title h2 {
        font-size: 26px !important;
    }
    .cta-title p {
        font-size: 15px !important;
    }

    /* --- 内页 Banner --- */
    .page-banner {
        height: 25vh !important;
        min-height: 180px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .page-banner h1 {
        font-size: 28px !important;
    }

    /* --- 内容区 --- */
    .page-content {
        margin: 30px auto !important;
    }
    .page-content h2 {
        font-size: 22px !important;
    }
    .page-content p {
        font-size: 14px !important;
    }

    /* --- 新闻列表 --- */
    .news-list li {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 5px;
    }

    /* --- 按钮 --- */
    .btn-primary, .btn-outline {
        padding: 10px 30px !important;
        font-size: 14px !important;
    }


    /* --- 案例网格 --- */
    .case-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .case-item {
        height: 180px !important;
    }

    /* --- 联系卡片 --- */
    .contact-cards {
        flex-direction: column !important;
        align-items: center !important;
    }
    .contact-card {
        width: 100% !important;
        max-width: 350px !important;
    }

    /* --- 二维码 --- */
    .qrcode-group {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    /* --- 浮动栏 --- */
    .float-bar {
        right: 5px !important;
    }

    /* --- Footer --- */
    .footer p {
        font-size: 12px !important;
        line-height: 1.8 !important;
    }
}



