/* Koda Static Site Generator - Minimal CSS */

/* 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.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Layout */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.site-header {
    margin-bottom: 3rem;
}

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

.home-link {
    font-weight: 600;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

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

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

/* Welcome section */
.welcome-section {
    margin-bottom: 3rem;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
}

/* Quick links */
.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}

.quick-links li {
    margin: 0.5em 0;
    padding: 0.3em 0;
}

.status-link {
    margin-top: 1rem;
}

.status-link a {
    color: #666;
    text-decoration: none;
}

.status-link a:hover {
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #333;
    transition: color 0.2s ease;
}

a:hover {
    color: #666;
}

/* Post previews */
.post-preview {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

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

.post-preview h2,
.post-preview h3 {
    margin-bottom: 0.5rem;
}

.post-preview h2 a,
.post-preview h3 a {
    text-decoration: none;
    color: #333;
}

.post-preview h2 a:hover,
.post-preview h3 a:hover {
    color: #666;
}

.post-date {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.post-excerpt {
    color: #555;
    margin-top: 0.5rem;
}

/* Individual post */
.post-header {
    margin-bottom: 2rem;
}

.post-content {
    line-height: 1.7;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.post-content ul, .post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.post-content code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "SF Mono", Monaco, Consolas, monospace;
    font-size: 0.9rem;
}

.post-content pre {
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Post navigation */
.post-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
}

.post-nav a:hover {
    color: #333;
}

/* Photos */
.photo-grid {
    display: grid;
    gap: 2rem;
}

.photo-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.photo-item h3 {
    margin-bottom: 0.5rem;
}

.photo-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.photo-content {
    color: #555;
}

/* Status posts */
.status-description {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.status-post {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

.status-date {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 0.5rem;
}

.status-content {
    color: #444;
}

/* View all link */
.view-all {
    margin-top: 2rem;
    text-align: center;
}

.view-all a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
}

.view-all a:hover {
    color: #333;
}

/* Footer */
.site-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.site-footer a {
    color: #666;
    text-decoration: none;
}

.site-footer a:hover {
    color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .site-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .welcome-text {
        font-size: 1rem;
    }
}
