* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 20px;
}

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

header p {
    font-size: 1.2em;
    color: #7f8c8d;
}

nav {
    text-align: center;
    margin-bottom: 40px;
}

nav a {
    display: inline-block;
    margin: 0 15px;
    padding: 10px 20px;
    text-decoration: none;
    color: #2c3e50;
    border: 1px solid #2c3e50;
    border-radius: 5px;
    transition: all 0.3s;
}

nav a:hover {
    background-color: #2c3e50;
    color: white;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 10px;
}

h3 {
    color: #34495e;
    margin-bottom: 10px;
}

.research-item, .publication, .education-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
}

.publication a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.publication a:hover {
    text-decoration: underline;
}

#contact p {
    margin-bottom: 10px;
}

#contact a {
    color: #3498db;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Project page styles */
.project-detail {
    max-width: 800px;
    margin: 0 auto;
}

.project-image {
    text-align: center;
    margin: 30px 0;
}

.project-image img {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-meta {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #3498db;
    margin: 20px 0;
}

.project-abstract {
    margin: 30px 0;
}

.project-links {
    margin: 30px 0;
    text-align: center;
}

.project-link {
    display: inline-block;
    margin: 0 15px;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

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

header h1 a {
    color: #2c3e50;
    text-decoration: none;
}

header h1 a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    nav a {
        display: block;
        margin: 5px 0;
    }
    
    header h1 {
        font-size: 2em;
    }
}
