/* Menggunakan font Poppins untuk seluruh website */
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa; /* Warna latar belakang sedikit abu-abu */
}

main {
    flex: 1;
}

.navbar-brand strong {
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 400;
}

.nav-link.active {
    font-weight: 600;
}

/* Bagian Hero/Jumbotron */
.hero-section {
    /* Properti dasar untuk gambar latar */
    background-size: cover; /* Membuat gambar menutupi seluruh area */
    background-position: center center; /* Memusatkan gambar */
    background-repeat: no-repeat; /* Mencegah gambar berulang */
    
    color: white; /* Mengubah warna teks utama menjadi putih */
    position: relative; /* Diperlukan untuk pseudo-element overlay */
    z-index: 1;
}

/* Membuat overlay gelap di atas gambar latar */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Warna hitam dengan transparansi 50% */
    border-radius: inherit; /* Mengikuti lengkungan dari parent */
    z-index: -1;
}

/* Menambahkan bayangan pada teks agar lebih terbaca */
.hero-section h1, .hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Styling untuk kartu */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-title {
    color: #333;
    font-weight: 600;
}
.card-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Styling untuk galeri */
.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 
  Definisi Keyframes untuk Animasi
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
  Menerapkan animasi ke kelas .content-load-animation
*/
.content-load-animation {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    opacity: 0;
}

/* Menambahkan delay animasi untuk setiap item */
.content-load-animation.delay-1 { animation-delay: 0.2s; }
.content-load-animation.delay-2 { animation-delay: 0.4s; }
.content-load-animation.delay-3 { animation-delay: 0.6s; }
.content-load-animation.delay-4 { animation-delay: 0.8s; }

.gallery-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}