/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2196F3;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
    --dark-overlay: rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar.scroll-down {
    transform: translateY(-100%);
}

.navbar.scroll-up {
    transform: translateY(0);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 主要内容区域 */
main {
    margin-top: 70px;
    padding: 0 20px;
}

/* 英雄区域 */
#hero {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1532938911079-1b06ac7ceec7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1932&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 内容区域 */
.content-section {
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

/* 新闻网格 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 文章卡片 */
.article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* 特色专题 */
.featured-article {
    margin-bottom: 4rem;
}

.featured-article .article-card {
    max-width: 800px;
    margin: 0 auto;
}

.featured-article .card-image {
    height: 400px;
}

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
    border-radius: 10px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 策略卡片 */
.strategy-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.strategy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: var(--light-text);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .featured-article .card-image {
        height: 300px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .text-content {
        padding: 1rem;
    }

    .content-section {
        padding: 1rem;
        margin-bottom: 3rem;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .service-list {
        margin: 1rem;
        padding: 1rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 内容网格布局 */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.text-content {
    padding: 2rem;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.visual-content {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.visual-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.visual-content img:hover {
    transform: scale(1.05);
}

.visual-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* 策略网格 */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.strategy-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
}

.strategy-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.strategy-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 服务列表 */
.service-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.service-list h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-list ul {
    list-style: none;
    padding-left: 1rem;
}

.service-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 分享选项 */
.share-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.share-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.share-btn.wechat {
    background: #07C160;
    color: white;
}

.share-btn.weibo {
    background: #E6162D;
    color: white;
}

.share-btn.qq {
    background: #12B7F5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 社交媒体内容样式 */
.social-feed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.social-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

/* 微博内容样式 */
.social-post {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.social-post:last-child {
    border-bottom: none;
}

.post-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author {
    font-weight: bold;
    color: #333;
}

.timestamp {
    color: #999;
    font-size: 0.9rem;
    margin-left: auto;
}

.post-content {
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.post-stats {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* 微信文章样式 */
.social-article {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.social-article:last-child {
    border-bottom: none;
}

.social-article h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.social-article .author {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.social-article .content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .social-feed {
        grid-template-columns: 1fr;
    }

    .social-section {
        padding: 1rem;
    }
}

/* 地图容器样式 */
.map-container {
    width: 100%;
    height: 500px;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 图表容器样式 */
.chart-container {
    width: 100%;
    height: 400px;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .map-container,
    .chart-container {
        height: 300px;
    }
}

/* 动画类 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 视差效果 */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
} 