/* ================================
   Simple Minimalist Homepage Template 3
   ================================
   
   Dark accent minimalist design.
   Clean with dark color accents.
   
   HOW TO CUSTOMIZE:
   - Change primary color
   - Adjust spacing
   - Modify typography
   ================================ */

/* Reset */
* {
    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: #2a2a2a;
    background: #ffffff;
    padding: 50px 20px;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

/* Header section */
.header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #2a2a2a;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 25px;
}

.text-content {
    flex: 1;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.title {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
    font-weight: 400;
}

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

.photo-content {
    flex-shrink: 0;
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 4px;
    object-fit: cover;
    border: 2px solid #2a2a2a;
}

.contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
}

.contact-link {
    color: #2a2a2a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #666;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.social-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.social-icon:hover {
    opacity: 0.75;
}

/* Section styling */
.section {
    margin-bottom: 45px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-content {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
}

/* Tag list */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 16px;
    background: #2a2a2a;
    color: #ffffff;
    font-size: 0.85rem;
    border-radius: 2px;
    font-weight: 500;
}

/* Timeline items */
.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background: #2a2a2a;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
}

.secondary-text {
    color: #777;
    font-style: italic;
}

/* Publications */
.pub-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

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

.pub-number {
    font-weight: 700;
    color: #2a2a2a;
    flex-shrink: 0;
}

.pub-content {
    flex: 1;
}

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

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

.pub-links {
    display: flex;
    gap: 12px;
}

.pub-links a {
    font-size: 0.85rem;
    color: #2a2a2a;
    text-decoration: none;
    border-bottom: 1px solid #2a2a2a;
    transition: color 0.2s ease;
}

.pub-links a:hover {
    color: #666;
    border-bottom-color: #666;
}

/* Footer */
.footer {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding: 30px 15px;
    }

    .header-content {
        flex-direction: column-reverse;
    }

    .photo-content {
        align-self: flex-start;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 2rem;
    }

    .contact-bar {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .section-content {
        font-size: 0.95rem;
    }

    .timeline-item {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 1.7rem;
    }

    .profile-photo {
        width: 90px;
        height: 90px;
    }

    .contact-bar {
        gap: 10px;
    }

    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

