/* Modern Academic Website Styles */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --link-color: #2980b9;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* Navigation */
nav {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

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

/* Header Section */
.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Bio Section */
.bio-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
}

.bio-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bio-content p {
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

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

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

/* Publications */
.publication {
    background-color: var(--light-bg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.publication h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.publication .authors {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.publication .venue {
    color: #555;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.publication .links {
    margin-top: 1rem;
}

.publication .links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

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

/* CV Sections */
.cv-section {
    margin-bottom: 3rem;
}

.cv-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.cv-item {
    margin-bottom: 2rem;
}

.cv-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.cv-item .institution {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.3rem;
}

.cv-item .date {
    color: #777;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.cv-item p {
    color: #666;
}

/* Download Button */
.download-cv {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-bottom: 2rem;
}

.download-cv:hover {
    background-color: var(--link-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
