/* ========== 全局样式 ========== */
:root {
    --primary: #1a6b4a;
    --primary-dark: #0f4d34;
    --primary-light: #e8f5ee;
    --accent: #c8a45a;
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --bg-light: #f8fafb;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========== 导航栏 ========== */
.navbar {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-brand i {
    font-size: 1.2rem;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 8px 18px !important;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.15);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.navbar.scrolled .navbar-toggler-icon {
    filter: none;
}

/* ========== Hero 首屏 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f4d34 0%, #1a6b4a 40%, #2d8f65 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(200,164,90,0.08);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 3px;
}

.hero-desc {
    font-size: 1.05rem;
    opacity: 0.75;
    margin-bottom: 10px;
}

.hero .btn-primary {
    background: var(--accent);
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200,164,90,0.4);
}

.hero .btn-primary:hover {
    background: #b8943f;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(200,164,90,0.5);
}

/* ========== 数据统计 ========== */
.stats-section {
    background: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stats-section .container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 20px;
    box-shadow: var(--shadow);
}

.stat-item {
    padding: 20px 10px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-top: 8px;
    font-weight: 500;
}

/* ========== 通用 Section ========== */
.section {
    padding: 90px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 36px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* ========== 关于我们 ========== */
.about-section {
    background: var(--bg-light);
}

.about-image-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.about-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.8;
}

.about-image-placeholder span {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.9;
}

.about-text {
    color: var(--text-gray);
    font-size: 1.02rem;
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-info {
    margin-top: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.info-item i {
    color: var(--primary);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ========== 业务领域 ========== */
.business-section {
    background: var(--white);
}

.business-card {
    background: var(--white);
    border: 1px solid #eef0f3;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.business-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.business-card:hover .business-icon {
    background: var(--primary);
}

.business-icon i {
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
}

.business-card:hover .business-icon i {
    color: var(--white);
}

.business-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.business-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========== 发展历程 ========== */
.milestone-section {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
    z-index: 1;
}

.timeline-content {
    width: 50%;
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ========== 联系我们 ========== */
.contact-section {
    background: var(--white);
}

.contact-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
    height: 100%;
}

.contact-card:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.4rem;
    color: var(--white);
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-gray);
    font-size: 0.93rem;
    margin: 0;
}

/* ========== 页脚 ========== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand i {
    color: var(--accent);
}

.footer-text {
    font-size: 0.88rem;
    margin-bottom: 4px;
    opacity: 0.7;
}

/* ========== 响应式 ========== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
    }

    .about-image-placeholder {
        height: 280px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 16px;
        border-radius: var(--radius);
        margin-top: 10px;
        box-shadow: var(--shadow);
    }

    .navbar-collapse .nav-link {
        color: var(--text-dark) !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: var(--primary) !important;
        background: var(--primary-light);
    }
}
