/* Custom CSS untuk RS Bhayangkara - Tema Futuristik Modern */

/* Reset dan Font Global */
/* Aturan ini memastikan efek parallax bekerja dengan benar pada elemen html dan body */
html, body {
    height: 100%; /* Memastikan elemen html dan body memiliki tinggi penuh */
    overflow: visible !important; /* Memungkinkan konten untuk di-scroll secara normal, sangat penting untuk parallax */
    transform: none !important; /* Memastikan tidak ada transform yang mengganggu fixed background */
}

body {
    font-family: 'Poppins', sans-serif !important; /* Menerapkan font Poppins */
    font-size: 0.85em; /* Mengurangi ukuran font dasar */
    color: #333; /* Warna teks standar */
    background-color: #f8f9fa; /* Latar belakang body */
    
    /* Baris ini dikomentari karena sudah diatasi di aturan html, body di atas */
    /* overflow-x: hidden; */ 

    /* Tambahan untuk Navbar Fixed: Memberikan padding-top pada body */
    /* Sesuaikan nilai 70px jika navbar Anda memiliki tinggi yang berbeda */
    padding-top: 70px; 
}

/* Diagnostik Baru: Reset transform/overflow pada anak langsung dari body */
/* Ini adalah langkah agresif untuk mengidentifikasi elemen yang mengganggu. */
/* Hapus atau sesuaikan setelah masalah teridentifikasi. */
body > * {
    transform: none !important;
    overflow: visible !important;
    /* filter: none !important; */ /* Dikomentari agar tidak mengganggu filter lain jika ada */
    /* perspective: none !important; */ /* Dikomentari agar tidak mengganggu perspektif lain jika ada */
    /* position: static !important; */ /* Dikomentari agar tidak mengganggu positioning lain jika ada */
}

/* Override Warna Primer Bootstrap */
/* Warna Biru Elektrik/Cyan untuk kesan modern dan futuristik */
.navbar.bg-primary,
.btn-primary,
.bg-primary,
.page-header {
    background-color: #00bcd4 !important; /* Cyan terang */
    background-image: linear-gradient(to right, #00bcd4, #2196f3) !important; /* Gradien halus */
    border-color: #00bcd4 !important;
}

.btn-primary:hover {
    background-color: #00acc1 !important;
    background-image: linear-gradient(to right, #00acc1, #1976d2) !important;
    border-color: #00acc1 !important;
    transform: translateY(-2px); /* Efek naik saat hover */
    box-shadow: 0 4px 8px rgba(0, 188, 212, 0.3); /* Shadow halus */
}

.text-primary {
    color: #00bcd4 !important; /* Warna teks primer */
}

a {
    color: #00bcd4; /* Warna link */
    text-decoration: none;
    transition: color 0.3s ease; /* Transisi halus pada link */
}

a:hover {
    color: #2196f3; /* Warna link saat hover */
}

/* Navbar Customization */
.navbar {
    padding-top: 0.6rem; /* Mengurangi padding atas */
    padding-bottom: 0.6rem; /* Mengurangi padding bawah */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    filter: brightness(1.2); /* Sedikit efek cerah pada logo jika warnanya gelap */
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative; /* Untuk indikator hover */
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #fff; /* Indikator aktif di bawah link */
    border-radius: 2px;
    position: absolute;
    bottom: -5px;
    left: 20%;
}


/* Hero Section Customization */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpeg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-lg {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-section .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background-color: #fff;
    color: #00bcd4 !important; /* Warna primer saat hover */
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 2.5rem;
    color: #333;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00bcd4, #2196f3);
    border-radius: 2px;
}


/* Quick Info Cards */
.quick-info-section {
    padding: 60px 0;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: -80px; /* Sedikit overlap dengan hero */
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.quick-info-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    height: 100%; /* Memastikan tinggi kartu sama */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quick-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,188,212,0.15); /* Shadow dengan warna aksen */
}

.quick-info-card i {
    font-size: 3.5rem;
    color: #00bcd4; /* Icon color */
    margin-bottom: 20px;
    animation: pulse 2s infinite; /* Animasi pulse pada ikon */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.quick-info-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.quick-info-card p {
    font-size: 0.95rem;
    color: #666;
}

/* Card Styles (General) */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    background-color: #fff;
}

.card-title {
    font-weight: 600;
    color: #333;
}

/* Dokter Card */
.doctor-card .card-img-top {
    height: 280px; /* Tinggi gambar dokter lebih besar */
    object-position: top center; /* Fokus di bagian atas gambar */
}

.doctor-card .card-body h5 {
    color: #00bcd4; /* Nama dokter dengan warna primer */
    font-size: 1.35rem;
    margin-bottom: 5px;
}

.doctor-card .card-body p.card-text {
    font-size: 0.9rem;
    color: #666;
}

/* Service Card */
.service-item-card .service-icon {
    font-size: 3rem;
    color: #00bcd4;
    margin-bottom: 15px;
}

.service-item-card .card-body h5 {
    color: #333;
    font-size: 1.3rem;
}

/* News Card */
.news-card .card-body h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.news-card .card-text.small {
    font-size: 0.85rem;
    color: #888 !important;
}

/* Page Header (General for other pages) */
.page-header {
    background-color: #00bcd4; /* Menggunakan warna primer yang baru */
    color: #fff;
    padding: 80px 0 50px;
    text-align: center;
    box-shadow: inset 0 -5px 15px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

.page-header p.lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Detail Pages */
.img-fluid.rounded-circle {
    border: 5px solid rgba(0, 188, 212, 0.2); /* Border transparan untuk gambar profil */
}

.blog-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.blog-content p {
    margin-bottom: 1.5em;
}

/* Footer Customization */
.footer {
    background-color: #2c3e50; /* Warna gelap untuk footer */
    color: #ecf0f1;
    padding: 60px 0 20px;
    font-size: 0.95rem;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.2);
}

.footer h5 {
    color: #00bcd4; /* Warna primer untuk judul footer */
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p, .footer ul {
    color: #bdc3c7;
}

.footer a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.footer .social-icons a {
    color: #ecf0f1;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icons a:hover {
    color: #00bcd4; /* Warna primer saat hover */
    transform: translateY(-3px);
}

.footer .py-3 {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px !important;
    margin-top: 30px;
}

/* Utility / Responsiveness */
.map-container {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    height: 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 10px;
}

/* Form Contact */
.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
}

/* AOS Animation Defaults */
[data-aos="fade-up"],
[data-aos="fade-right"],
[data-aos="fade-left"] {
    transition-property: opacity, transform !important;
    transition-duration: 0.8s !important; /* Kecepatan animasi */
    transition-timing-function: ease-out !important;
}

/* New: Medical Check-up Package Card Specific Styles */
.package-card .card-header {
    border-bottom: none;
    border-radius: 10px 10px 0 0; /* Rounded top corners */
}

.package-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff; /* White text for header */
}

.package-card .card-body {
    padding: 30px;
}

.package-card .package-items-list {
    margin-top: 15px;
    padding-left: 0; /* Remove default ul padding */
}

.package-card .package-items-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
}

.package-card .package-items-list li i {
    font-size: 1rem;
    margin-right: 10px;
}

/* Parallax Section Styling */
.parallax-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../img/bg-parallax.jpeg') no-repeat center center fixed;
    background-size: cover;
    padding: 100px 0; /* Padding vertikal untuk section */
    position: relative;
    /* Hapus properti overflow: hidden; ini dari sini */
    /* overflow: hidden; */ 
}

.parallax-section h2 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.parallax-section p.lead {
    font-size: 1.35rem;
    margin-bottom: 30px;
}

.parallax-section .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.parallax-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}
