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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}

/* Header and Navigation */
header {
    background-color: #fff;
    padding: 1rem 0;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #666;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }

p {
    margin-bottom: 1.5rem;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #004499;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #333;
}

/* Responsive Design */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        display: block;
        margin: 0.5rem 0;
    }

    main {
        padding: 1rem;
    }
}

/* Blog specific styles */
.blog-posts {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.post-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

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

.post-title a:hover {
    color: #007bff;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
} 