body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 1100px;
    margin: 20px auto;
    background: #ffffff;
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
h1 {
    color: #eeefef;
    margin: 0;
}
.btn-tambah, .btn-primary, .btn-back, .btn-edit, .btn-hapus {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 5px 0;
    text-align: center;
}
.btn-tambah {
    background-color: #28a745;
}
.btn-primary {
    background-color: #007bff;
}
.btn-back {
    background-color: #6c757d;
}
.btn-edit {
    background-color: #ffc107;
    color: #333;
}
.btn-hapus {
    background-color: #dc3545;
}
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.galeri-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 15px;
}
.galeri-item h3 {
    margin: 15px 10px 5px;
    color: #0056b3;
}
.galeri-item p {
    margin: 5px 10px;
    font-size: 0.9em;
    color: #666;
}
.galeri-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.galeri-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.form-container {
    max-width: 600px;
}
form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}
form input[type="text"], form textarea, form input[type="file"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.current-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ddd;
}
/* Tambahkan kode ini di bagian akhir file style.css */
.btn-logout {
    background-color: #f44336; /* Warna merah */
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 10px; /* Jarak antara tombol */
}
/* Footer Styling */
.main-footer {
    background-color: #3f5163;
    color: #fff;
    padding: 40px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    border-bottom: 2px solid #5d748c;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-column p, .footer-column li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d1d9e0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #d1d9e0;
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
    display: block;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 20px auto 0;
    font-size: 0.8rem;
    color: #d1d9e0;
}

.social-icons a {
    margin-left: 15px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
}
/* Hero Header Section */
.hero-header {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/background/bghome_1754673178.png') center center / cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.navbar .logo img {
    height: 40px;
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #ddd;
}

.hero-content {
    padding-top: 60px; /* Space for the fixed navbar */
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* Mengubah warna teks Login */
.form-container h2 {
    color: #333; /* Warna hitam atau abu-abu gelap */
}

/* Mengubah warna teks Username dan Password */
.form-container label {
    color: #333; /* Warna hitam atau abu-abu gelap */
}

/* Mengubah warna tautan Daftar di sini */
.form-container a {
    color: #0056b3; /* Biru yang lebih gelap untuk kontras */
}
/* Blog List Styling */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.blog-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.blog-item h2 {
    color: #0056b3;
    margin-top: 0;
}
.blog-item p {
    color: #555;
    line-height: 1.6;
}
.blog-item small {
    display: block;
    color: #999;
    margin-top: 10px;
}
.blog-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
/* Blog List Styling */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.blog-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.blog-item h2 {
    color: #0056b3;
    margin-top: 0;
}
.blog-item p {
    color: #555;
    line-height: 1.6;
}
.blog-item small {
    display: block;
    color: #999;
    margin-top: 10px;
}
.blog-thumbnail { /* Gaya untuk gambar blog */
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
}
.blog-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
/* Tambahkan di bagian akhir file style.css Anda */
.read-more {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #0056b3;
}
/* Modifikasi Gaya Blog List */
.blog-list {
    display: grid; /* Mengubah flex menjadi grid untuk kolom */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* Membuat kolom yang responsif */
    gap: 20px;
}

.blog-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex; /* Menggunakan flexbox untuk konten di dalamnya */
    flex-direction: column; /* Konten disusun dari atas ke bawah */
}

/* Wadah untuk gambar dan teks */
.blog-flex-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Memastikan elemen turun ke baris baru jika layarnya kecil */
}

/* Gaya Gambar Blog */
.blog-image-col {
    flex-basis: 30%; /* Gambar akan mengambil sekitar 30% dari lebar kolom */
    flex-grow: 0; /* Tidak akan tumbuh */
    flex-shrink: 0; /* Tidak akan menyusut */
}

.blog-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0; /* Hilangkan margin bawah dari kode sebelumnya */
}

/* Gaya Konten Teks */
.blog-content-col {
    flex-basis: 60%; /* Konten akan mengambil sisa ruang */
    flex-grow: 1; /* Konten bisa tumbuh mengisi ruang kosong */
}

/* Modifikasi tautan read-more */
.read-more {
    margin-bottom: 0;
}
/* Gaya untuk Menu Kategori */
.kategori-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.kategori-link {
    background-color: #f0f0f0;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.kategori-link:hover, .kategori-link.active {
    background-color: #007bff;
    color: #fff;
}
