html {
    scroll-behavior: smooth;
}

body {
    background-color: #eafff0;    
    color: #333;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hero-section {
    background: linear-gradient(rgba(36, 34, 34, 0.6), rgba(36, 34, 34, 0.3)), 
    url('../img/Profil_desa_watestani.jpeg') center center; 
    background-size: cover; /* Memastikan foto menutupi seluruh area header */
    color: white; /* Teks di atas foto tetap putih agar terbaca */
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    color: white;
}

.bg-success { 
    background-color: #059669 !important; /* Warna hijau emerald */
    color: white; 
}

.sidebar-widget { background: #f8f9fa; border-left: 4px solid #198754; }
.card-img-top { height: 200px; object-fit: cover; }

.card:hover {
    transform: translateY(-5px); /* Mengangkat kartu sedikit ke atas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Bayangan jadi lebih jelas/tebal */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transisi halus */
}

@media (max-width: 768px) {
    .card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

.navbar-light {
    background-color: #e3ffec !important; /* Warna Putih Mint yang kita bahas tadi */
    border-bottom: 2px solid #dcfce7; /* Garis hijau sangat tipis di bawah navbar */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); /* Shadow halus agar terlihat modern */
}

.navbar-light .navbar-nav .nav-link {
    color: #047857; /* Tetap hijau tua agar kontras */
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 5px;
}


.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: #059669; /* Hijau Emerald saat aktif/hover */
    font-weight: bold;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

/* Warna dasar kotak dropdown (Putih bersih agar rapi) */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Shadow halus */
    border-radius: 10px;
    padding: 8px 0;
}

/* Warna teks default (Abu-abu gelap agar tidak kaku) */
.dropdown-item {
    color: #4b5563 !important;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.2s ease; /* Transisi halus */
}

/* === EFEK HOVER KONTRAS (INI KUNCINYA) === */
.dropdown-item:hover {
    background-color: #059669 !important; /* Hijau Emerald Aestetik */
    color: #ffffff !important; /* Teks berubah jadi putih */
    padding-left: 25px; /* Efek geser sedikit ke kanan */
}

.typed-cursor {
    color: #059669; /* Sesuaikan warna hijau tema kita */
    font-size: 1.2rem;
    margin-left: 2px;
    font-weight:400;
    display: inline-block;
    vertical-align: middle;
}

#typing-text {
    min-width: 200px;
    min-height: 30px; /* Menjaga agar navbar tidak goyang saat teks kosong */
    display: inline-flex;
    vertical-align: middle;
}

/* Styling Jadwal Sholat Baru */
.card {
    transition: transform 0.3s ease;
}

.col .card:hover {
    transform: translateY(-5px);
    background-color: #f0fdf4 !important; /* Hijau muda saat di-hover */
}

.col h4 {
    font-size: 1.4rem; /* Ukuran jam lebih besar */
    color: #333;
}


.custom-menu-cepat .list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.custom-menu-cepat .list-group-item:hover {
    background-color: #f0fdf4; /* Hijau mint sangat muda */
    color: #059669; /* Teks jadi hijau emerald */
    border-left: 3px solid #059669; /* Garis aksen di kiri saat hover */
    padding-left: 1.5rem !important; /* Efek geser sedikit ke kanan */
}

.custom-menu-cepat i {
    transition: transform 0.3s ease;
}

.custom-menu-cepat .list-group-item:hover i {
    transform: scale(1.2); /* Ikon membesar dikit saat hover */
}

footer h5 {
    letter-spacing: 1px;
    font-size: 1.1rem;
}

footer p, footer li {
    line-height: 1.6;
}

footer img.img-fluid:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Gaya Ikon Sosmed di Footer */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1); /* Putih transparan */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #ffffff; /* Putih solid saat hover */
    color: #064e3b; /* Teks jadi hijau tua (warna footer) */
    transform: translateY(-5px); /* Efek melayang */
}
