/* style.css */
:root {
    --primary: #2c3e50; /* Navy Blue - Kesan Cerdas */
    --accent: #e67e22;  /* Orange - Kreativitas */
    --bg: #fdfdfd;
    --text: #333;
    --light-gray: #f4f4f4;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 20px; }
nav a { text-decoration: none; color: var(--primary); font-weight: 500; }
nav a:hover { color: var(--accent); }

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--light-gray);
    margin-bottom: 2rem;
    border-radius: 8px;
}

.grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.card-img {
    width: 100%;
    height: 180px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.card-content { padding: 1.5rem; }
.tag { background: var(--light-gray); padding: 4px 8px; font-size: 0.8rem; border-radius: 4px; color: var(--primary); }
.card h2 { font-size: 1.2rem; margin: 10px 0; }
.read-more { display: inline-block; margin-top: 10px; color: var(--accent); text-decoration: none; font-weight: bold; }

footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
}