* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceSlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeIn 0.8s ease-out;
}



.animate-scale-in {
    animation: scaleIn 0.3s ease-out;
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

body {
    overflow-x: hidden;
}

.hero-beranda::before {
    content: '';
    position: absolute;
    inset: 0; /* (top: 0; right: 0; bottom: 0; left: 0;) */

    /* PERBAIKAN: Path gambar sudah diubah menggunakan ../ 
      untuk keluar dari folder 'css' terlebih dahulu.
    */
    background-image: url('../images/background/penosis19.jpeg');
    background-size: cover;
    background-position: center;

    /* Efek blur (4px setara dengan 'blur-sm' Tailwind)
      Anda bisa ganti ke blur(2px) untuk lebih ringan atau blur(8px) untuk lebih kuat.
    */
    filter: blur(4px);

    /* Memastikan background ada di lapisan paling belakang */
    z-index: -1;
}

/* Ini adalah style untuk panel "kaca" 
*/
.panel-kaca {
    background-color: transparent; /* Atau rgba(0,0,0,0); */

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 1rem;

    /* Opsional: Anda mungkin ingin mempertahankan border atau mengubahnya */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Border sangat tipis */

    padding: 2rem;
}

/* Ini untuk padding di layar medium/desktop
  (md:p-12) 
*/
@media (min-width: 768px) {
    .panel-kaca {
        padding: 3rem; /* 48px */
    }
}

.profile-card:hover {
    transform: translateY(-10px);
}

.modal-backdrop {
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
}

.card-hover-effect {
    transition: all 0.3s ease;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}



/* ▼▼▼ GANTI DENGAN BLOK CSS BARU INI ▼▼▼ */

/* Container (hampir tidak berubah) */
.bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: -1; 
    overflow: hidden; /* Tambahan untuk keamanan */
}

/* Style untuk setiap slide individu
*/
.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px); 
    
    /* 1. Mulai dengan tersembunyi (opacity 0) */
    opacity: 0; 

    /* 2. Ini adalah kuncinya: 
       Transisi halus selama 2 detik untuk properti 'opacity'.
       Ini akan menciptakan 'crossfade' yang Anda inginkan.
    */
    transition: opacity 2s ease-in-out; 
}

/* 3. Class 'active' baru
   JavaScript akan menambahkan class ini untuk membuat gambar
   muncul (fade in).
*/
.bg-slide.bg-slide-active {
    opacity: 1;
}



