/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Main Background Setup */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* Overlay Gelap 70% dan Gambar */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/assets/pbl/assets/bg.jpg'); /* Pastikan path folder benar */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Kustomisasi Input saat Fokus */
input:focus, select:focus, textarea:focus {
    border-color: #4338ca !important; /* Warna Indigo-700 */
    box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.15) !important;
    transform: translateY(-1px);
}

/* Transisi Halus untuk Semua Elemen Interaktif */
input, select, textarea, button {
    transition: all 0.3s ease-in-out;
}

/* Header Premium Glassmorphism */
.header-glass {
    background: rgba(255, 255, 255, 0.05); /* Sangat transparan */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Animasi halus saat hover pada header */
.header-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

/* Mempercantik teks alamat */
.text-subtitle {
    letter-spacing: 1px;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Kustomisasi Scrollbar agar Elegan */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
    background: #4338ca;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3730a3;
}

/* Animasi Loading pada Tombol */
.btn-loading {
    opacity: 0.8;
    pointer-events: none;
    position: relative;
    padding-left: 2.5rem !important;
}

/* Responsive Font Adjustment */
@media (max-width: 640px) {
    header h1 {
        font-size: 1.1rem;
    }
    .main-card {
        margin: 10px;
    }
}

/* Pastikan group-focus-within bekerja untuk icon */
.group:focus-within i {
    color: #4f46e5;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* Membuat tampilan card lebih empuk */
main {
    transition: transform 0.3s ease;
}

main:hover {
    transform: translateY(-5px);
}

/* Efek animasi lembut pada ikon map */
.fa-map-marker-alt {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Mempertegas tampilan Digital Guest Book */
h2.tracking-tight {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

