:root {
    --color-bg: #121411;
    --color-surface: rgba(30, 36, 28, 0.6);
    --color-surface-hover: rgba(45, 54, 42, 0.8);
    --color-primary: #8AB88A;
    --color-text: #EAECE7;
    --color-text-muted: #A3A8A0;
    --color-accent: #D4A373;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-reading: 'Merriweather', serif; /* Good for reading */
    
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html { scroll-behavior: smooth; background-color: var(--color-bg); }
body { font-family: var(--font-body); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; }

/* Navbar */
.navbar { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-content { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.logo { font-size: 1.5rem; color: var(--color-primary); text-decoration: none; font-weight: 700; font-family: var(--font-heading); }
.nav-links a { color: var(--color-text); text-decoration: none; margin-left: 2rem; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--color-primary); }

/* Hero */
.blog-hero { position: relative; height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.blog-hero img { position: absolute; width: 100%; height: 120%; object-fit: cover; z-index: 1; top: 0; left: 0; }
.blog-hero .hero-overlay { position: absolute; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(18,20,17,0.5), var(--color-bg)); z-index: 2; top: 0; left: 0; }
.hero-content { position: relative; z-index: 3; }
.hero-title { font-size: 3.5rem; color: #fff; margin-bottom: 0.5rem; }
.hero-subtitle { color: var(--color-primary); font-size: 1.2rem; }

/* Feed Section */
.feed-section { padding: 4rem 0 8rem; }
.feed-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.post-card { display: flex; flex-direction: column; background: var(--color-surface); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; overflow: hidden; text-decoration: none; transition: var(--transition); }
@media(min-width: 768px) { .post-card { flex-direction: row; height: 250px; } }
.post-card:hover { transform: translateY(-5px); background: var(--color-surface-hover); border-color: rgba(255,255,255,0.1); }

.post-thumb { width: 100%; height: 200px; overflow: hidden; }
@media(min-width: 768px) { .post-thumb { width: 40%; height: 100%; } }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }

.post-info { padding: 2rem; display: flex; flex-direction: column; justify-content: center; width: 100%; }
@media(min-width: 768px) { .post-info { width: 60%; } }
.post-meta { font-size: 0.85rem; color: var(--color-accent); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.post-title { font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.post-excerpt { color: var(--color-text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.read-more { color: var(--color-primary); font-weight: 600; font-family: var(--font-heading); }

/* Reading View (Post Page) */
.article-header { text-align: center; padding: 4rem 0 2rem; max-width: 800px; margin: 0 auto; }
.article-meta { color: var(--color-accent); margin-bottom: 1rem; font-size: 0.9rem; }
.article-title { font-size: 3.5rem; color: #fff; margin-bottom: 2rem; line-height: 1.2; }
.article-hero { width: 100%; max-height: 60vh; object-fit: cover; border-radius: 16px; margin-bottom: 3rem; }

.article-content { max-width: 740px; margin: 0 auto; padding-bottom: 6rem; font-family: var(--font-body); font-size: 1.15rem; line-height: 1.8; color: #d1d6cc; }
.article-content p { margin-bottom: 1.5rem; }
.article-content h2 { color: #fff; margin: 3rem 0 1rem; font-size: 2rem; }
.article-content img { width: 100%; border-radius: 12px; margin: 2rem 0; }
.article-content blockquote { border-left: 4px solid var(--color-primary); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: #fff; font-size: 1.3rem; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 0; text-align: center; background: #0d0e0c; }
.footer p { color: var(--color-text-muted); font-size: 0.9rem; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
