/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Noto Serif SC', serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    font-weight: 400;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航样式 */
.header {
    padding: 60px 0 40px;
    border-bottom: 1px solid #eee;
}

.nav {
    text-align: center;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.current::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    margin-bottom: 30px;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    color: #666;
}

.hero-description p {
    margin-bottom: 10px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-outline {
    color: #333;
    background-color: transparent;
    border: 1px solid #333;
}

.btn-outline:hover {
    color: #fff;
    background-color: #333;
}

.btn-center {
    display: block;
    margin: 0 auto;
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

/* 关于我区块 */
.about-brief {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    color: #666;
}

.about-brief p {
    margin-bottom: 25px;
}

.about-brief .btn {
    margin-top: 10px;
}

/* 文章列表样式 */
.posts-container {
    max-width: 700px;
    margin: 0 auto 40px;
}

.post-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-item:hover {
    transform: translateY(-5px);
}

.post-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.post-item h3 a {
    color: #333;
    text-decoration: none;
}

.post-item h3 a:hover {
    color: #666;
}

.post-item .date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 300;
}

.post-item .excerpt {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* 关于页面 */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 0;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.about-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.about-info img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 30px;
    object-fit: cover;
}

.about-info h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-info .subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
}

.about-bio {
    text-align: center;
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.about-bio p {
    margin-bottom: 20px;
}

/* 教育和工作经历 */
.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    margin-bottom: 40px;
    padding-left: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 15px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: #eee;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-item .period {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #666;
    font-size: 16px;
}

/* 联系方式页面 */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-content h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.contact-info {
    text-align: center;
    margin-bottom: 60px;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.contact-info li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info li a:hover {
    color: #666;
}

/* 联系表单 */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #eee;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group button:hover {
    background-color: #555;
}

/* 博客页面 */
.blog-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 0;
}

.blog-container h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.blog-post {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.blog-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.blog-post h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-post h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post h3 a:hover {
    color: #666;
}

.blog-post .post-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.blog-post .post-content {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.blog-post .post-content p {
    margin-bottom: 20px;
}

/* 单篇文章页面 */
.single-post {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 0;
}

.single-post h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.single-post .post-meta {
    text-align: center;
    font-size: 16px;
    color: #999;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post .post-content {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.single-post .post-content p {
    margin-bottom: 25px;
}

/* 页脚样式 */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-content {
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 40px 0 20px;
    }
    
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 16px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-content {
        padding: 60px 0;
    }
    
    .about-content h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .blog-container {
        padding: 60px 0;
    }
    
    .blog-container h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .single-post {
        padding: 60px 0;
    }
    
    .single-post h2 {
        font-size: 32px;
    }
    
    .footer {
        padding: 40px 0;
    }
}