/* --- RESET & VARIABEL --- */
:root {
    --primary-color: #0056b3;
    --secondary-color: #007bff;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

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

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6;
    color: var(--text-color);
    /* BACKGROUND TIDAK POLOS: Menggunakan gradasi lembut */
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    background-attachment: fixed;
}

/* --- NAVBAR WITH LOGO --- */
nav { 
    background-color: var(--white); 
    padding: 15px 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* AREA LOGO */
nav .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav .logo img {
    height: 40px; /* Atur tinggi logo */
    width: auto;
}

nav .logo span {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav .menu-links a { 
    color: #555; 
    margin-left: 20px; 
    text-decoration: none; 
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .menu-links a:hover, nav .menu-links a.active { 
    color: var(--secondary-color); 
}

/* --- HERO / HEADER --- */
header { 
    background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(0, 40, 90, 0.9)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover; 
    color: var(--white); 
    padding: 80px 20px; 
    text-align: center; 
}

header h1 { font-size: 2.5rem; margin-bottom: 10px; }
header p { font-size: 1.2rem; opacity: 0.9; }

/* --- LAYOUT UTAMA --- */
section { 
    padding: 40px 20px; 
    max-width: 1000px; 
    margin: 30px auto; 
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 5px;
    display: inline-block;
}

section p { margin-bottom: 20px; }

/* --- GRID GAMBAR & KARTU --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
}

.card h3 { color: var(--dark-color); margin-bottom: 10px; }

/* KONTEN DENGAN GAMBAR DI SAMPINGNYA */
.content-with-img {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .content-with-img { flex-direction: row; align-items: center; }
    .content-with-img .text { flex: 1; }
    .content-with-img .image-box { flex: 1; }
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- FORMULIR --- */
form { display: flex; flex-direction: column; max-width: 500px; margin-top: 20px; }
input, textarea { 
    margin-bottom: 15px; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 6px;
    font-family: inherit;
}
input:focus, textarea:focus { border-color: var(--secondary-color); outline: none; }
button { 
    padding: 12px; 
    background-color: var(--secondary-color); 
    color: var(--white); 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold;
    transition: background 0.3s;
}
button:hover { background-color: var(--primary-color); }

/* --- FOOTER --- */
footer { 
    background-color: var(--dark-color); 
    color: rgba(255,255,255,0.7); 
    text-align: center; 
    padding: 20px; 
    margin-top: 50px;
}