/* static/css/style.css */
:root {
    --primary-color: #333;
    --secondary-color: #555;
    --accent-color: #007bff;
    --bg-color: #fff;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-width: 800px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--primary-color);
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--container-width);
    margin: auto;
    padding: 0 20px;
}

.navbar {
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: var(--bg-color);
    text-decoration: none;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

main.container {
    background: var(--bg-color);
    padding: 40px 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
}

h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
}

h1 { margin-bottom: 1rem; }
h2 { margin-top: 2.5rem; border-bottom: 2px solid #eee; padding-bottom: 0.5rem; }
h3 { margin-top: 1.5rem; }

section { margin-bottom: 2rem; }

.resume-header { text-align: center; margin-bottom: 2rem; }
.resume-header h1 { margin-bottom: 0.2rem; }
.resume-header .subtitle { font-size: 1.2rem; color: var(--secondary-color); margin-top: 0; }
.contact-info span { margin: 0 10px; }

.job, .award, .education-item { margin-bottom: 1.5rem; }
.company-info, .institution { font-weight: bold; color: var(--secondary-color); }
ul { padding-left: 20px; }
ul li { margin-bottom: 0.5rem; }

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 600px) {
    .skills-grid { grid-template-columns: 1fr 1fr; }
}

/* Blog Styles */
.page-title { text-align: center; }
.post-list-item { border-bottom: 1px solid #eee; padding: 1rem 0; }
.post-list-item:last-child { border-bottom: none; }
.post-list-item a { text-decoration: none; color: var(--accent-color); }
.post-meta { color: var(--secondary-color); font-size: 0.9rem; }

.post-content { margin-top: 2rem; }
.post-content p, .post-content li { font-size: 1.1rem; }
.post-content pre { background-color: #f8f8f8; padding: 1rem; border-radius: 5px; overflow-x: auto; }
.post-content code { font-family: "Courier New", Courier, monospace; }
.post-content a { color: var(--accent-color); }

.footer { text-align: center; padding: 2rem 0; color: var(--secondary-color); }
