/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #4a69bd, #1e3799);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

header .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* 导航栏样式 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    display: block;
    padding: 20px 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4a69bd;
}

/* 章节样式 */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section:nth-child(even) {
    background-color: #fff;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4a69bd;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 关于我样式 */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* 时间线样式 */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px 10px 70px;
    position: relative;
    background-color: inherit;
    width: 100%;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 40px;
    background-color: #4a69bd;
    border: 4px solid #fff;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    font-weight: bold;
    color: #4a69bd;
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.timeline-subtitle {
    font-weight: 500;
    color: #4a69bd;
    margin-bottom: 5px;
}

.timeline-location {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.timeline-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 8px;
}

/* 联系方式样式 */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4a69bd;
}

/* 页脚样式 */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2.5rem;
    }

    header .subtitle {
        font-size: 1.2rem;
    }

    nav ul {
        flex-wrap: wrap;
    }

    nav ul li a {
        padding: 15px 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .about-content {
        flex-direction: column;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-item::after {
        left: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}