/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 导航栏样式 */
nav {
    background-color: #fff;
    box-shadow: 0 2px 5px 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 {
    padding: 15px 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 15px 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2575fc;
}

/* 主要内容样式 */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2575fc;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2575fc;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 教育经历样式 */
.education-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.education-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.education-item h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.period {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

/* 荣誉奖项样式 */
.honors-list {
    list-style: none;
}

.honors-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.honors-list i {
    color: #ffc107;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 联系方式样式 */
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-card i {
    color: #2575fc;
    margin-right: 10px;
}

.contact-card a {
    color: #2575fc;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #6a11cb;
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        padding: 8px 0;
    }
    
    nav ul li a {
        padding: 8px 15px;
    }
}
