/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --text-color: #333;
    --background-color: #FAF9F7;
    --card-background: #FFFFFF;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--background-color);
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    text-align: left;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1.2rem;
    text-align: left;
}

p, ul, ol {
    margin-bottom: 1.5rem;
    text-align: left;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #6b3410;
}

.centered {
    text-align: center;
}

/* Navigation */
header {
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    padding-bottom: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 2rem;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

nav ul li a:hover {
    background-color: rgba(139, 69, 19, 0.1);
}

nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Main Content */
main {
    min-height: 60vh;
}

/* Bio and Social Links */
.bio, .blog-intro {
    margin-bottom: 4rem;
}

.bio-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.2s;
}

.social-links a:hover {
    transform: translateY(-2px);
}

/* Blog Columns Layout */
.blogs-container {
    margin-bottom: 3rem;
    text-align: left;
}

.blogs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-column {
    display: flex;
    flex-direction: column;
}

.blog-description {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-column h3 {
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.blog-column h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.view-all {
    margin-top: 1rem;
    align-self: flex-start;
    font-weight: 500;
}

/* Blog Posts */
.post-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--card-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.post-card:hover {
    transform: translateY(-2px);
}

.post-card.featured {
    background-color: var(--card-background);
    border-left: 4px solid var(--primary-color);
}

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

.read-more {
    display: inline-block;
    margin-top: 0.8rem;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
}
