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

/* Base styles */
body {
    font-family: 'Lora', serif;
    line-height: 1.8;
    color: #2d1e1e; /* Rich dark brown */
    background-color: #f8f1e9; /* Creamy off-white */
    overflow-x: hidden;
}

/* Header styles */
header {
    background-color: #3c2f2f; /* Deep walnut brown */
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #d4a017; /* Subtle gold accent */
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

header p {
    font-size: 1.1rem;
    color: #e6d7c3; /* Warm cream */
    font-style: italic;
}

/* Main content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: #fff; /* Clean white for content area */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Blog posts section */
#blog-posts h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2d1e1e;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #d4a017; /* Subtle gold accent */
    padding-bottom: 0.5rem;
}

/* Post summary cards */
.post-summary {
    background-color: #fff;
    border: 1px solid #e6d7c3; /* Light cream border */
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2d1e1e;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.post-summary p {
    color: #4a3c31; /* Warm brown */
    margin-bottom: 1rem;
}

/* Individual blog post styles */
article {
    background-color: #fff;
    border: 1px solid #e6d7c3; /* Light cream border */
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2d1e1e;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

article p {
    color: #4a3c31; /* Warm brown */
    margin-bottom: 1rem;
}

/* Back to home link in blog posts */
header p a {
    color: #d4a017; /* Gold */
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

header p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer styles */
footer {
    background-color: #3c2f2f; /* Deep walnut brown */
    color: #e6d7c3; /* Warm cream */
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-top: 3px solid #d4a017; /* Subtle gold accent */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
        margin: 1rem;
    }

    #blog-posts h2 {
        font-size: 1.75rem;
    }

    .post-summary h3 {
        font-size: 1.25rem;
    }

    article h2 {
        font-size: 1.75rem;
    }
}