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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 标题样式 */
h1, h2, h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

/* 链接样式 */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* 文本对齐样式 */
p {
    text-align: justify;
    text-justify: inter-word;
}

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

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: rgb(255, 255, 255);
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

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

nav li {
    margin: 0 15px;
}

nav a {
    display: block;
    padding: 15px 10px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

nav a:hover {
    color: #3498db;
}

/* 区块样式 */
.section {
    padding: 80px 0;
}

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

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 关于我部分 */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 250px;
    height: 250px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #777;
    border: 5px solid #3498db;
}

/* 出版物部分 */
.publications-container {
    max-width: 900px;
    margin: 0 auto;
}

.publication {
    margin-bottom: 40px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.publication h3 {
    color: #3498db;
    margin-bottom: 10px;
}

.publication-authors {
    font-weight: 500;
    margin-bottom: 5px;
}

.publication-journal {
    color: #666;
    margin-bottom: 15px;
}

.publication-abstract {
    margin-bottom: 15px;
    line-height: 1.6;
}

.publication-link {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.publication-link:hover {
    background-color: #2980b9;
    color: white;
}

/* 演讲部分 */
.presentation-category {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    color: #2c3e50;
}

.presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.presentation {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.presentation h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.presentation-venue {
    font-weight: 500;
    margin-bottom: 5px;
}

.presentation-date {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

/* 联系部分 */
.contact-info {
    margin-bottom: 30px;
    text-align: center;
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #2980b9;
    color: white;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 40px 0;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}