:root { --primary: #006747; --gold: #C5A059; }
body { font-family: 'Segoe UI', Roboto, sans-serif; background-color: #f8f9fa; }
.bg-primary-custom { background-color: var(--primary) !important; }
.card-paket { border: none; border-radius: 15px; transition: 0.3s; }
.card-paket:hover { transform: translateY(-10px); shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-gold { background-color: var(--gold); color: white; border: none; }
.btn-gold:hover { background-color: #b38f48; color: white; }
.card-paket .img-wrapper {
    overflow: hidden;
}
.card-paket img {
    transition: transform 0.5s ease;
}
.card-paket:hover img {
    transform: scale(1.1);
}

/* Efek Hover dan Warna Border */
.card-paket {
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.card-paket:hover {
    box-shadow: 0 15px 30px rgba(0, 103, 71, 0.15); /* Shadow warna hijau transparan */
    border-color: var(--primary);
}

/* Warna Header Harga */
.price-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 10px;
}

/* Warna Khusus Text Harga */
.text-success-custom {
    color: #006747;
    font-weight: 800;
}

/* Styling WhatsApp Melayang */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Posisi di kiri */
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wa-message {
    background: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px 20px 20px 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-left: 10px; /* Jarak dari ikon */
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.4s ease;
    border: 1px solid #25d366;
}

.wa-icon {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 5px 15px rgba(37, 211, 102, 0.4);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover .wa-message {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsif Hape */
@media (max-width: 768px) {
    .wa-message { display: none; } /* Sembunyikan pesan di HP agar tidak menutupi layar */
    .whatsapp-float { bottom: 20px; left: 20px; }
}

.icon-box { width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.card { border-radius: 15px; border: none; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }
    
/* CSS agar Peta Muncul Sempurna */
.map-container { position: relative; width: 100%; height: 100%; min-height: 400px; }
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
.btn-whatsapp { background-color: #25d366; color: white; border: none; transition: 0.3s; }
.btn-whatsapp:hover { background-color: #128c7e; color: white; transform: translateY(-2px); }

/*home */
.hero-image {
    height: 85vh; /* Tinggi hero 85% dari layar */
    min-height: 500px;
    background-size: cover;
    background-position: center;
    transition: transform 10s ease; /* Efek zoom perlahan */
}

.carousel-item.active .hero-image {
    transform: scale(1.1);
}

.btn-gold {
    background-color: var(--gold);
    color: #fff;
    border: none;
}

.btn-gold:hover {
    background-color: #b8962e;
    color: #fff;
}

/* Animasi sederhana tanpa library tambahan */
.carousel-caption {
    bottom: 30%;
}

/*testi */
/* Efek Hover: Kartu sedikit terangkat dan bayangan menebal */
.testi-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.testi-card:hover {
    transform: translateY(-10px);
    shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
    border-color: #0d6efd;
}

/* Dekorasi Ikon Kutipan di latar belakang */
.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(13, 110, 253, 0.05); /* Biru sangat transparan */
    z-index: 0;
}

.card-body {
    position: relative;
    z-index: 1;
}

/* Container Testimoni Gelap */
.bg-dark-premium {
    background-color: #0b0f15; /* Hitam kebiruan yang dalam */
}

/* Kartu Testimoni Dark Mode */
.testi-card-dark {
    background: #161c24;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testi-card-dark:hover {
    transform: translateY(-12px);
    border-color: #0d6efd;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    background: #1c242f;
}

/* Teks dan Detail */
.testi-card-dark .pesan-teks {
    color: #aeb7c1;
    line-height: 1.8;
    font-style: italic;
}

.testi-card-dark .nama-jemaah {
    color: #ffffff;
    letter-spacing: 0.5px;
}

.testi-card-dark .paket-info {
    color: #0d6efd; /* Biru cerah sebagai aksen */
}

/* Ikon Kutipan Glow */
.quote-icon-dark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: #0d6efd;
    opacity: 0.1;
}

/*faqs */
/* Efek saat input difokuskan */
#faqSearch:focus {
    background-color: #f8f9fa;
}

.input-group:focus-within {
    border-color: #0d6efd !important;
    box-shadow: 0 0.5rem 1.5rem rgba(13, 110, 253, 0.15) !important;
    transition: all 0.3s ease;
}

/* Memperbaiki radius accordion agar bulat sempurna */
.accordion-item {
    transition: transform 0.2s ease;
}

.accordion-item:hover {
    transform: scale(1.01);
}

.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}

/* Responsive Memberikan jarak aman di sisi kiri & kanan pada layar HP */
@media (max-width: 576px) {
    .container {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
    
    /* Menyesuaikan ukuran judul agar tidak terlalu besar di HP */
    h2 {
        font-size: 1.75rem !important;
        padding: 0 10px;
    }

    /* Memastikan card tidak saling menempel rapat */
    .card {
        margin-left: 2px;
        margin-right: 2px;
    }
}

/* Memperbaiki jarak antar kolom agar tidak mepet */
.row {
    --bs-gutter-x: 1.5rem; 
}

/*tombol up melayang */
#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Sembunyi di awal */
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 1000;
    transition: all 0.3s ease;
    border: none;
    background: #198754; /* Warna biru primer */
}

#btn-back-to-top:hover {
    background: #0b5ed7;
    transform: translateY(-5px); /* Efek melayang saat hover */
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

/* Penyesuaian ikon di tengah */
#btn-back-to-top i {
    font-size: 1.2rem;
    color: white;
}