/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #4a6fa5;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c4a7a;
}

.highlight {
    color: #4a6fa5;
    font-weight: 600;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #6a89cc 0%, #4a69bd 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 span {
    color: #d1d8e0;
    font-weight: 300;
}

.tagline {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    color: white;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover {
    color: #d1d8e0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d1d8e0;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 250px;
    font-size: 14px;
}

.search-btn {
    padding: 10px 20px;
    background-color: #2c4a7a;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #1a3357;
}

/* 主要内容区域 */
.main-content {
    padding: 40px 0;
}

/* Hero区域 */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), 
                url('https://tupian.com/10.jpg') center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c4a7a;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(to right, #6a89cc, #4a69bd);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(106, 137, 204, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(106, 137, 204, 0.4);
    color: white;
}

/* 特色区域 */
.featured-section {
    background-color: white;
    padding: 40px 0;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.featured-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c4a7a;
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.keyword-large, .keyword-medium, .keyword-small {
    padding: 12px 20px;
    background-color: #f1f5fd;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.keyword-large {
    font-size: 18px;
    background-color: #e3ebfc;
}

.keyword-medium {
    font-size: 16px;
}

.keyword-small {
    font-size: 14px;
    padding: 10px 16px;
}

.keyword-large:hover, .keyword-medium:hover, .keyword-small:hover {
    background-color: #4a6fa5;
    color: white;
    transform: translateY(-3px);
}

/* 图片展示区域 */
.gallery-section, .video-section {
    margin-bottom: 50px;
}

.gallery-section h2, .video-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c4a7a;
    padding-bottom: 15px;
    border-bottom: 2px solid #eaeaea;
}

.section-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.caption {
    padding: 15px;
    background-color: white;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* 视频区域 */
.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #4a6fa5;
    margin-left: 5px;
}

.video-item:hover .play-btn {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.video-info h3 a {
    color: #2c4a7a;
}

.video-info h3 a:hover {
    color: #1a3357;
}

.video-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.video-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.video-tags a {
    background-color: #f1f5fd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.video-tags a:hover {
    background-color: #4a6fa5;
    color: white;
}

/* 关键词大全区域 */
.keywords-section {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.keywords-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c4a7a;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.keywords-list a {
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    font-size: 14px;
    transition: all 0.3s ease;
}

.keywords-list a:hover {
    background-color: #4a6fa5;
    color: white;
    border-color: #4a6fa5;
    transform: translateY(-2px);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
    color: #d1d8e0;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4a6fa5;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-keywords a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #d1d8e0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
}

.footer-keywords a:hover {
    background-color: #4a6fa5;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #d1d8e0;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #4a6fa5;
}

.footer-bottom a:hover {
    color: #6a89cc;
}

.footer-note {
    margin-top: 10px;
    font-size: 13px;
    color: #a0aec0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .hero h2 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .video-list {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .keywords-cloud {
        gap: 10px;
    }
    
    .keyword-large, .keyword-medium, .keyword-small {
        padding: 10px 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero h2 {
        font-size: 26px;
    }
    
    .featured-section h2, .gallery-section h2, .video-section h2, .keywords-section h2 {
        font-size: 26px;
    }
    
    .keywords-list {
        gap: 8px;
    }
    
    .keywords-list a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}