/* Konfigurasi Global */
:root {
    --primary-color: #A8D5BA; /* Hijau Pastel */
    --secondary-color: #FFFFD1; /* Kuning Lembut */
    --accent-color: #2e7d32; /* Hijau Tua */
}

body {
    font-family: 'Quicksand', sans-serif;
    color: #444;
}

/* Navbar */
/* Update Warna Navbar */
.bg-custom-green {
    background-color: #A8D5BA !important; /* Hijau Muda Pastel */
}

/* Mengatur warna link agar lebih kontras di latar hijau muda */
.navbar-light .navbar-nav .nav-link,
.nav-link {
    color: #2e7d32 !important; /* Hijau Tua */
    font-weight: 600;
}

.nav-link:hover {
    color: #ffffff !important; /* Berubah jadi putih saat hover */
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

/* Tombol Hubungi Kami di Navbar agar lebih menonjol */
.nav-item .btn-success {
    background-color: #2e7d32 !important;
    border: none;
}

/* Carousel Hero */
.carousel-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
}
.carousel-overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    align-items: center;
}

/* Section Colors */
.bg-light-green {
    background-color: #f1f8f4;
}
.bg-light-yellow {
    background-color: #fffdf2;
}

/* Service & Card Effects */
.service-card {
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

/* Gallery Hover Effect */
.gallery-item img {
    transition: transform 0.5s ease;
    cursor: pointer;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Table Styling */
/* Update Header Tabel Kustom */
.custom-thead {
    background-color: #A8D5BA; /* Hijau Muda Pastel */
    color: #2e7d32; /* Teks Hijau Tua agar mudah dibaca */
    border-bottom: 2px solid #91c7a5;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem; /* Membuat baris tabel sedikit lebih lega */
}

.table-hover tbody tr:hover {
    background-color: #f1f8f4; /* Efek hover halus saat baris disentuh */
}


/* Styling Fasilitas dengan Gambar */
.facility-card {
    height: 250px;
    transition: transform 0.3s ease;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar memenuhi area tanpa gepeng */
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); /* Gradasi gelap di bawah teks */
    transition: background 0.3s ease;
}

.facility-card:hover {
    transform: scale(1.05); /* Efek zoom sedikit saat kursor lewat */
}

.facility-card:hover .facility-overlay {
    background: linear-gradient(transparent, rgba(46, 125, 50, 0.8)); /* Berubah ke hijau transparan saat hover */
}

/* Update Warna Navbar */
.bg-custom-green {
    background-color: #A8D5BA !important; /* Hijau Muda Pastel */
}

/* Mengatur warna font dasar menjadi putih */
.navbar-light .navbar-nav .nav-link,
.nav-link {
    color: #ffffff !important; /* Font Putih */
    font-weight: 600;
    padding: 8px 20px !important;
    transition: all 0.3s ease;
}

/* Mengatur Link Aktif dan Hover menjadi warna Hijau */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #2e7d32 !important; /* Font Hijau Tua */
    background-color: #ffffff; /* Background putih kecil saat aktif/hover */
    border-radius: 20px;
}

/* Brand/Logo tetap putih atau gelap sesuai selera */
.navbar-brand {
    color: #ffffff !important;
}

/* FAQ Accordion Styling */
.accordion-item {
    border: none;
    border-bottom: 1px solid #eee;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(168, 213, 186, 0.5);
}

.accordion-button:not(.collapsed) {
    background-color: #f1f8f4;
    color: #2e7d32;
}

/* Badge Custom */
.bg-light-green {
    background-color: #d1e7dd;
}

.bg-light-yellow {
    background-color: #fff3cd;
}

/* Border warna khusus untuk Tips */
.border-success {
    border-color: #A8D5BA !important;
}

.border-warning {
    border-color: #ffda6a !important;
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128c7e;
    box-shadow: 2px 8px 20px rgba(0,0,0,0.3);
}

/* Animasi Denyut agar lebih menarik perhatian */


/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; display: flex; align-items: center; z-index: 9999; }
.whatsapp-icon {
    width: 60px; height: 60px; background: #25d366; color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 30px; z-index: 2; animation: pulse 2s infinite;
}
.whatsapp-text {
    background: white; color: #333; padding: 10px 20px; border-radius: 30px 0 0 30px;
    margin-right: -10px; opacity: 0; visibility: hidden; max-width: 0; transition: 0.5s;
    white-space: nowrap; font-weight: 600;
}
.whatsapp-float:hover .whatsapp-text { opacity: 1; visibility: visible; max-width: 300px; margin-right: 5px; }


@keyframes pulse {
    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); }
}

.bg-light-green { background-color: #f1f8f4; }

/* Menyembunyikan teks di layar HP kecil agar hanya muncul icon saja */
@media (max-width: 576px) {
    .float-text {
        display: none;
    }
    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
    }
    .display-4 {
        font-size: 2rem;
    }
}


:root {
    --gold: #c5a059;
    --dark: #121212;
    --white: #ffffff;
}

body { font-family: 'Poppins', sans-serif; background: #f4f4f4; }


.premium-slider {
    position: relative;
    width: 90%;
    max-width: 1300px;
    height: 600px;
    margin: 60px auto;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

.premium-slide {
    display: none;
    height: 100%;
}

.premium-slide.active {
    display: block;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

/* Bagian Teks */
.content-side {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease forwards;
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
}

.title span { color: var(--gold); }

.description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 400px;
}

/* Tombol */
.btn-primary {
    background: var(--dark);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    margin-right: 15px;
}

.btn-primary:hover { background: var(--gold); }

/* Bagian Gambar */
.image-side {
    position: relative;
    overflow: hidden;
}

.img-inner {
    height: 100%;
    transform: scale(1.1);
    transition: 1.5s ease-out;
}

.premium-slide.active .img-inner {
    transform: scale(1);
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Kontrol & Progress */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 80px;
    width: 300px;
}

.progress-container {
    height: 2px;
    background: #eee;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: var(--gold);
    width: 0%;
}

/* Animasi */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 968px) {
    .grid-container { grid-template-columns: 1fr; }
    .image-side { display: none; }
}

/* Styling Gambar Layanan */
.service-card img {
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

/* Navigasi Custom untuk Slider Dokter */
.custom-nav {
    width: 5%;
    opacity: 1;
}

.custom-nav:hover {
    opacity: 0.8;
}

#doctorCarousel .carousel-inner {
    padding: 10px 0;
}

/* Memastikan kartu dokter punya tinggi yang sama */
#doctorCarousel .card {
    height: 100%;
    border-bottom: 4px solid var(--primary-color) !important;
}
