/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

/* Header */
header {
    background: #001f3f; /* Biru Gelap */
    color: #ffffff;
    padding: 20px 0;
    border-bottom: 2px solid #003366;
}

header .logo {
    float: left;
    font-size: 24px;
    font-weight: bold;
}

header nav {
    float: right;
}

.main-menu {
    list-style: none;
}

.main-menu li {
    display: inline;
    margin-left: 20px;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.main-menu a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.2);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Styling Banner Slider (Baru) */
.banner {
    position: relative;
    width: 100%;
    height: 450px; /* Sesuaikan tinggi slider */
    overflow: hidden;
    background-color: #001f3f; /* Warna fallback jika gambar gagal dimuat */
}

.slider {
    width: 100%;
    height: 100%;
}

.slides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; /* Gambar menutupi seluruh area */
    background-position: center; /* Gambar rata tengah */
    background-repeat: no-repeat;
    transition: opacity 1s ease-in-out; /* Transisi halus saat ganti slide */
}

.slides.active {
    display: flex; /* Menggunakan Flexbox untuk memposisikan konten di tengah */
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeIn 1s;
}

/* Lapisan Gelap (Overlay) agar teks terbaca */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Hitam transparan (50%) */
    z-index: 1; /* Di belakang konten, di depan gambar */
}

/* Konten Teks di depan Gambar */
.slider-content {
    position: relative;
    z-index: 2; /* Di depan overlay */
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    max-width: 800px;
}

.slider-content h2 {
    font-size: 3rem; /* Ukuran Judul Besar */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Bayangan teks agar lebih jelas */
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Tombol opsional di slider */
.btn-slider {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ffffff;
    color: #001f3f;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-slider:hover {
    background-color: #00d4ff; /* Warna aksen saat hover */
    color: #ffffff;
}

/* Animasi FadeIn */
@keyframes fadeIn {
    from {opacity: 0.5;}
    to {opacity: 1;}
}
/* Layout Utama */
.main-layout {
    display: flex;
    margin-top: 30px;
    margin-bottom: 30px;
}

.content {
    flex: 70%;
    background: #fff;
    padding: 25px;
    margin-right: 20px;
    border-radius: 5px;
}

/* Styling Section Info Cek Nilai */
.info-section {
    margin-top: 30px;
    border: 1px solid #001f3f;
    border-radius: 5px;
    overflow: hidden;
}

.info-header {
    background-color: #001f3f; /* Biru Gelap sesuai permintaan */
    color: #ffffff;
    padding: 10px 15px;
}

.info-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.info-body {
    padding: 15px;
    background-color: #ffffff;
}

/* Styling Tabel */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.data-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Styling Tombol Aksi */
.btn-cek {
    display: inline-block;
    background-color: #001f3f;
    color: #ffffff;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-cek:hover {
    background-color: #ffffff;
    color: #001f3f;
    border: 1px solid #001f3f;
}

/* Responsif untuk Layar Kecil */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }
    .content, .sidebar {
        flex: 100%;
        margin-right: 0;
    }
}
.sidebar {
    flex: 30%;
}

/* Content Details */
.adsense-box {
    background: #e9ecef;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px dashed #bbb;
}

.featured-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
}

/* Sidebar Widgets */
.widget {
    background: #001f3f;
    color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.widget h3 {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.search-form input {
    width: 70%;
    padding: 8px;
    border: none;
    border-radius: 3px;
}

.search-form button {
    padding: 8px;
    background: #fff;
    color: #001f3f;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.labels {
    list-style: none;
}

.labels li {
    margin-bottom: 10px;
}

.labels a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.labels a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #00152b;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 20px;
}