/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #87CEEB;
    --accent-color: #FFB6C1;
    --text-color: #333333;
    --text-light: #808080;
    --bg-color: #FFFAF0;
    --bg-light: #FFF5EE;
    --border-color: #E6E6FA;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto';
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 15px;
}

/* Navigation */
header {
    background-color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(135, 206, 235, 0.1);
    border-bottom: 2px solid var(--border-color);
}

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

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
    border-radius: 15px;
}

nav a:hover {
    color: var(--secondary-color);
    background-color: rgba(135, 206, 235, 0.1);
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    padding: 2rem 0;
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 2rem;
    align-items: start;
    padding: 0;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.3);
    border: 3px solid white;
    transition: transform 0.3s ease;
}

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

.profile-info h1 {
    font-size: 1.9rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-family: 'Georgia', serif;
}

.profile-info .title {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    font-style: italic;
}

.profile-info .affiliation {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.profile-info .bio {
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    background-color: rgba(135, 206, 235, 0.1);
}

.social-links a:hover {
    color: white;
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.social-links i {
    font-size: 1rem;
}

.social-links .social-wechat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    background-color: rgba(135, 206, 235, 0.1);
    color: var(--text-color);
}

/* Publications Section - Simple List Style */
.publications-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.publications-list-simple li {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
    color: var(--text-color);
    padding-left: 1.2rem;
    position: relative;
}

.publications-list-simple li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.publications-list-simple .venue {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.publications-list-simple .authors {
    font-size: 0.85rem;
    color: var(--text-light);
}

.publications-list-simple .authors strong {
    font-weight: 600;
    color: var(--text-color);
}

.publications-list-simple li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.publications-list-simple li a:hover {
    text-decoration: underline;
}

/* Internship Section */
.internship-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.internship-list li {
    margin-bottom: 1.2rem;
    line-height: 1.6;
    padding-left: 1.2rem;
    position: relative;
}

.internship-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.internship-list .intern-period {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.internship-list .intern-company {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
}

.internship-list .intern-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

.internship-list .intern-role a {
    color: var(--secondary-color);
    text-decoration: none;
}

.internship-list .intern-role a:hover {
    text-decoration: underline;
}

/* Publications Section - Compact Style (keep for backward compatibility) */
.publications-compact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pub-item-compact {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border-color);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.pub-item-compact:hover {
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

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

.pub-title-compact {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.pub-item-compact:hover .pub-title-compact {
    color: var(--secondary-color);
}

.pub-authors-compact {
    font-size: 0.85rem;
    color: var(--text-light);
}

.pub-authors-compact strong {
    color: var(--text-color);
    font-weight: 600;
}

.pub-venue-compact {
    font-size: 0.83rem;
    color: var(--secondary-color);
    font-style: italic;
    font-weight: 500;
}

.pub-link-compact {
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    background-color: rgba(135, 206, 235, 0.15);
    transition: all 0.3s ease;
}

.pub-link-compact:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Old publication styles - keep for backward compatibility */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.publication-item {
    padding: 1.5rem;
    background: white;
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.publication-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pub-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pub-authors {
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.pub-authors strong {
    color: var(--text-color);
}

.pub-venue {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.pub-description {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pub-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.research-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.research-period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.research-description {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-light);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

/* Blog Section */
.coming-soon {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
    font-style: italic;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.blog-item {
    display: flex;
    gap: 1.5rem;
    padding: 0.8rem;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.blog-item:hover {
    background-color: rgba(135, 206, 235, 0.05);
    padding-left: 1.2rem;
}

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

.blog-date {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--secondary-color);
    min-width: 70px;
    font-size: 0.85rem;
}

.blog-content h3 {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.blog-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content a:hover {
    color: var(--secondary-color);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.88rem;
}

/* Contact Section */
.contact-info {
    padding: 0;
}

.contact-info p {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    background-color: rgba(135, 206, 235, 0.1);
    padding-left: 0.8rem;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: linear-gradient(to right, var(--bg-light), white);
    color: var(--text-light);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 2px solid var(--border-color);
    font-size: 0.85rem;
}

footer p {
    margin: 0.2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image img {
        width: 180px;
        height: 180px;
    }

    .social-links {
        justify-content: center;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .blog-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .profile-info h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}
