﻿/* 基础样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 50px;
}

a.edit{ font-size:13px }
.section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.section:last-child {
        border-bottom: none;
    }

.section-title {
    margin-bottom: 40px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 600;
    color: #2c3e50;
}

.navbar-toggle .icon-bar {
    color: #ffffff !important;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-nav > li > a {
    color: #ecf0f1 !important;
    transition: all 0.3s ease;
}

 .navbar-brand:hover, .navbar-nav > li > a:hover {
        color: #3498db !important;
 }

/* 首页样式 */
#home {
    background-color: #ecf0f1;
    padding: 100px 0;
    text-align: center;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-img:hover {
        transform: scale(1.05);
    }

.name {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

.title {
    font-size: 1.3em;
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* 关于我样式 */
#about p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

/* 研究领域样式 */
.research-item {
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .research-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.research-icon {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 15px;
}

/* 论文样式 */
.paper-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

    .paper-item:last-child {
        border-bottom: none;
    }

    .paper-item:hover {
        transform: translateX(10px);
    }

.paper-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.paper-authors {
    color: #7f8c8d;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.paper-journal {
    font-style: italic;
    font-size: 0.9em;
}

/* 教学经历样式 */
.teaching-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

    .teaching-item:before {
        content: '';
        position: absolute;
        left: 0;
        top: 5px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #3498db;
    }

    .teaching-item:after {
        content: '';
        position: absolute;
        left: 4px;
        top: 20px;
        width: 2px;
        height: calc(100% + 20px);
        background-color: #eee;
    }

    .teaching-item:last-child:after {
        display: none;
    }

.teaching-period {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 5px;
}

/* 联系样式 */
#contact {
    background-color: #f5f5f5;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-icon {
    color: #3498db;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-links {
    margin-top: 30px;
}

    .social-links a {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 50%;
        background-color: #3498db;
        color: white;
        margin-right: 10px;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background-color: #2980b9;
            transform: translateY(-3px);
        }

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

/* 响应式调整 */
@media (max-width: 768px) {
    .name {
        font-size: 2em;
    }

    .section {
        padding: 40px 0;
    }

    #home {
        padding: 70px 0;
    }
}

 
