/* Reset & Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

/* Navigasi */
header {
    background: #2c3e50;
    padding: 1rem 0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Section Utama */
.container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: white;
    margin-bottom: 30px;
}

/* Galeri Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }

.card img { width: 100%; height: 200px; object-fit: cover; }

.caption { padding: 15px; text-align: center; font-weight: bold; }

/* List Tugas */
.task-list { list-style: none; margin-top: 20px; }

.task-item {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 5px solid #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

.Selesai { background: #27ae60; }
.Sedang-Dikerjakan { background: #f39c12; }
.Baru { background: #2980b9; }

footer { text-align: center; padding: 40px; color: #7f8c8d; }