/* style.css - Template Umum Artikel SEO */
/* Dibuat agar mudah digunakan dan sesuai dengan tujuan SEO */

/* --- Pengaturan Dasar & Latar Belakang --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* Warna fallback jika gambar gagal dimuat */
    background-image: url('img/BACKGROUND.webp'); /* Pastikan ada gambar 'background.jpg' di folder yang sama */
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
}

/* --- Container Utama untuk Konten --- */
.container {
    max-width: 800px;
    margin: 20px auto 100px auto; /* Margin bawah lebih besar agar tidak tertutup footer */
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* --- Header dengan Logo --- */
.header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 20px;
}

.header .logo {
    max-width: 250px; /* Atur ukuran logo di sini */
    height: auto;
}

/* --- Konten Artikel --- */
article h1, article h2, article h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #c0392b; /* Warna merah gelap untuk judul */
}

article h1 {
    font-size: 2.2em;
    line-height: 1.2;
}

article h2 {
    font-size: 1.8em;
}

article h3 {
    font-size: 1.4em;
}

article p {
    margin-bottom: 15px;
}

article a {
    color: #2980b9; /* Warna biru untuk link di dalam teks */
    text-decoration: none;
    font-weight: bold;
}

article a:hover {
    text-decoration: underline;
}

article ul {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

/* --- Tombol Call-to-Action (CTA) --- */
.cta-button {
    display: block; /* Membuat tombol memenuhi lebar container */
    width: 100%;
    padding: 15px;
    margin: 30px 0;
    background: linear-gradient(180deg, #c0392b 0%, #8e2419 100%); /* Gradien merah */
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* --- Footer Navigasi Bawah --- */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #4a0e0e, #1c1c3c); /* Gradien merah ke biru gelap */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.footer-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 10px 0;
}

.footer-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
}

.footer-nav li a:hover {
    color: #ffd700; /* Warna emas saat hover */
}

/* --- Responsif untuk HP --- */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    article h1 {
        font-size: 1.8em;
    }

    article h2 {
        font-size: 1.5em;
    }

    .cta-button {
        font-size: 1.2em;
    }
}