/*
 Theme Name: GEO3 官网复刻主题
 Theme URI: https://www.geo3.cn
 Author: Custom Dev
 Author URI:
 Description: 1:1复刻 geo3.cn GEO+AI优化企业官网 WordPress主题
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: geo3-cn
*/

/* ========== 全局重置 & 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --main-color: #0F4C81; /* 原站主科技蓝 */
    --assist-color: #2196F3;
    --text-dark: #222;
    --text-gray: #666;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #eee;
}
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, li {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--main-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: #0c3f6b;
}
.section {
    padding: 80px 0;
}
.section-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--main-color);
}
.section-desc {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* ========== 顶部导航 Header ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 999;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.site-logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--main-color);
}
.nav-menu {
    display: flex;
    gap: 35px;
}
.nav-menu li a {
    font-size: 16px;
    color: var(--text-dark);
    transition: color 0.3s;
}
.nav-menu li a:hover {
    color: var(--assist-color);
}

/* ========== 英雄区 Hero ========== */
.hero {
    margin-top: 70px;
    padding: 120px 0;
    background: linear-gradient(120deg, #0F4C81 0%, #1967b3 100%);
    color: var(--white);
    text-align: center;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}
.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* ========== 核心服务板块 ========== */
.service-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(15, 76, 129, 0.1);
    transition: transform 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
}
.service-card h3 {
    font-size: 22px;
    color: var(--main-color);
    margin-bottom: 18px;
}
.service-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* ========== 技术优势板块 ========== */
.advantage {
    background: var(--light-bg);
}
.advantage-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.advantage-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.advantage-item h4 {
    font-size: 20px;
    color: var(--main-color);
    margin: 15px 0 12px;
}
.advantage-item p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ========== 优化效果对比（进度条） ========== */
.effect-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.effect-item {
    margin-bottom: 25px;
}
.effect-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}
.progress-bar {
    height: 24px;
    background: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}
.progress-inner {
    height: 100%;
    background: var(--assist-color);
    border-radius: 12px;
    transition: width 1s ease;
}

/* ========== 成功案例板块 ========== */
.case-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
}
.case-card .case-content {
    padding: 25px;
}
.case-card h3 {
    font-size: 20px;
    color: var(--main-color);
    margin-bottom: 12px;
}
.case-card p {
    color: var(--text-gray);
    font-size: 15px;
}

/* ========== 客户评价板块 ========== */
.comment {
    background: var(--light-bg);
}
.comment-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.comment-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.comment-user {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ddd;
    margin-right: 15px;
    overflow: hidden;
}
.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comment-name {
    font-weight: 600;
    font-size: 17px;
}
.comment-post {
    font-size: 14px;
    color: var(--text-gray);
}
.comment-text {
    color: var(--text-dark);
    font-style: italic;
    line-height: 1.8;
}

/* ========== 联系板块 ========== */
.contact {
    background: linear-gradient(120deg, #0F4C81 0%, #1967b3 100%);
    color: var(--white);
    text-align: center;
}
.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}
.contact-item {
    font-size: 17px;
}

/* ========== 页脚 Footer ========== */
.site-footer {
    background: #111;
    color: #aaa;
    padding: 40px 0 20px;
    text-align: center;
}
.copyright {
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid #222;
    margin-top: 20px;
}

/* ========== 响应式适配 移动端 ========== */
@media (max-width: 992px) {
    .service-wrap, .case-wrap, .comment-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantage-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero h1 {
        font-size: 34px;
    }
    .section-title {
        font-size: 28px;
    }
    .service-wrap, .case-wrap, .comment-wrap, .advantage-wrap {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 50px 0;
    }
    .hero {
        padding: 80px 0;
    }
}