/* Simple, professional, fast */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding: 20px;
    max-width: 650px;
    margin: 0 auto;
}

main {
    margin: 40px 0;
}

header {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
    flex-shrink: 0;
}

.header-text {
    flex: 1;
}

.header-text h1 {
    margin-bottom: 5px;
}

.header-text .title {
    font-size: 1.1em;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.header-text .slogan {
    font-size: 0.95em;
    color: #777;
    font-style: italic;
    margin-bottom: 0;
}

.social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    font-size: 1.3em;
}

.social-links a {
    color: #333;
    text-decoration: none;
    border-bottom: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
}

.social-links a:hover {
    color: #0066cc;
    transform: translateY(-2px);
}

.social-links a:visited {
    color: #333;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 1.8em;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 600;
}

h3 {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
}

section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

section:last-of-type {
    border-bottom: none;
}

article {
    margin-bottom: 30px;
}

/* Education entries */
.education-entry {
    margin-bottom: 35px;
}

.education-entry p:first-child {
    margin-bottom: 10px;
}

.education-entry p:last-child {
    margin-bottom: 0;
    line-height: 1.8;
}

/* Timeline layout */
.timeline-entry {
    display: flex;
    gap: 30px;
    margin-bottom: 35px;
}

.timeline-date {
    flex-shrink: 0;
    width: 120px;
    font-weight: 600;
    color: #555;
    padding-top: 2px;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    margin-top: 0;
}

.timeline-content ul {
    margin-top: 8px;
    margin-bottom: 0;
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 5px;
}

.timeline-content ul li:last-child {
    margin-bottom: 0;
}

.timeline-content p {
    margin-top: 5px;
}

a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #0066cc;
}

a:hover {
    color: #004499;
    border-bottom-color: #004499;
}

a:visited {
    color: #551a8b;
    border-bottom-color: #551a8b;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
    color: #666;
}

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
    color: #666;
}

/* Blog styles */
.blog-post {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.blog-post:last-child {
    border-bottom: none;
}

.post-meta {
    margin-bottom: 10px;
}

.post-date {
    font-size: 0.9em;
    color: #777;
    font-weight: 600;
}

.blog-post h3 {
    margin-top: 5px;
    margin-bottom: 15px;
}

.post-excerpt {
    color: #555;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        font-size: 16px;
        padding: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    .social-links {
        justify-content: center;
        gap: 20px;
    }
    
    .timeline-entry {
        flex-direction: column;
        gap: 5px;
    }
    
    .timeline-date {
        width: auto;
        font-size: 0.9em;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}

/* Print styles */
@media print {
    body {
        max-width: 100%;
        font-size: 12pt;
    }
    
    a {
        color: #000;
        text-decoration: underline;
        border-bottom: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
