/* body {
    background-color: white;
} */


/*footer */
/* Parallax Background */
/* Parallax Background */
.footer-parallax {
    position: relative;
    background: url('../assets/hotel\ image\ 4.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    padding: 50px 0;
    overflow: hidden;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Efek hitam transparan */
    /* z-index: 1; */
}

/* Konten Footer di atas overlay */
.container {
    position: relative;
    z-index: 2;
    /* Memastikan teks di atas overlay */
}

/* Footer Text Styling */
.footer-heading {
    font-family: 'Hachi Maru Pop', sans-serif;
    ;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-info {
    font-family: 'Maven Pro', serif;
    font-size: 14px;
}

.footer-links li {
    font-family: 'Maven Pro', serif;
    list-style: none;
    margin-bottom: 10px;
}

.footer-links li a {
    font-family: 'Maven Pro', serif;
    color: #ddd;
    font-size: 14px;
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.text-center.mt-1 {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}
body {
    display: flex;
   flex-direction: column;
    min-height: 100vh; /* Minimal tinggi viewport penuh */
    margin: 0;
    background-color: #ffffff;
}
.GambarUtama {
    background-color: wheat;
    color: black;
    

}

/*paralax componenet*/
.parallax {
    background: linear-gradient(rgba(20, 20, 20, .4), rgba(20, 20, 20, .4)),url("../asset/fotoKegiatanyayasan2.jpg");
    width: 1280rem;
    justify-content: center; 
    min-height: 1000px;
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    position: relative;
    display: flex;
   align-items: center;
   justify-content: center;
}

.parallaxGallery {
    background: linear-gradient(rgba(20, 20, 20, .4), rgba(20, 20, 20, .4)),url("../asset/carousel-1.jpg");
    width: 1280rem;
    justify-content: center; 
    min-height: 1000px;
    background-attachment: fixed; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    position: relative;
    display: flex;
   align-items: center;
   justify-content: center;
 
}
.parallaxtext {
    position: absolute;
    z-index: 2;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 2px black;
}
main {
    flex: 1;
}


/* --- RESET & VARIABLES --- */
:root {
    --dwj-orange: #F37021;
    --dwj-dark: #2C2C2C;
    --dwj-purple: #7E57C2;
    --dwj-bg-light: #FFF9F5;
}

/* --- WRAPPER UTAMA --- */
.dwj-hero-section-wrapper {
    /* Background gradient halus seperti di gambar */
    background: linear-gradient(135deg, #ffffff 0%, #fff5ee 100%);
    position: relative;
    overflow-x: hidden;
    padding-top: 5rem; /* Memberi ruang untuk navbar */
}

/* --- TYPOGRAPHY KIRI --- */
.dwj-script-subtitle {
    font-family: 'Caveat', cursive; /* Font tulisan tangan */
    color: #4A9CA6; /* Warna teal/tosca */
    font-size: 1.8rem;
    font-weight: 600;
    transform: rotate(-2deg); /* Sedikit miring */
    display: inline-block;
}

.dwj-main-heading {
    font-family: 'Playfair Display', serif; /* Font Serif tebal */
    font-size: 4rem;
    color: var(--dwj-dark);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.dwj-text-orange-highlight {
    color: var(--dwj-orange);
    position: relative;
    display: inline-block;
}

/* Garis bawah di kata "hands" */
.dwj-text-orange-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--dwj-orange);
    border-radius: 2px;
}

/* --- STATUS DINAMIS (PENGGANTI LOGIC LAMA) --- */
.dwj-dynamic-status-wrapper {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--dwj-orange);
    padding: 10px 20px;
    border-radius: 0 10px 10px 0;
    display: inline-block;
}

.dwj-status-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dwj-dynamic-typed-text {
    font-family: 'Poppins', sans-serif;
    color: var(--dwj-dark);
    font-size: 1.5rem;
    margin: 0;
    min-height: 30px;
}

/* --- TOMBOL DONASI --- */
.dwj-btn-custom-donate {
    background-color: var(--dwj-orange);
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px; /* Rounded pill */
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(243, 112, 33, 0.3);
    transition: all 0.3s ease;
}

.dwj-btn-custom-donate:hover {
    background-color: #d65d14;
    transform: translateY(-3px);
    color: #fff;
}

/* --- GAMBAR KANAN (LOVE SHAPE) --- */
.dwj-heart-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    /* Animasi Melayang */
    animation: dwj-float 6s ease-in-out infinite;
}

.dwj-heart-mask {
    width: 100%;
    aspect-ratio: 1/1; /* Agar tetap kotak presisi */
    /* CLIP PATH BENTUK LOVE */
    clip-path: path("M250,450 C100,350 0,225 100,125 C175,25 250,125 250,125 C250,125 325,25 400,125 C500,225 400,350 250,450 Z");
    /* Fallback sederhana jika browser lama: border-radius: 50%; */
    background-color: #eee;
    overflow: hidden;
    transform: scale(0.9); /* Sedikit diperkecil agar pas */
}

.dwj-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar tidak gepeng */
}

/* Dekorasi Garis Melengkung */
.dwj-decoration-line {
    position: absolute;
    top: -30px; 
    left: -50px;
    z-index: 0;
    opacity: 0.8;
}

/* 2. KHUSUS RESOLUSI LAPTOP (1200px - 1399px) */
/* Ini akan menangani layar 1366x768 Anda agar TIDAK MEPET */
@media (min-width: 1200px) and (max-width: 1399px) {
    .dwj-decoration-line {
        /* Kita naikkan posisi top agar "Diatas" gambar */
        top: 20px !important; 
        
        /* Kita geser left agar lebih "Beside/Disamping" (keluar menjauhi gambar) */
        left: -100px !important; 
        
        /* Kecilkan sedikit agar tidak mendominasi layar laptop yang sempit */
        transform: scale(0.8) rotate(-5deg); 
        
        opacity: 0.6; /* Tipiskan sedikit agar kesan background lebih kuat */
    }
}

/* Ikon Love Kecil Melayang */
.dwj-floating-icon {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 2rem;
    color: var(--dwj-purple);
    animation: dwj-pulse 2s infinite;
    transform: rotate(15deg);
}

/* --- KARTU DI BAWAH (OVERLAP) --- */
.dwj-info-cards-row {
    margin-top: -80px; /* Overlap ke atas section */
    position: relative;
    z-index: 10;
}

.dwj-info-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px; /* Siku tumpul */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.dwj-info-card:hover {
    transform: translateY(-10px);
}

.dwj-card-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.dwj-card-text h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.dwj-card-text p {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
}

.dwj-card-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333333; /* Transparan samar */
    position: absolute;
    right: 15px;
    bottom: -5px;
    font-style: italic;
}

/* Warna Spesifik Kartu */
.dwj-card-white { border-bottom: 4px solid var(--dwj-orange); }
.dwj-card-orange { background-color: #FFF8F0; border-bottom: 4px solid #FFB74D; }
.dwj-card-purple { background-color: #F8F4FF; border-bottom: 4px solid var(--dwj-purple); }

/* --- ANIMASI KEYFRAMES --- */
@keyframes dwj-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes dwj-pulse {
    0% { transform: scale(1) rotate(15deg); }
    50% { transform: scale(1.2) rotate(15deg); }
    100% { transform: scale(1) rotate(15deg); }
}

/* Responsif Mobile */
/* Responsif Mobile */
/* Responsif Mobile */
/* --- RESPONSIF MOBILE (SMARTPHONE) --- */
@media (max-width: 768px) {
    .dwj-main-heading { 
        font-size: 2.5rem; 
        text-align: center; 
    }

    .dwj-text-content {
        text-align: center; 
        padding-bottom: 20px;
    }

    .dwj-info-cards-row { 
        /* Reset margin negatif agar kartu tidak menutupi gambar Love */
        margin-top: 0px !important; 
    }
    
    .dwj-btn-wrapper {
        justify-content: center;
        display: flex;
    }

    /* --- PERBAIKAN TOTAL SHAPE LOVE DI HP --- */
    .dwj-heart-image-container {
        /* Berikan tinggi PASTI agar shape tidak terpotong bawahnya */
        height: 300px !important; 
        min-height: 300px !important;
        position: relative;
        width: 100%;
        overflow: visible; /* Pastikan tidak ada yang disembunyikan */
        margin-bottom: 20px; /* Jarak ke kartu di bawahnya */
    }

    .dwj-heart-mask { 
        /* 1. Paksa ukuran 500px agar sesuai koordinat Clip-Path SVG */
        width: 500px !important;
        height: 500px !important;
        max-width: none !important; /* Override batas Bootstrap */
        
        /* 2. Kecilkan ukuran (Scale 0.55 = 55% dari ukuran asli) */
        /* Ini akan membuat ukuran visual menjadi sekitar 275px x 275px */
        transform: scale(0.55); 
        transform-origin: top center; /* Titik pengecilan dari atas tengah */
        
        /* 3. Teknik Centering Absolut (Best Practice untuk elemen Scaled) */
        position: absolute;
        left: 50%;
        margin-left: -250px; /* Geser balik setengah dari lebar asli (500/2) */
        top: 0;
        
        /* Reset style lain */
        border-radius: 0; 
    }
    
    .dwj-hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Sesuaikan posisi icon love kecil yang melayang */
    .dwj-floating-icon {
        top: 10px;
        right: 20%; /* Pakai persentase agar aman */
        font-size: 1.5rem; /* Kecilkan sedikit iconnya */
    }
}

/* Animasi Menggambar Garis (Draw Effect) */
@keyframes drawLine {
    0% {
        stroke-dasharray: 0, 1000;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        stroke-dasharray: 1000, 0;
        opacity: 1;
    }
}

/* Animasi Melayang (Floating Effect) */
@keyframes floatLine {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Terapkan pada SVG Path */
.dwj-decoration-line svg path {
    /* Set stroke properties untuk animasi draw */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: 
        drawLine 2.5s ease-out forwards, /* Animasi muncul (sekali) */
        floatLine 4s ease-in-out infinite 2.5s; /* Animasi melayang (looping) setelah muncul */
}


/**/



/*night mode function*/
/* 1. Base Colors (Body) */
body.dark-mode {
    background-color: #121212 !important; /* Hitam pekat */
    color: #e0e0e0 !important; /* Teks abu terang */
}

/* 2. Cards & Containers */
body.dark-mode .card, 
body.dark-mode .content-wrapper,
body.dark-mode .share-modal-content {
    background-color: #1e1e1e !important; /* Abu gelap */
    border-color: #333 !important;
    color: #e0e0e0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}

/* 3. Navbar */
/* Navbar Anda sudah gelap (#001D23), jadi mungkin tidak perlu diubah banyak.
   Tapi border bawahnya perlu diperjelas */
body.dark-mode .mainNavbar {
    background-color: #001519 !important; /* Sedikit lebih gelap */
    border-bottom: 1px solid #333;
}

/* 4. Text Adjustment */
body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6,
body.dark-mode .fw-bold,
body.dark-mode .text-dark {
    color: #ffffff !important; /* Paksa teks hitam jadi putih */
}

body.dark-mode .text-muted {
    color: #adb5bd !important; /* Muted yang lebih terang */
}

body.dark-mode .text-secondary {
    color: #b0bec5 !important;
}

/* 5. Custom Elements Donatur */

/* Header Hero Section (Kuning) */
/* Kita gelapkan sedikit agar tidak silau di mata */
body.dark-mode .dashboardpersonaldonatur-header {
    background: linear-gradient(135deg, #7a5c00 0%, #5c3c00 100%) !important;
    color: #ffc107 !important; 
    border: 1px solid #444;
}

/* Kalender Glassmorphism */
body.dark-mode .calendar-glass-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95)) !important;
    border-color: #444;
}

body.dark-mode .day-box {
    background: rgba(255, 255, 255, 0.05); /* Transparan putih tipis */
    border-color: #444;
    color: #fff;
}
body.dark-mode .day-box:hover {
    background: rgba(255, 255, 255, 0.15);
}
body.dark-mode .day-name {
    color: #ccc;
}

/* Tabel */
body.dark-mode .table {
    color: #e0e0e0 !important;
    border-color: #333 !important;
}
body.dark-mode .table thead th {
    background-color: #2c2c2c !important;
    color: #fff !important;
    border-bottom: 1px solid #444;
}
body.dark-mode .table-hover tbody tr:hover {
    background-color: #2a2a2a !important;
    color: #fff !important;
}

/* Form Inputs (Jika ada modal) */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #2d2d2d !important;
    border-color: #444 !important;
    color: #fff !important;
}
body.dark-mode .form-control::placeholder {
    color: #777 !important;
}

/* Modal Background */
body.dark-mode .modal-content {
    background-color: #1e1e1e !important;
}

/* =========================================
   SMOOTH TRANSITION & ANIMATED TOGGLE
   ========================================= */

/* 1. Transisi Halus untuk Seluruh Halaman */
body, 
.card, .navbar, .modal-content, .dropdown-menu,
h1, h2, h3, h4, h5, h6, p, span, div, a, input, button {
    /* Animasi perubahan warna selama 0.5 detik */
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.5s ease !important;
}

/* 2. Styling Tombol Toggle "Hidup" */
#themeToggle {
    position: relative;
    width: 40px;  /* Lebar tetap agar tidak goyang */
    height: 40px; /* Tinggi tetap */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    overflow: hidden; /* Sembunyikan ikon yang keluar jalur rotasi */
}

/* Efek Hover pada Tombol */
#themeToggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1); /* Sedikit membesar saat disentuh */
}

/* 3. Logika Animasi Ikon (Matahari & Bulan) */
.toggle-icon {
    position: absolute; /* Tumpuk ikon di posisi yang sama */
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Efek membal (bouncy) */
}

/* KEADAAN LIGHT MODE (Default) */
/* Matahari: Muncul tegak */
#iconSun {
    transform: rotate(0deg) scale(1);
    opacity: 1;
    color: #ffc107; /* Kuning */
}
/* Bulan: Sembunyi (Rotasi ke bawah & kecil) */
#iconMoon {
    transform: rotate(180deg) scale(0);
    opacity: 0;
    color: #fff;
}

/* KEADAAN DARK MODE (Saat body punya class .dark-mode) */
/* Matahari: Sembunyi (Rotasi ke atas & kecil) */
body.dark-mode #iconSun {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
}
/* Bulan: Muncul tegak */
body.dark-mode #iconMoon {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* =========================================
   FIX: MENCEGAH FLASHING SAAT PINDAH HALAMAN
   ========================================= */

/* Class ini akan dipasang oleh JS saat halaman baru dimuat */
body.disable-transition,
body.disable-transition *,
body.disable-transition *::before,
body.disable-transition *::after {
    /* Matikan semua transisi agar perubahan tema INSTAN */
    transition: none !important;
    animation: none !important;
}