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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);    
    top: 0;
    z-index: 800;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Logo样式 */
.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

/* 主内容区域样式 */
.main-content {
    padding: 3rem 0;
    background-color: #fff;
}

/* 内容展示区样式 */
.content-section {
    display: grid;
    grid-template-columns: 1fr 675px;
    gap: 2rem;
    margin: 3rem 0;
}

/* 左侧内容区样式 */
.content-left {
    background-color: #fff;
}

.content-block {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.content-block h2 {
    margin-bottom: 1.5rem;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

/* 新闻列表样式 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f0f0f0;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    min-width: 100px;
}

.news-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.news-item a:hover {
    color: #007bff;
}

/* 侧边栏样式 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 小部件样式 */
.widget {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.widget h3 {
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.widget-list li a:hover {
    color: #007bff;
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tag:hover {
    background-color: #0056b3;
}

/* 合作伙伴区域样式 */
.partners {
    margin: 3rem 0;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-item {
    background-color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    color: #666;
    transition: transform 0.3s;
}

.partner-item:hover {
    transform: scale(1.05);
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    margin-left: 10%;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* 社交链接样式 */

.social-links a:hover {
    background-color: #007bff;
}

/* 页脚底部样式 */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    /* 横幅响应式 */
    .banner-content h1 {
        font-size: 2rem;
    }
    
    /* 特色服务网格响应式 */
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    /* 内容区域响应式 */
    .content-section {
        grid-template-columns: 1fr;
    }
    
    /* 页脚响应式 */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 应用动画 */
.feature-card,
.content-block,
.widget {
    animation: fadeIn 0.6s ease-out;
}