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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    /* Membuat body menjadi flex container agar footer bisa ditekan ke bawah */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADER --- */
.site-header {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem; /* Jarak antar menu */
}

.main-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3498db; /* Warna saat cursor diarahkan ke menu */
}

/* --- MAIN CONTENT --- */
.content {
    /* flex: 1 akan membuat area ini otomatis membesar dan mengisi ruang kosong, 
       sehingga menekan footer ke bawah */
    flex: 1; 
    padding: 3rem 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.content h1 {
    color: #333;
    margin-bottom: 1rem;
}

.content p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #1a252f;
    color: #bdc3c7;
    padding: 2rem 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}