
:root {
    --primary: #0f172a;
    --accent: #0284c7;
    --accent-light: #38bdf8;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--text); background-color: var(--bg-light); }
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Header */
.navbar { background-color: #ffffff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 15px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-title { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.brand-title .accent { color: var(--accent); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: white; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 2.5rem; margin-bottom: 15px; color: #ffffff; }
.hero p { font-size: 1.15rem; color: #94a3b8; max-width: 700px; margin: 0 auto 25px auto; }
.btn { display: inline-block; background-color: var(--accent); color: white; padding: 10px 22px; border-radius: 6px; text-decoration: none; font-weight: 600; transition: background 0.2s; }
.btn:hover { background-color: #0369a1; }

/* Grid Layout */
.section-title { font-size: 1.8rem; margin: 40px 0 20px 0; color: var(--primary); text-align: center; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-bottom: 50px; }
.post-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); }
.post-card .category { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.post-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 10px; }
.post-card p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 15px; flex-grow: 1; }
.post-card .date { font-size: 0.85rem; color: #94a3b8; margin-bottom: 12px; }
.read-more { text-decoration: none; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* Single Article Styling */
.article-container { background: white; padding: 40px; border-radius: 8px; border: 1px solid var(--border); margin: 40px auto; max-width: 800px; }
.article-meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 25px; border-bottom: 1px solid var(--border); padding-bottom: 15px; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: #1e293b; }
.article-content h3 { margin: 25px 0 10px 0; color: var(--primary); }
.article-content ul, .article-content ol { margin: 15px 0 15px 25px; }

/* About Section */
.about-box { background: white; border: 1px solid var(--border); padding: 30px; border-radius: 8px; margin: 40px 0; }

/* Footer */
.footer { background-color: var(--primary); color: #94a3b8; padding: 40px 0 20px 0; margin-top: 60px; }
.footer-container { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer h3, .footer h4 { color: white; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer a { color: #94a3b8; text-decoration: none; }
.footer a:hover { color: white; }
.footer-bottom { text-align: center; border-top: 1px solid #334155; margin-top: 30px; padding-top: 20px; font-size: 0.85rem; }
