/* Reset and base styles */
* {
    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.7;
    color: #1a1a1a;
    background: #fff;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px 5px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navigation */
nav {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

nav a {
    color: #666;
    text-decoration: none;
    margin-right: 24px;
    font-size: 15px;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: #000;
}

/* Typography */
h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 24px;
    color: #000;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000;
}

p {
    margin-bottom: 16px;
    color: #444;
    font-size: 16px;
}

a {
    color: #0070f3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Special intro text on homepage */
.intro {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

/* Lists */
ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
    color: #444;
}

/* Project/Article items */
.item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f0f0f0;
}

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

.item h3 a {
    color: #000;
}

.item h3 a:hover {
    color: #0070f3;
}

.item-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.item-description {
    color: #555;
    font-size: 15px;
}

/* Tags */
.tags {
    margin-top: 12px;
}

.tag {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 4px 10px;
    margin-right: 8px;
    margin-top: 4px;
    font-size: 13px;
    border-radius: 3px;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    color: #999;
}

footer a {
    color: #666;
    margin: 0 8px;
}

footer a:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 640px) {
    body {
        padding: 24px 16px 60px;
    }
    
    nav {
        margin-bottom: 40px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
        margin-top: 36px;
    }
}

/* Miscellaneous */
.project-links-text {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.category-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.category-tag.featured {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
}

.category-tag.hackathon {
    background: #e7f3ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.category-tag.work {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.category-tag.learning {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}