@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: -0.01em;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.profile-header {
    margin-bottom: 15px;
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.profile-header .first-name {
    font-weight: 300;
}

.profile-header .last-name {
    font-weight: 500;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Profile Section */
.profile {
    margin-bottom: 20px;
}

.profile-img-wrapper {
    float: right;
    margin-top: 20px;
    margin-left: 13px;
    margin-bottom: 15px;
}

.profile-img {
    width: 210px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-text {
    text-align: justify;
}

.profile-text p {
    margin-bottom: 12px;
    color: #444;
}

.highlight {
    color: #e07306;
    font-weight: 400;
}

.previous-exp {
    font-size: 0.85rem;
    color: #888;
}

.social-links {
    clear: both;
    padding-top: 15px;
}

.social-links a {
    color: #555;
    font-size: 1.5rem;
    margin-right: 18px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #000;
    text-decoration: none;
}

/* Separator */
.separator {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

/* Section Titles */
h2 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
}

h2 a {
    color: inherit;
}

h2 a:hover {
    text-decoration: none;
    color: #0066cc;
}

/* Publications Section */
.publications {
    margin-bottom: 20px;
}

.pub-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.pub-thumbnail {
    flex-shrink: 0;
    width: 160px;
}

.pub-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.pub-content {
    flex: 1;
}

.pub-title {
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.pub-authors {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2px;
}

.pub-venue {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 6px;
}

.pub-links {
    font-size: 0.9rem;
}

.pub-links a {
    color: #0066cc;
}

.coming-soon {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* Projects Section */
.projects {
    margin-bottom: 20px;
}

.project-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.project-thumbnail {
    flex-shrink: 0;
    width: 160px;
}

.project-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    background-color: #f5f5f5;
}

.project-content {
    flex: 1;
}

.project-title {
    font-weight: 500;
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.project-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 6px;
}

.project-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 6px;
}

.project-links {
    font-size: 0.9rem;
}

.project-links a {
    color: #0066cc;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
    main {
        padding: 30px 15px;
    }

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

    .profile-img-wrapper {
        float: none;
        text-align: center;
        margin: 0 0 20px 0;
    }

    .profile-img {
        width: 150px;
    }

    .profile-text {
        text-align: left;
    }

    .social-links {
        text-align: center;
    }

    .pub-item,
    .project-item {
        flex-direction: column;
        gap: 12px;
    }

    .pub-thumbnail,
    .project-thumbnail {
        width: 100%;
    }
}
