/* General Body Styling */
        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
        }

        /* Main Content for Spacing */
        .content {
            flex: 1;
        }

        /* Footer Styling */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 40px 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-left {
        align-items: flex-start;
        text-align: left;
    }
}

/* Pastikan .footer-right sudah memiliki display: flex */
.footer-right {
    flex: 1;
    min-height: 300px;
    /* Tambahkan ini untuk mengaktifkan Flexbox */
    display: flex;
    justify-content: center; /* Menempatkan konten di tengah secara horizontal */
    align-items: center; /* Menempatkan konten di tengah secara vertikal */
}

/* Berikan lebar 70% pada pembungkus peta */
.map-container {
    width: 70%; 
    height: 100%;
}

/* #map akan mengisi 100% dari .map-container */
#map {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


/* Logo and Text */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #3498db;
}

.logo-text h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #ecf0f1;
}

.logo-text p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Social Icons */
.social-icons a {
    color: #ecf0f1;
    font-size: 24px;
    margin: 0 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #3498db;
    transform: scale(1.2);
}

/* Links and Copyright */
.footer-links {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Judul Halaman */
h1.display-4, .display-5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #4b0082; /* Warna ungu gelap yang elegan */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
}

/* Tombol */
.btn-primary {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradien ungu-biru */
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1); /* Sedikit lebih cerah saat di-hover */
}

/* Desain Kartu Galeri (Album) */
.card-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-link:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.card-link .card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-link .card-body {
    padding: 1.5rem;
    background: linear-gradient(135deg, #fceabb, #f8b500); /* Gradien kuning-oranye yang hangat */
    color: #444;
}

.card-link .card-title {
    font-weight: 700;
    color: #c97f00; /* Warna coklat tua untuk teks yang jelas */
    letter-spacing: 0.5px;
}

/* Untuk gambar di kartu album (index.php) */
.card-img-custom {
    height: 250px; /* Atur tinggi gambar agar konsisten */
    object-fit: cover; /* Ini yang membuat gambar selalu mengisi area */
    width: 100%; /* Pastikan gambar mengisi lebar penuh kartu */
    border-radius: 15px 15px 0 0; /* Sudut atas membulat */
}

/* Desain Kartu Foto (dalam galeri.php) */
.galeri-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
}

.galeri-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Untuk gambar di kartu foto (galeri.php) */
.galeri-img-custom {
    height: 250px; /* Atur tinggi gambar agar konsisten */
    object-fit: cover; /* Ini yang membuat gambar selalu mengisi area */
    width: 100%; /* Pastikan gambar mengisi lebar penuh kartu */
    cursor: pointer;
    border-radius: 15px 15px 0 0; /* Sudut atas membulat */
}

.galeri-card .card-body {
    background: linear-gradient(45deg, #e0c3fc, #8ec5fc); /* Gradien ungu-biru muda */
}

.galeri-card .card-title {
    color: #4b0082;
}

/* Modal */
.modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #f0f4f8;
    border-bottom: none;
}

/* Animasi */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.row.g-4 .col {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.row.g-4 .col:nth-child(1) { animation-delay: 0.1s; }
.row.g-4 .col:nth-child(2) { animation-delay: 0.2s; }
.row.g-4 .col:nth-child(3) { animation-delay: 0.3s; }
.row.g-4 .col:nth-child(4) { animation-delay: 0.4s; }
.row.g-4 .col:nth-child(5) { animation-delay: 0.5s; }
/* Tambahkan lebih banyak baris jika Anda memiliki lebih banyak kartu */


/* CSS untuk tampilan counter modern */

.visitor-counter-card {
    /* Gaya Container Utama */
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Shadow lembut */
    max-width: 350px; /* Batasan lebar agar terlihat seperti widget */
    transition: transform 0.3s ease;
}

.visitor-counter-card:hover {
    transform: translateY(-2px); /* Efek hover kecil */
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.card-header .title {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin-left: 10px;
}

.icon-users {
    color: #007bff; /* Warna ikon biru */
}

.data-row {
    display: flex;
    justify-content: space-between; /* Memisahkan label dan value */
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #f5f5f5;
}

.data-row:last-child {
    border-bottom: none;
}

.label {
    font-size: 0.9em;
    color: #6c757d;
    font-weight: 500;
}

.value {
    font-size: 1em;
    color: #343a40;
    font-weight: 700;
}

.data-row.total {
    margin-bottom: 15px;
    padding: 10px 0;
    background-color: #e9f7fe;
    border-radius: 6px;
    padding: 10px;
    border-bottom: none;
}

.data-row.total .label {
    color: #007bff;
    font-size: 1em;
}

.data-row.total .value.highlight {
    font-size: 1.5em;
    color: #28a745; /* Angka total diberi warna hijau */
}