/* 基础样式 */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 排版 */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* 按钮 */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* 头部 */
.site-header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-title {
    font-size: 24px;
    margin: 0;
}

.site-branding .site-title a {
    color: var(--secondary-color);
}

/* 导航 */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--dark-color);
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1445205170230-053b83016050');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: white;
}

.hero-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 分类区域 */
.categories-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.category-card h3 {
    margin-bottom: 15px;
}

/* 图库区域 */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    margin-bottom: 10px;
}

/* 号召区域 */
.cta-section {
    background: var(--light-color);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--gray-color);
}

/* 页脚 */
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-widget a {
    color: #ddd;
    display: block;
    margin-bottom: 10px;
}

.footer-navigation {
    text-align: center;
    margin-bottom: 30px;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: #ddd;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
}

/* 文章样式 */
.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .main-navigation.active ul {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .categories-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 20px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}