/* RESET & VARS */
:root {
    --bg-color: #FAFAF9; /* Warm paper white */
    --text-color: #292524; /* Soft black */
    --accent-color: #9F1239; /* Deep Rose */
    --muted-color: #78716C;
    --card-bg: #FFFFFF;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Merriweather', serif;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Keeps footer at bottom */
}

h1, h2, h3, h4, .nav-links, .category-tag, .read-more {
    font-family: 'Work Sans', sans-serif; margin-top: 15px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR */
.navbar {
    background: var(--bg-color);
    padding: 20px 0;
    border-bottom: 1px solid #E7E5E4;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-links a:hover, .footer-links a:hover { color: var(--accent-color); }

.active { color: var(--accent-color); }

/* HERO */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid #E7E5E4;
    background-color: #fff;
}

.category-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero p {
    color: var(--muted-color);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* GRID LAYOUT */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* CARDS */
.card {
    background: var(--card-bg);
    border: 1px solid #E7E5E4;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.card-content { padding: 25px; }

.date {
    display: block;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.75rem;
    color: var(--muted-color);
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card p {
    font-size: 0.95rem;
    color: var(--muted-color);
    margin-bottom: 20px;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* ABOUT SECTION */
.about-section {
    margin-top: 80px;
    margin-bottom: 40px;
    background: #E7E5E4;
    padding: 40px;
    border-radius: 8px;
}

/* FOOTER - UPDATED */
footer {
    margin-top: auto; /* Pushes footer to bottom */
    padding: 40px 0;
    background: #1C1917;
    color: #A8A29E;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.85rem;
    border-top: 1px solid #292524;
}

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

.footer-links {
    font-weight: 600;
    color: #E7E5E4;
}

.separator { margin: 0 10px; color: #57534E; }

.small-text { font-size: 0.8rem; color: #57534E; }

/* MOBILE */
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .nav-flex { justify-content: center; }
    .footer-flex { flex-direction: column; text-align: center; }
}