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

:root {
    --primary-color: #1a1a1a;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --link-color: #0066cc;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    font-size: 16px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
}

.nav-menu a:hover {
    border-bottom: 1px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: #fff;
    color: var(--primary-color);
    padding: 2rem 0 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    font-weight: normal;
}

.hero .subtitle {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.hero .affiliation {
    font-size: 0.95rem;
    color: #666;
}

/* Sections */
.section {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-alt {
    background-color: transparent;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: normal;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 0.3rem;
}

.section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: normal;
}

.section-intro {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* About Section */
.about-content {
    max-width: 100%;
}

.about-content > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.highlights {
    margin-top: 1.5rem;
}

.highlight-card {
    margin-bottom: 1.5rem;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.highlight-card ul {
    list-style: none;
    padding-left: 0;
    margin-left: 1rem;
}

.highlight-card li {
    padding: 0.3rem 0;
    line-height: 1.6;
}

.highlight-card li:before {
    content: "• ";
    margin-right: 0.5rem;
}

/* Research Section */
.research-grid {
    margin-top: 1rem;
}

.research-card {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.research-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.research-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Publications Section */
.publications-stats {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.stat-card {
    display: inline;
}

.stat-number {
    font-weight: 600;
}

.stat-label {
    font-style: italic;
}

.publication-list {
    margin: 1.5rem 0;
}

.publication-item {
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.pub-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.pub-details {
    color: #555;
    font-size: 0.95rem;
    font-style: italic;
}

.download-section {
    margin-top: 1.5rem;
}

.btn-download {
    color: var(--link-color);
    text-decoration: underline;
    font-size: 0.95rem;
}

.btn-download:hover {
    text-decoration: none;
}

/* Teaching Section */
.teaching-content {
    margin-top: 1rem;
}

.teaching-card {
    margin-bottom: 1.5rem;
}

.teaching-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.teaching-card ul {
    list-style: none;
    padding-left: 1rem;
}

.teaching-card li {
    padding: 0.2rem 0;
    line-height: 1.6;
}

.teaching-card li::before {
    content: "• ";
    margin-right: 0.5rem;
}

.teaching-card p {
    line-height: 1.6;
    margin-left: 1rem;
}

/* Students Section */
.students-stats {
    margin: 1rem 0;
    font-size: 0.95rem;
}

.stat-item {
    display: inline;
    margin-right: 2rem;
}

.stat-num {
    font-weight: 600;
}

.stat-desc {
    font-style: italic;
}

.student-list {
    margin: 1.5rem 0;
}

.student-item {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
}

.student-name {
    font-weight: 600;
    font-size: 1rem;
}

.student-thesis {
    color: #555;
    font-style: italic;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-grid {
    margin-top: 1rem;
}

.contact-item {
    margin-bottom: 1.2rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item p {
    line-height: 1.6;
    margin-left: 1rem;
}

.contact-item a {
    color: var(--link-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: transparent;
    color: #666;
    padding: 2rem 0 1rem 0;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .nav-menu {
        gap: 0.8rem;
        font-size: 0.9rem;
    }
}
