:root {
    /* Color Palette - Nature Inspired */
    --primary: oklch(45% 0.12 150); /* Deep Forest Green */
    --primary-light: oklch(65% 0.1 150); /* Soft Sage */
    --accent: oklch(75% 0.15 85); /* Warm Earth/Terracotta hint */
    --accent-subtle: oklch(95% 0.02 150); /* Very Light Mint */
    
    --text-main: oklch(25% 0.02 150);
    --text-muted: oklch(50% 0.02 150);
    --bg-main: oklch(99% 0.01 150);
    --bg-white: #ffffff;
    
    /* Spacing & Sizing */
    --container-max: 1100px;
    --section-padding: 4rem 1.5rem;
    --radius: 12px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-lift: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Instrument Serif', serif;
    line-height: 1.1;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid oklch(90% 0.01 150);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--accent-subtle), var(--bg-main));
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: oklch(40% 0.12 150);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--accent-subtle);
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--accent-subtle);
    padding-bottom: 0.5rem;
    display: inline-block;
}

/* Post Cards */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.post-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.post-image-placeholder {
    height: 100%;
    min-height: 180px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.post-image-placeholder svg {
    width: 48px;
    height: 48px;
}

.post-content .category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.post-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 1rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.sidebar-widget p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.category-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px solid oklch(95% 0.01 150);
    padding-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.category-list a span {
    color: var(--text-muted);
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid oklch(90% 0.01 150);
    margin-bottom: 1rem;
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--bg-white);
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid oklch(90% 0.01 150);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In real app, build a mobile menu */
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .post-card {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
