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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header and navigation */
header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav h1 {
    font-size: 1.5rem;
    margin-right: 20px;
}

nav h1 a {
    color: #333;
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: #0066cc;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

/* Main content */
main {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

/* Blog posts */
.post-preview {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

.post-preview h3,
.post-preview h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

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

.post-preview a:hover {
    color: #0066cc;
}

time {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Individual blog post */
.blog-post {
    margin-bottom: 40px;
}

.blog-post h2 {
    margin-bottom: 10px;
}

.blog-post time {
    margin-bottom: 30px;
}

.post-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Photo gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.photo-caption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.placeholder {
    color: #999;
    font-style: italic;
}

/* About page */
.about-content {
    max-width: 600px;
}

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

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav h1 {
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
