/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

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

/* Header and Navigation */
header {
    padding: 2rem 0 1rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 2rem;
}

nav {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

/* Slash-style nav tags */
.nav-links a.nav-tag {
    color: #999;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: -0.01em;
}

.nav-links a.nav-tag:hover {
    color: #000;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.profile-photo {
    display: inline-block;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 1.25rem;
    border: 4px solid rgba(0,0,0,0.08);
}

/* Content */
.content {
    margin-bottom: 3rem;
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #666;
}

/* Posts */
.posts {
    margin-bottom: 2rem;
}

.post {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.post:last-child {
    border-bottom: none;
}

.post h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post h2 a {
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
}

.post h2 a:hover {
    color: #666;
}

.post-meta {
    margin-bottom: 1rem;
}

.post-meta time {
    color: #666;
    font-size: 0.9rem;
}

.post p {
    margin-bottom: 1rem;
    color: #444;
}

.post-footer {
    margin-top: 1rem;
}

.read-more {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #000;
}

.post-footer .read-more {
    border-bottom: 1px solid transparent;
}

.post-footer .read-more:hover {
    border-bottom-color: currentColor;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.pagination a:hover {
    color: #000;
}

/* Footer */
footer {
    border-top: 1px solid #e5e5e5;
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .post h2 {
        font-size: 1.3rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e5e5e5;
    }
    
    .nav-links a {
        color: #999;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        color: #fff;
    }

    .nav-links a.nav-tag {
        color: #aaa;
    }

    .nav-links a.nav-tag:hover {
        color: #fff;
    }
    
    .hero h1 {
        color: #fff;
    }
    
    .tagline {
        color: #999;
    }
    
    .post h2 a {
        color: #fff;
    }
    
    .post h2 a:hover {
        color: #ccc;
    }
    
    .post p {
        color: #ccc;
    }
    
    .read-more:hover {
        color: #fff;
    }
    
    .pagination a:hover {
        color: #fff;
    }
    
    .footer-links a:hover {
        color: #fff;
    }
    
    header,
    footer {
        border-color: #333;
    }
    
    .post {
        border-color: #333;
    }
} 