* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    color: #5a4e3d;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #5a4e3d;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #b98b5f;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f5e6d3 0%, #f0d9c0 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    color: #3e2f1f;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #5a4e3d;
    max-width: 700px;
    margin: 0 auto;
}

/* Posts */
.posts {
    padding: 4rem 0;
}

.posts h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #3e2f1f;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.4rem;
    color: #3e2f1f;
    margin-bottom: 0.5rem;
}

.date {
    font-size: 0.9rem;
    color: #b98b5f;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content p {
    color: #666;
    margin-bottom: 1.2rem;
}

.read-more {
    display: inline-block;
    text-decoration: none;
    color: #b98b5f;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #8b6b47;
}

/* Footer */
.footer {
    background-color: #3e2f1f;
    color: #f0d9c0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer a {
    color: #f5e6d3;
    text-decoration: underline;
}

.footer a:hover {
    color: #fff;
}

/* Post page styles */
.post {
    padding: 3rem 0;
    background-color: #fff;
}

.post-title {
    font-size: 2.5rem;
    color: #3e2f1f;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.post-meta {
    color: #b98b5f;
    margin-bottom: 2rem;
    font-style: italic;
}

.post-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

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

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0d6cc;
}

.post-navigation a {
    text-decoration: none;
    color: #b98b5f;
    font-weight: 600;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}