/* ... (Previous variables remain the same) ... */
:root {
    --bg-body: #121212;
    --bg-card: #1E1E1E;
    --bg-header: rgba(18, 18, 18, 0.95);
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --accent: #BB86FC;
    --font-main: 'Inter', sans-serif;
    --spacing-container: 1200px;
    --header-height: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--bg-body); color: var(--text-main); font-family: var(--font-main); line-height: 1.6; }
img { max-width: 100%; display: block; border-radius: 8px; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }

/* Layout & Header (Same as before) */
.container { max-width: var(--spacing-container); margin: 0 auto; padding: 0 20px; }
header { background: var(--bg-header); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px); height: var(--header-height); display: flex; align-items: center; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-weight: 700; font-size: 1.5rem; color: var(--accent); letter-spacing: -0.5px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--text-muted); font-size: 0.95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

/* --- UPDATED: Image-Rich Hero --- */
.hero {
    min-height: 85vh; /* Taller hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Fallback background */
    background-color: #2a1a35;
    background-size: cover;
    background-position: center;
}

/* Dark overlay so text pops over the image */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, var(--bg-body) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Puts text above the image overlay */
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 20px;
}

/* --- NEW: Split Section (Image Left, Text Right) --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 100px 0;
}
.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 20px 20px 0px rgba(255,255,255,0.05); /* Stylish offset border */
}

/* --- NEW: Blog Banner --- */
.post-banner-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
}
.post-banner-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grids & Cards (Same as before) */
.section-title { font-size: 2rem; margin-bottom: 40px; border-left: 4px solid var(--accent); padding-left: 15px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 60px 0; }
.card { background: var(--bg-card); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid rgba(255,255,255,0.05); }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card-img-wrapper { height: 250px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img-wrapper img { transform: scale(1.05); }
.card-content { padding: 25px; }
.card-meta { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.card-title { font-size: 1.4rem; margin-bottom: 10px; color: var(--text-main); }
.card-excerpt { color: var(--text-muted); font-size: 0.95rem; }

/* Footer & Animations */
footer { border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; text-align: center; color: var(--text-muted); margin-top: 60px; }
.fade-up { opacity: 0; animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .split-section { grid-template-columns: 1fr; gap: 30px; }
    .nav-container { flex-direction: column; gap: 15px; }
}