/* =========================================
   1. GLOBAL STYLES
   ========================================= */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

section {
    padding: 80px 0;
}


.logo-brand {
    height: 42px; /* Ukuran default untuk HP */
}

@media (min-width: 992px) {
    .logo-brand {
        height: 54px; /* Ukuran untuk tampilan Desktop */
    }
}

/* =========================================
   2. COLORS, TYPOGRAPHY & BUTTONS
   ========================================= */
.text-maroon { color: #a11f24; }
.text-yellow { color: #f2c94c; }
.bg-dark-custom { background-color: #1a1a1a; }

.btn-yellow {
    background-color: #fce043;
    color: #000;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-yellow:hover {
    background-color: #e5c93d;
    color: #000;
}

.btn-black {
    background-color: #111;
    color: #fff;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-black:hover {
    background-color: #333;
    color: #fff;
}

/* =========================================
   3. NAVBAR (Transparent Overlay & Gradient)
   ========================================= */
.navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
    padding: 15px 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar .container {
    border: none !important;
    box-shadow: none !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

/* Styling untuk link menu di navbar */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 10px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Ketika menu dalam keadaan aktif / dipilih */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid #fff;
}

/* =========================================
   4. HERO SECTION (Dark Overlay)
   ========================================= */
.hero-section {
    position: relative;
    height: 55vh; /* Mengurangi tinggi dari 100vh menjadi 70vh agar section bawah terlihat */
    min-height: 550px; /* Batas minimal tinggi agar tidak terlalu sempit di layar kecil */
    display: flex;
    align-items: center;
    padding-top: 60px; /* Menambahkan sedikit ruang di atas agar teks tidak tertutup navbar */
    overflow: hidden; 
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif; /* Font serif sesuai desain */
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Latar Belakang Gambar Full */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
}

/* Animasi Zoom Lambat (Ken Burns) untuk Background */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); } 
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Menjalankan animasi selama 20 detik secara bolak-balik terus-menerus */
    animation: slowZoom 20s ease-in-out infinite alternate; 
}

/* Overlay Gelap (Hitam transparan) */
.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Sesuaikan 0.45 untuk tingkat kegelapan */
}

/* Fitur Bar text */
.feature-item h6 {
    font-size: 0.85rem;
    font-weight: 400;
    color: #444;
}

/* Animasi Teks Hero Muncul Perlahan */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menerapkan animasi dengan jeda (delay) yang berbeda agar berurutan */
.hero-subtitle-top { animation: fadeInUp 1s ease forwards 1s; opacity: 0; }
.hero-main-title { animation: fadeInUp 1s ease forwards 1.2s; opacity: 0; }
.hero-desc-text { animation: fadeInUp 1s ease forwards 1.4s; opacity: 0; }
.hero-section .btn-yellow { animation: fadeInUp 1s ease forwards 1.6s; opacity: 0; }

/* =========================================
   5. FEATURES BAR
   ========================================= */
.features-bar {
    padding: 40px 0;
}

.feature-item h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* =========================================
   6. PROGRAMS SECTION
   ========================================= */
.program-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s;
    height: 100%;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-img {
    height: 220px;
    background-color: #eee;
    width: 100%;
    position: relative;
}

.badge-popular {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fce043;
    color: #000;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.program-card .card-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.program-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   7. ABOUT SECTION
   ========================================= */
.about-subtitle {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.about-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.quote-box {
    border-left: 4px solid #f2c94c;
    padding-left: 20px;
    margin-top: 30px;
}

.quote-text {
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: #222;
    margin: 0;
}

/* =========================================
   RESPONSIVE MOBILE ADJUSTMENTS (MEDIA QUERIES)
   ========================================= */

/* Penyesuaian Hero Section di HP */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto !important;
        min-height: 80vh !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    .hero-main-title {
        font-size: 2.3rem !important;
    }

    .hero-desc-text {
        font-size: 0.95rem !important;
    }

    /* Menghilangkan garis pembatas vertikal di layar kecil */
    .border-end, .border-end-md {
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-main-title {
        font-size: 1.9rem !important;
    }
    
    section {
        padding: 50px 0 !important;
    }
}

/* =========================================
   INTRO / SPLASH SCREEN STYLES
   ========================================= */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111; /* Latar belakang gelap elegan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Memastikan berada di paling atas */
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-logo {
    height: 60px;
    filter: brightness(0) invert(1); /* Membuat logo jadi putih */
    animation: pulseLogo 1.2s infinite alternate;
}

/* Efek kedip/detak halus pada logo saat loading */
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Kelas untuk menyembunyikan intro nantinya */
#intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Menghilangkan garis bawah pada navbar secara total */
.navbar, .navbar .container {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* =========================================
   MOBILE MENU BACKGROUND FIX
   ========================================= */
@media (max-width: 991.98px) {
    .mobile-menu-bg {
        background-color: rgba(17, 17, 17, 0.95);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 0.5rem;
    }
}

