/* =========================================
   1. HERO SECTION STYLES
   ========================================= */
   


/* Mengatur Hero agar konten berada di tengah vertikal */
.hero-full-height {
    min-height: 100vh;
    position: relative;
    /* Efek Parallax pada background */
    background-attachment: fixed !important;
}

/* Mengatur posisi konten agar benar-benar di tengah */
.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Garis Pemisah (Divider) */
.soft-divider {
    max-width: 150px;
    height: 3px;
    background-color: var(--bs-primary);
    opacity: 0.7;
    border: none;
    border-radius: 5px;
}

/* Efek Bayangan pada Teks Judul Utama */
.text-shadow {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* =========================================
   2. ANIMASI CSS
   ========================================= */

/* Logo Animasi (Sedikit Zoom In) */
.logo-animation {
    transition: transform 0.3s ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}
.logo-animation:hover {
    transform: scale(1.05);
}

/* Fade-In Up (Untuk Teks dan Tombol) */
.fade-in-up {
    animation: fadeInUp 1s forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tombol (Efek Bersemi/Membesar) */
.button-grow {
    transition: transform 0.2s, box-shadow 0.2s;
}
.button-grow:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Scroll Indicator (Efek Memantul) */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    text-align: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%; 
    transform: translateX(-50%); /* INI KUNCINYA */
    color: white;
}

.bounce {
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* =========================================
   3. NAVBAR & HEADER STYLES
   ========================================= */

/* Efek Hover pada Logo Navbar */
.logo-spin-on-hover {
    transition: transform 0.3s ease;
}
.logo-spin-on-hover:hover {
    transform: rotate(3deg) scale(1.05);
}

/* Efek Hover pada Tombol Daftar Navbar */
.btn-hover-grow {
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hover-grow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Efek Perubahan Warna saat Sticky (Awalnya putih dengan shadow) */
#main-navbar.scrolled {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.4s ease;
}

/* Mengatur Jarak Nav Link */
.navbar-nav .nav-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* =========================================
   4. ACTIVE LINK STYLES (SOLUSI BUG)
   ========================================= */

/* Tampilan Desktop: Garis Bawah Biru */
.nav-link.active {
    color: var(--bs-primary) !important; 
    font-weight: bold;
    /* INI SOLUSI BUG CONTACT US: */
    border-bottom: 2px solid var(--bs-primary) !important; 
    padding-bottom: 6px !important;
}

/* Tampilan Mobile (Max Width 992px): Background Abu Tipis */
@media (max-width: 992px) {
    .nav-link.active {
        border-bottom: none !important; /* Hapus garis bawah di HP */
        background-color: rgba(0, 0, 0, 0.05); /* Ganti jadi background kotak */
        border-radius: 5px;
    }
}