* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* 网站公告 */
.announcement-bar {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 0.8rem 0;
    overflow: hidden;
    position: relative;
    z-index: 1001;
}
.announcement-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.announcement-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.announcement-text {
    display: flex;
    gap: 2rem;
    animation: scrollAnnouncement 20s linear infinite;
}
.announcement-item {
    white-space: nowrap;
    font-weight: 500;
}
@keyframes scrollAnnouncement {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 页头设计 */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1000;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s linear infinite;
}
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}
/* 导航栏 */
.navbar {
    max-width: 1480px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: white;
}
.logo-icon {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}
.nav-links a:hover {
    color: #4ecdc4;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4ecdc4;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(10px);
}
.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0.5rem;
    width: 200px;
}
.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}
.search-box button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
}
/* 英雄区域 */
.hero {
    max-width: 1480px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}
.hero .description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
/* 主内容区 */
.container {
    flex: 1;
    max-width: 1480px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}
/* 文章列表 */
.article-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}
.article-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(30, 60, 114, 0.1);
}
.article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}
.article-content {
    padding: 0;
}
.article-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}
.article-title a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s ease;
}
.article-title a:hover {
    color: #ff6b6b;
}
.article-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(30, 60, 114, 0.1);
}
.article-meta .date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.article-meta .category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 60, 114, 0.1);
    padding: 0.3rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #1e3c72;
}
.article-summary {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 页脚设计 */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem 2rem;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="50" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="70" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 25s linear infinite reverse;
}
.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1480px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #4ecdc4;
    font-weight: 700;
    position: relative;
    display: inline-block;
}
.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ff6b6b;
    border-radius: 2px;
}
.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
    line-height: 1.7;
}
/* 页脚导航 */
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 1rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-links a:hover {
    color: #4ecdc4;
    transform: translateX(5px);
}
/* 联系方式 */
.contact-info {
    list-style: none;
}
.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}
/* 社交媒体 */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.social-links a:hover {
    background: #4ecdc4;
    transform: translateY(-3px) scale(1.1);
}
/* 订阅表单 */
.subscribe-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.subscribe-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
}
.subscribe-form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
/* 页脚底部 */
.footer-bottom {
    max-width: 1480px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}
.footer-bottom .copyright {
    margin-bottom: 0.5rem;
}
.footer-bottom .legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}
.footer-bottom .legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}
.footer-bottom .legal-links a:hover {
    color: #4ecdc4;
}
/* 信任标识 */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}
.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}
/* 特色内容 */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.featured-item:hover {
    transform: translateY(-5px);
}

/* 分类亮点 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.category-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 本地生活提示 */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.tip-image {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.tip-card:hover .tip-image {
    transform: scale(1.05);
}

@media (max-width: 1200px) {
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tip-card {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
}

/* 新闻模块 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.news-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.news-header h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

/* 设计员展示模块 */
.designers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.designer-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}
.designer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}
.designer-card:hover .designer-avatar {
    transform: scale(1.05);
}
.designer-avatar {
    transition: transform 0.3s ease;
}

/* 风景介绍模块 */
.scenery-section {
    margin-bottom: 4rem;
}

.scenery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.scenery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.scenery-header {
    position: relative;
    overflow: hidden;
}

.scenery-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.scenery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3c72;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scenery-body {
    padding: 1rem;
}

.scenery-body h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.scenery-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(30, 60, 114, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.scenery-body p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.scenery-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
}

/* 游玩攻略模块 */
.travel-guide-section {
    margin-bottom: 4rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.guide-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.guide-body {
    background: white;
}

.guide-itinerary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.itinerary-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.itinerary-time {
    flex-shrink: 0;
    width: 80px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.itinerary-content {
    flex: 1;
}

.itinerary-content h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.itinerary-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.transport-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.transport-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.transport-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.transport-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.transport-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.accommodation-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accommodation-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.accommodation-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 - 游玩攻略模块 */
@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .scenery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scenery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .scenery-body {
        padding: 1.5rem;
    }
    
    .guide-body {
        padding: 1.5rem !important;
    }
    
    .itinerary-item {
        gap: 1rem;
    }
    
    .itinerary-time {
        width: 70px;
        font-size: 0.9rem;
    }
    
    .transport-item {
        gap: 1rem;
    }
    
    .transport-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .scenery-image {
        height: 200px;
    }
    
    .scenery-body {
        padding: 1.2rem;
    }
    
    .scenery-body h3 {
        font-size: 1.3rem;
    }
    
    .guide-body {
        padding: 1.2rem !important;
    }
    
    .guide-header h3 {
        font-size: 1.1rem;
    }
}

/* 百年历史模块 */
.history-section {
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.8), rgba(195, 207, 226, 0.3));
    border-radius: 16px;
    overflow: hidden;
}

.history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(30, 60, 114, 0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(30, 60, 114, 0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(30, 60, 114, 0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(30, 60, 114, 0.1)"/><circle cx="80" cy="10" r="1" fill="rgba(30, 60, 114, 0.1)"/></svg>');
    animation: float 30s linear infinite;
    z-index: 0;
}

/* 时间轴样式 */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 1rem 0;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #1e3c72);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-item.left {
    left: 0;
    padding-right: 2.5rem;
    animation-delay: 0.1s;
}

.timeline-item.right {
    left: 50%;
    padding-left: 2.5rem;
    animation-delay: 0.2s;
}

/* 时间轴节点 */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #4ecdc4;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.left::before {
    right: -8px;
}

.timeline-item.right::before {
    left: -8px;
}

.timeline-item:hover::before {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.8);
    border-color: #ff6b6b;
}

.timeline-content {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(30, 60, 114, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transition: all 0.3s ease;
}

.timeline-item.left .timeline-content::after {
    right: -30px;
    border-left-color: white;
}

.timeline-item.right .timeline-content::after {
    left: -30px;
    border-right-color: white;
}

.timeline-content:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    border-color: #4ecdc4;
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover .timeline-year {
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
    border-color: #ff6b6b;
}

.timeline-content h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.timeline-content:hover h3 {
    color: #ff6b6b;
}

.timeline-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.timeline-content:hover p {
    color: #333;
}

.timeline-image {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.2), rgba(255, 107, 107, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover .timeline-image {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content:hover .timeline-image::before {
    opacity: 1;
}

/* 历史图片画廊 */
.history-gallery {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.gallery-title {
    text-align: center;
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: 700;
    animation: fadeInUp 0.6s ease-out forwards;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 1.5px;
    animation: pulse 2s ease-in-out infinite;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.gallery-item:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.gallery-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.gallery-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3), rgba(255, 107, 107, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1) rotate(2deg);
}

.gallery-item:hover .gallery-image::before {
    opacity: 1;
}

.gallery-caption {
    padding: 1.2rem;
    text-align: center;
    color: #1e3c72;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, white, rgba(245, 247, 250, 0.8));
    border-top: 1px solid rgba(30, 60, 114, 0.1);
}

.gallery-item:hover .gallery-caption {
    color: #ff6b6b;
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.9), rgba(78, 205, 196, 0.1));
    border-top-color: #4ecdc4;
}

/* 响应式设计 - 百年历史模块 */
@media (max-width: 1024px) {
    .timeline-line {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 6rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-item::before {
        left: -8px;
        right: auto !important;
    }
    
    .timeline-content::after {
        left: -30px !important;
        right: auto !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 1.5rem 0;
        margin-bottom: 2.5rem;
    }
    
    .timeline-item {
        padding-left: 5rem !important;
        margin-bottom: 2.5rem;
    }
    
    .timeline-line {
        left: 25px;
        width: 3px;
    }
    
    .timeline-item::before {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .timeline-year {
        font-size: 1rem;
        padding: 0.2rem 0.6rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .timeline-image {
        height: 140px;
    }
    
    .gallery-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-image {
        height: 160px;
    }
    
    .gallery-caption {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding-left: 4rem !important;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-image {
        height: 120px;
    }
    
    .gallery-image {
        height: 140px;
    }
    
    .gallery-caption {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
}

/* 界面互动效果 */
/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 为各模块添加滚动动画 */
.featured-section,
.latest-section,
.category-highlights,
.history-section,
.local-tips,
.about-us,
.designers-section,
.news-section,
.environment-section,
.scenery-section {
    animation: fadeInUp 0.6s ease-out;
}

/* 卡片悬停效果增强 */
.featured-item,
.article-item,
.category-card,
.tip-card,
.designer-card,
.news-item,
.gallery-item,
.scenery-card {
    transition: all 0.3s ease;
}

.featured-item:hover,
.article-item:hover,
.category-card:hover,
.tip-card:hover,
.designer-card:hover,
.news-item:hover,
.gallery-item:hover,
.scenery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* 按钮互动效果 */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* 图片悬停放大效果 */
.gallery-image,
.scenery-image {
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image,
.scenery-card:hover .scenery-image {
    transform: scale(1.05);
}

/* 文本选择样式 */
::selection {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero .subtitle {
        font-size: 1.2rem;
    }
    .featured-grid,
    .category-grid,
    .tips-grid,
    .news-grid,
    .designers-grid,
    .scenery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .search-box {
        display: none;
    }
    .hero {
        padding: 3rem 2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .section-title {
        font-size: 2rem;
    }
    .article-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}
/* 加载动画 */
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4ecdc4;
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* 滚动进度条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}
/* 滚动到顶部按钮 */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* 导航栏滚动效果 */
header.scrolled {
    background: rgba(30, 60, 114, 0.95);
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.5);
    backdrop-filter: blur(10px);
}

/* 响应式导航菜单 */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 搜索框交互效果 */
.search-box {
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 文章卡片增强效果 */
.article-item {
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-item:hover::before {
    transform: scaleX(1);
}

/* 按钮点击反馈 */
.btn:active {
    transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, #1e3c72, #2a5298);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 2000;
    }
    
    .nav-links.show {
        left: 0;
    }
    
    .nav-links li {
        margin-bottom: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .search-box {
        order: 2;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #4ecdc4;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}