/* ====================
    STYLE GLOBAL HEADER & FOOTER
   ====================*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.menu-toggle {
    display: none; /* Sembunyikan tombol menu secara default */
    background: #4A4A4A;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}
body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #4A4A4A;
    margin: 0;
    padding: 0;
    margin-top: 80px;
}
.container {
    width: 100%; /* Mengatur lebar konten */
    max-width: 1200px; /* Maksimum lebar */
    margin: 0 auto; /* Tengah secara horizontal */
    padding: 20px; /* Jarak dalam */
}
/* Bagian Header */
header {
    background-color: #4A4A4A;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px;
    height: 100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header img {
    max-width: 180px;
    height: auto;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background-color: #4A4A4A;
}
nav ul li {
    position: relative;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 15px;
    display: block;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    list-style: none;
    min-width: 180px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* BAGIAN DROPDOWN HEADER */
.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px;
    color: white;
    display: block;
    transition: background 0.3s ease-in-out;
}
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}
.dropdown-menu li a:hover {
    background-color: #555;
}
/* BAGIAN FOOTER PADA SETIAP TAMPILAN WEB */
footer {
    text-align: center;
    background-color: #4A4A4A;
    color: white;
    padding: 20px;
    margin-top: 20px;
}
/* MEMBUAT GARIS PEMBATAS */
.garis-pembatas {
    border: none;
    height: 3px;
    background-color: #4A4A4A;
    width: 100%;
    margin: 10px 0;
}
/* ====================
    INDEX.PHP
   ====================*/

 /* BAGIAN BANNER */
/* .banner-slideshow {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.banner-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
section {
    padding: 40px;
    margin: 20px auto;
    width: 80%;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
} */

.banner-slideshow {
    position: relative;
    width: 100%;
    height: 600px; /* Sesuaikan tinggi */
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Efek transisi halus */
}
/* Konten relatif di atas gambar */
.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
    padding: 20px;
}
/* Tampilkan gambar aktif */
.banner-container img.active {
    opacity: 1;
}

/* BAGIAN SAMBUTAN */
.sambutan-container {
    max-width: 1200px; /* Lebar maksimum konten */
    margin: 0 auto; /* Agar konten berada di tengah */
    padding: 20px; /* Tambahkan ruang di sekitar konten */
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px; /* Tambahkan jarak atas */
}
.isi-container{
    display: flex;
    flex-direction: column; 
    margin-top: 20px;   
}
.sambutan-container img {
    width: 200px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
}
.biodata-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-bottom: 20px;
}
/* BAGIAN BIODATA SEKOLAH */
.biodata-table th, 
.biodata-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.biodata-table th {
    background-color: #f4f4f4;
    width: 30%;
}

.deskripsi-biodata {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}
/* BAGIAN KEUNTUNGAN BERSEKOLAH DI SD NEGERI 2 PALU */
.keuntungan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 24px;
    color: #4A4A4A;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
}
/* BAGIAN VISI MISI */
.visi-misi-table-container {
    overflow-x: auto; /* Agar bisa di-scroll di layar kecil */
    padding: 20px;
}

.visi-misi-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.visi-misi-table thead {
    background: #4A4A4A; /* Warna merah tua */
    color: #ffffff;
    text-transform: uppercase;
}

.visi-misi-table th, .visi-misi-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.visi-misi-table th {
    font-weight: bold;
    text-align: center;
}

.visi-misi-table tbody tr:nth-child(odd) {
    background: #f9f9f9; /* Warna abu muda untuk baris ganjil */
}
/* BAGIAN GALLERY SEKILAS SEKOLAH */
#galeri .isi-container-galeri {
    display: flex;  
    margin-top: 20px;
    gap: 20px;       
    justify-content: center;
    padding: 10px;             
    overflow-x: auto;          
    width: 100%;              
    box-sizing: border-box;
}
/* Setiap item galeri */
.galeri-item {
    flex: 0 0 auto;             
    width: 300px;               
    text-align: center;        
    margin-bottom: 20px;
    border-radius: 10px;  
}
/* Gambar dalam galeri */
.galeri-item img {
    width: 100%;             
    height: auto;         
    border-radius: 8px;   
}
/* Judul dan deskripsi gambar */
.galeri-item h3, .galeri-item p {
    margin-top: 10px;          
    font-size: 14px;         
}
/* Bagian Detail Foto (sembunyikan secara default) */
.detail-foto {
    display: none;
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.detail-foto img {
    max-width: 100%;
    height: auto;
}
/* Menampilkan detail foto saat menuju ke section tersebut */
section:target .detail-foto {
    display: block;
}
/* Container untuk slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Atur sesuai dengan kebutuhan */
    margin: auto;
    overflow: hidden;
}
/* Kontainer galeri (slider) */
.galeri-slider {
    display: flex;
    transition: transform 0.5s ease;
}
/* Item galeri (gambar) */
.galeri-item {
    min-width: 100%;
    box-sizing: border-box;
}
/* Tombol navigasi kiri/kanan */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}
#prev-btn {
    left: 10px;
}
#next-btn {
    right: 10px;
}
.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



/* ====================
    INFORMASI (BERITA).PHP
   ====================*/
.kembali-btn {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

.kembali-btn:hover {
    background-color: #d75e4a;
}
.informasi-sekolah-container {
    margin: 120px auto 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.informasi-sekolah-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.informasi-berita {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.berita-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.berita-item h2 {
    color: #333;
    margin-bottom: 10px;
}

.berita-item .tanggal {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.berita-item .berita-gambar {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.berita-item .konten {
    font-size: 16px;
    line-height: 1.6;
}



/* ====================
    INFORMASI GTK.PHP
   ====================*/
.filter-container {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.filter-container label {
    font-size: 18px;
    margin-right: 10px;
    font-weight: bold;
}

.filter-container select {
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}
#soal-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
}

.ptk-table th {
    background-color: #f4f4f4;
    width: 30%;
}

.gtk-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.gtk-table th, .gtk-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.gtk-table th {
    background-color: #4A4A4A;
    color: white;
    text-transform: uppercase;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}



/* ====================
    GALLLERY.PHP
   ====================*/

.gallery-container {
    text-align: center;
    padding: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 15px;
    text-align: center;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.btn-detail {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #4A4A4A;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.btn-detail:hover {
    background: #aaaaaa;
}


.gallery-container {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
}

.gallery-slider-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    margin: 10px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gallery-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.gallery-item p {
    font-size: 14px;
    color: #555;
}
.category-slider {
    margin-bottom: 40px;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.slider {
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.slide {
    display: none;
    flex: 0 0 100%;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.slide img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    border-radius: 5px;
}
.gallery-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* ====================
    DETAIL_GALLERY.PHP
   ====================*/
/* Style untuk detail galeri */
.detail-container {
    text-align: center;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

/* Gaya gambar di slideshow */
.slide {
    display: none;
}

.slide img {
    width: 100%;
    max-height: 450px;
    object-fit: cover; /* Menyesuaikan gambar agar pas */
    border-radius: 10px;
}

/* Navigasi tombol Next & Prev */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Gaya untuk teks deskripsi */
h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/* Responsif */
@media screen and (max-width: 768px) {
    .detail-container {
        max-width: 90%;
        padding: 15px;
    }

    .slide img {
        max-height: 300px;
    }
}





/* ====================
    PROFILE SEKOLAH.PHP
   ====================*/
.ptk-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-bottom: 20px;
}
/* BAGIAN BIODATA SEKOLAH */
.ptk-table th, 
.ptk-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.ptk-table th {
    background-color: #f4f4f4;
    width: 30%;
}


/* ====================
    PROFILE GURU.PHP
   ====================*/
.profile-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.pengajar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pengajar-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.pengajar-card:hover {
    transform: scale(1.05);
}

.pengajar-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.pengajar-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.pengajar-card p {
    font-size: 16px;
    color: #666;
}

.pengajar-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.pengajar-card a:hover {
    background: #0056b3;
}



/* ====================
    KONTAK.PHP
   ====================*/
/* Bagian Kontak */
#kontak {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

/* Kontainer utama */
.kontak-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

/* Kolom Informasi Kontak */
.kontak-info {
    flex: 1;
    max-width: 35%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.kontak-info p {
    margin-bottom: 15px;
}

/* Formulir Kirim Pesan */
#form-pesan {
    flex: 1;
    max-width: 45%;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Formulir */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: grey;
    box-shadow: 0px 0px 5px rgba(255, 0, 0, 0.3);
}

/* Tombol Kirim */
.form-container button {
    padding: 12px;
    background-color: grey;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
}

.form-container button:hover {
    background-color: darkgray;
    transform: scale(1.05);
}

/* Map */
.kontak-map {
    flex: 1;
    max-width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kontak-map iframe {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    border: none;
}
.kontak-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 20px;
}

.kontak-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}




/* ====================
    LOGIN.PHP
   ====================*/
/* Form Login */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #4A4A4A;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.login-container label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #4A4A4A;
}

.login-container input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
}

.login-container button {
    padding: 12px;
    background-color: #4A4A4A;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #333;
}



/* ====================
    DASHBOARD ADMIN.PHP
   ====================*/
/* Konten Dashboard */
.dashboard-content {
    margin-top: 120px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: auto;
}

.dashboard-content h1 {
    text-align: center;
    font-size: 28px;
    color: #4A4A4A;
    margin-bottom: 20px;
}

/* Menu Admin */
.dashboard-menu {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.menu-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.menu-item a {
    text-decoration: none;
    color: #4A4A4A;
}

.menu-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.menu-item p {
    font-size: 14px;
    color: #777;
}




/* ====================
    EDIT_HOME.PHP
   ====================*/
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.input-group img {
    display: block;
    margin-top: 10px;
    border-radius: 5px;
    max-width: 100%;
}

.save-btn {
    width: 100%;
    background-color: #4A4A4A;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.save-btn:hover {
    background-color: #333;
}

.back-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background-color: #ccc;
    color: black;
    border-radius: 5px;
    text-decoration: none;
}

.back-btn:hover {
    background-color: #999;
}
button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button.update {
    background: #5bc0de;
    color: white;
}

button.delete {
    background: #d9534f;
    color: white;
}

button.add {
    background: #5cb85c;
    color: white;
}

button:hover {
    opacity: 0.8;
}
.card-edit-visi-misi {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
}



/* ====================
    EDIT_PROFILE_GURU.PHP
   ====================*/
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Konten Modal */
.modal-content {
    background: white;
    padding: 20px;
    width: 400px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.3);
}

/* Tombol Close */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* Form */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* Efek focus */
.input-group input:focus,
.input-group select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
}

/* Preview Foto */
.input-group img {
    display: block;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Tombol Simpan */
.save-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-size: 14px;
}

.save-btn:hover {
    background: #218838;
}



/* ====================
    TAMBAH_GAMBAR.PHP
   ====================*/
.foto-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.remove-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
}

.remove-btn:hover {
    background-color: darkred;
}

.add-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    margin-top: 10px;
}

.add-btn:hover {
    background-color: #0056b3;
}



/* ====================
    ADMIN_PESAN.PHP
   ====================*/
.pesan-admin-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 20px;
}

.pesan-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.pesan-card h3 {
    margin-bottom: 5px;
}

.pesan-card p {
    margin: 5px 0;
    color: #555;
}

.pesan-card small {
    display: block;
    margin-top: 10px;
    color: gray;
}

/* Filter */
.filter-container {
    margin: 20px;
    text-align: center;
}

.filter-container input, .filter-container button {
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.filter-container button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.filter-container button:hover {
    background-color: #45a049;
}

/* Jika tidak ada data */
.no-data {
    text-align: center;
    color: gray;
}



/* ====================
    DETAIL_GALLERY.PHP
   ====================*/

   /* Gaya untuk tombol Tambah Gambar Baru */
.add-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Warna biru */
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Efek hover untuk tombol */
.add-btn:hover {
   background-color: #0056b3; /* Biru yang lebih gelap */
}


.responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.update-btn {
    background-color: #ffc107;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    margin-right: 5px;
    cursor: pointer;
}
    
.delete-btn {
    background-color: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
    
.update-btn:hover {
    background-color: #e0a800;
}
    
.delete-btn:hover {
    background-color: #c82333;
}
.btn-upload {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}
    
.btn-update {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}



/* ====================
    UNTUK RESPONSIVE DESIGN
   ====================*/
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Munculkan tombol burger menu */
    }

    nav ul {
        display: none; /* Sembunyikan menu saat layar kecil */
        flex-direction: column;
        width: 100%;
        background-color: #4A4A4A;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav ul.active {
        display: flex; /* Munculkan menu saat tombol ditekan */
    }
    header {
        flex-direction: column;
        text-align: center;
    }
    .sambutan-container {
        flex-direction: column;
        text-align: center;
    }
    .kontak-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .login-container {
        width: 90%;
        margin-top: 100px; /* Agar form tidak tertutup header */
    }

    .kontak-info,
    #form-pesan,
    .kontak-map {
        max-width: 100%;
    }

    .kontak-map iframe {
        height: 250px;
    }
}