/* 中国畜牧业博览会网站统一样式文件 */

/* ==================== 全局样式 ==================== */
:root {
    --primary: #1a5b9b;
    --primary-dark: #0d4675;
    --secondary: #f8b500;
    --light: #f5f5f5;
    --dark: #333;
    --gray: #777;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background-color: #e6a500;
}

/* ==================== 顶部信息栏 ==================== */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.countdown {
    display: flex;
    align-items: center;
}

.countdown span {
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 3px;
}

.quick-links a {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--white);
}

.lang-switch {
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s;
}

.lang-switch:hover {
    background: #e6a500;
    transform: translateY(-2px);
}

/* ==================== 导航栏 ==================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-image {
    height: 50px;
    max-width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    margin: 0 5px;
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==================== 面包屑导航 ==================== */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ==================== 页面标题 ==================== */
.page-header {
    text-align: center;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    width: 100%;
    margin: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ==================== 英雄区域 ==================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://www.caaa.cn/statics/cahe/images/bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero h1 .hero-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 8px;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .hero-slogan {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    max-width: 900px;
    margin: 0 auto 30px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons .btn {
    min-width: 180px;
    padding: 15px 25px;
    font-size: 1.1rem;
}

/* ==================== 通用区块样式 ==================== */
.section {
    padding: 80px 0;
}

.section + .section {
    padding-top: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 15px auto;
}

/* ==================== 新闻标签页 ==================== */
.section-title-row {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.news-tabs {
    display: flex;
    gap: 10px;
    background: var(--light);
    padding: 5px;
    border-radius: 8px;
}

.news-tab {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.news-tab:hover {
    color: var(--primary);
    background: rgba(26, 91, 155, 0.1);
}

.news-tab.active {
    background: var(--primary);
    color: var(--white);
}

.news-tab-content {
    display: none;
}

.news-tab-content.active {
    display: block;
}

/* ==================== 分类标签 ==================== */
.category-tabs, .filter-bar {
    padding: 30px 0;
    background: var(--light);
    border-bottom: 1px solid #e0e0e0;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tab-btn, .filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tab-btn.active, .filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tab-btn:hover:not(.active), .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 250px;
    font-size: 0.9rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

/* ==================== 图片网格 ==================== */
.gallery-section {
    padding: 50px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    transition: all 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .gallery-image::after {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-info {
    padding: 20px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.85rem;
}

.gallery-date, .gallery-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== 文章列表 ==================== */
.article-list {
    padding: 50px 0;
}

.article-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-image {
    width: 250px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--gray);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.article-meta span:not(.article-category) {
    color: #556;
    font-weight: 700;
    font-size: 1.15rem;
}

.article-category {
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* ==================== 文章详情 ==================== */
.article-header {
    padding: 40px 0;
    text-align: center;
}

.article-category {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-content {
    padding: 40px 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

.article-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-text h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
}

.article-text h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 25px 0 12px 0;
}

.article-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.article-text li::before {
    content: '•';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.highlight-box {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.highlight-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ==================== 文章底部 ==================== */
.article-footer {
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 40px;
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--light);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    transition: all 0.3s;
    cursor: pointer;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
}

.share-section {
    margin-bottom: 30px;
}

.share-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    cursor: pointer;
}

.share-btn.wechat {
    background: #07c160;
}

.share-btn.weibo {
    background: #e6162d;
}

.share-btn.qq {
    background: #1da1f2;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.related-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-content {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-date {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ==================== 关于展会 ==================== */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.organizers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.organizer-logo {
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.organizer-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ==================== 日程安排 ==================== */
.schedule {
    background: var(--light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 45%;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 1;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* ==================== 展区预览 ==================== */
.exhibition-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.exhibition-map {
    background: #f0f0f0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.hall-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.hall {
    background: var(--white);
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hall:hover {
    transform: translateY(-5px);
}

.hall h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* 展馆点击效果 */
.hall {
    cursor: pointer;
}

/* 图片放大弹窗 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 80%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease;
    cursor: grab;
    user-select: none;
}

.image-modal img:active {
    cursor: grabbing;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.image-modal-close:hover {
    color: var(--secondary);
}

/* ==================== 新闻卡片 ==================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img {
    height: 200px;
    background: #ddd;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.news-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* ==================== 合作伙伴 ==================== */
.partners {
    background: var(--light);
}

.partner-scroll {
    overflow: hidden;
    margin-top: 40px;
}

.partner-track {
    display: flex;
    gap: 30px;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 133px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 15px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover, .page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 加载更多 ==================== */
.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    padding: 12px 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ==================== 页脚 ==================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    color: #aaa;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 扩展页脚样式 */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

/* ==================== 动画效果 ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* 增强的悬停效果 */
.news-card {
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content {
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hall {
    transition: all 0.3s ease;
}

.hall:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 页面加载动画 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 联系我们悬浮按钮 ==================== */
.contact-fab {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(26, 91, 155, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.contact-fab i {
    font-size: 24px;
}

.contact-fab span {
    font-size: 14px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.contact-fab:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(26, 91, 155, 0.6);
}

/* ==================== 联系人弹窗 ==================== */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.contact-modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.contact-modal-close {
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.contact-modal-close:hover {
    transform: scale(1.1);
    color: var(--secondary);
}

.contact-list {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e8f0f9;
    transform: translateX(5px);
}

.contact-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.contact-phone {
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-phone i {
    color: var(--secondary);
    font-size: 14px;
}

/* ==================== 联系我们弹窗动画 ==================== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-modal.active .contact-modal-content {
    animation: modalFadeIn 0.3s ease;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-date {
        left: 30px;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .tabs-container {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        height: 200px;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .hall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hall-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 联系我们按钮移动端样式 */
    .contact-fab {
        right: 10px;
        top: auto;
        bottom: 80px;
        transform: none;
        padding: 12px 16px;
        flex-direction: row;
    }

    .contact-fab i {
        font-size: 20px;
    }

    .contact-fab span {
        writing-mode: horizontal-tb;
        font-size: 12px;
    }

    .contact-fab:hover {
        transform: scale(1.05);
    }

    /* 联系人弹窗移动端样式 */
    .contact-modal-content {
        max-width: 90%;
        max-height: 70vh;
    }

    .contact-modal-header {
        padding: 15px 20px;
    }

    .contact-modal-header h3 {
        font-size: 1.1rem;
    }

    .contact-list {
        padding: 15px 20px;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .contact-phone {
        font-size: 0.95rem;
    }
}

/* ==================== 文章详情页面专用样式 ==================== */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-detail .article-header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #667eea;
    margin-bottom: 30px;
}

.article-detail .article-title {
    font-size: 2.2rem;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.article-detail .article-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.article-detail .article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-detail .article-content {
    line-height: 2;
    color: #333;
    font-size: 16px;
}

.article-detail .article-content h3 {
    color: #667eea;
    margin: 30px 0 15px 0;
    font-size: 1.4rem;
}

.article-detail .article-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-detail .article-content ul,
.article-detail .article-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

.article-detail .article-content li {
    margin-bottom: 12px;
}

.article-detail .article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.article-nav {
    display: flex;
    gap: 20px;
}

.article-nav a {
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.article-nav a:hover {
    background: #667eea;
    color: white;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.share-wechat {
    background: #07c160;
}

.share-weibo {
    background: #e6162d;
}

.share-qq {
    background: #12b7f5;
}

.related-articles {
    margin-top: 40px;
}

.related-title {
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.related-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.related-item h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1rem;
}

.related-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.related-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}