/* --- 1. GLOBAL VARIABLES & RESET --- */
:root {
    --bg-bone: #F7F5F0;
    --green-dark: #1B4D3E;
    --green-light: #2C6E58;
    --yellow-glass: rgba(255, 250, 225, 0.9);
    --glass-white: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    --radius-lg: 24px;
    --font-main: 'elephant', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: var(--font-main); 
    background-color: var(--bg-bone); 
    color: var(--green-dark); 
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- 2. HEADER STYLE --- */
header {
    display: flex; justify-content: space-between; align-items: center; padding: 15px 5%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 9999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    height: 80px;
}

.logo-area { display: flex; align-items: center; gap: 10px; z-index: 1002; }
.logo-placeholder { width: 40px; height: 40px; background: var(--green-dark); color: white; border-radius: 10px; display: flex; justify-content: center; align-items: center; font-weight: bold; }
.brand-name { font-size: 33px; font-weight: 700; color: #47454a; font-family: Calibri;}

/* Menu Desktop */
.nav-desktop ul { display: flex; gap: 20px; align-items: center; margin: 0; }
.nav-desktop a { font-weight: 500; font-size: 14px; color: #47454a; position: relative; }
.nav-desktop a:hover { color: #1e1d1f; }

.btn-donasi { background: #47454a; color: white !important; padding: 8px 20px; border-radius: 50px; box-shadow: 0 4px 10px rgba(27, 77, 62, 0.2); }
.btn-donasi:hover { transform: translateY(-2px); }

/* --- 3. LANGUAGE SWITCHER (BENDERA) --- */
.lang-switch { display: flex; gap: 10px; align-items: center; margin-left: 15px; }

.flag-btn { 
    width: 32px; height: 32px; border-radius: 50%; 
    border: 2px solid #eee; cursor: pointer; 
    background-size: cover; background-position: center; 
    display: block; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

/* GAMBAR BENDERA (SVG) */
.flag-id { background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/9f/Flag_of_Indonesia.svg'); }
.flag-en { background-image: url('https://upload.wikimedia.org/wikipedia/en/a/a4/Flag_of_the_United_States.svg'); }

.flag-active { 
    border: 2px solid var(--green-dark); 
    transform: scale(1.15); 
    box-shadow: 0 0 0 2px rgba(27, 77, 62, 0.2);
}

/* --- 4. MOBILE MENU & HAMBURGER --- */
/* Default Hamburger Sembunyi (Desktop) */
.hamburger { 
    display: none; /* Sembunyi dulu */
    flex-direction: column; gap: 6px; cursor: pointer; 
    z-index: 1002; padding: 5px;
}
.hamburger span { 
    width: 28px; height: 3px; background: var(--green-dark); 
    border-radius: 2px; transition: 0.3s; 
}

/* Overlay Menu Mobile */
.mobile-menu { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; 
    background: var(--bg-bone); 
    display: flex; flex-direction: column; 
    justify-content: center; align-items: center; 
    gap: 25px; 
    transform: translateY(-100%); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 998;
    overflow-y: auto;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--green-dark); }

/* Switcher Bahasa di dalam Mobile Menu */
.mobile-lang-switch { display: flex; gap: 20px; margin-top: 10px; margin-bottom: 20px; }
.mobile-lang-switch .flag-btn { width: 45px; height: 45px; }

/* --- 5. FLOATING WA --- */
.fab-wa { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border: 3px solid white; transition: 0.3s; }
.fab-wa:hover { transform: scale(1.1); }


/* --- 6. PAGE STYLES (HOME, ABOUT, ETC) --- */
.hero-home { padding-top: 120px; padding-bottom: 80px; padding-left: 5%; padding-right: 5%; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; background-size: cover !important; background-position: center !important; background-attachment: fixed !important; }
.hero-home::before, .about-section::before, .goals-section::before, .doc-section::before { content:''; position: absolute; inset:0; background: rgba(27,77,62,0.4); z-index: 0; }
.hero-home::before { border-radius: 0 0 50px 50px; }

.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; color: white; text-align: center; width: 100%; }
.hero-home h1 { font-size: 48px; font-weight: 700; margin-bottom: 15px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-home h2 { font-size: 20px; background: rgba(255,255,255,0.2); padding: 8px 24px; border-radius: 50px; display: inline-block; backdrop-filter: blur(5px); }

.grid-home { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.card-home { background: white; border-radius: var(--radius-lg); overflow: hidden; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: transform 0.3s; }
.card-home:hover { transform: translateY(-5px); }
.card-home img { width: 100%; height: 280px; object-fit: cover; border-radius: 16px; }
.caption-home { background: var(--yellow-glass); padding: 25px; margin-top: -50px; position: relative; z-index: 2; border-radius: 16px; backdrop-filter: blur(10px); color: #333; width: 90%; margin-left: auto; margin-right: auto; box-shadow: 0 5px 20px rgba(0,0,0,0.1); text-align: left; }
.caption-home h3 { color: var(--green-dark); font-size: 20px; font-weight: 700; margin: 0; }
.caption-home p { font-size: 14px; line-height: 1.6; margin: 0; }

.about-section, .goals-section, .doc-section { padding-top: 120px; padding-bottom: 80px; padding-left: 5%; padding-right: 5%; min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; background-size: cover !important; background-position: center !important; background-attachment: fixed !important; }
.grid-container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 400px; max-width: 1200px; width: 100%; }
.glass-panel { background: var(--glass-white); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 15px; padding:30px; }
.section-title { font-size: 32px; font-weight: 700; color: var(--green-dark);  display: inline-block; width: fit-content; margin-bottom: 5px; }
.section-body { font-size: 15px; line-height: 1.8; color: #444; text-align: justify; }
.right-column { display: flex; flex-direction: column; gap: 30px; }


/* --- 7. RESPONSIVE MEDIA QUERIES (WAJIB ADA) --- */
@media (max-width: 900px) {
    /* Sembunyikan Navigasi Desktop */
    .nav-desktop { display: none !important; }
    
    /* Sembunyikan Bendera Desktop (biar gak numpuk sama hamburger) */
    .desktop-only { display: none !important; }

    /* Munculkan Hamburger */
    .hamburger { display: flex !important; }

    /* Penyesuaian Layout Halaman */
    .grid-home, .grid-container { grid-template-columns: 1fr; }
    .hero-home h1 { font-size: 32px; }
    .caption-home { width: 100%; margin-top: 10px; background: white; }
    .hero-home { padding-top: 100px; }
    .hero-home::before { border-radius: 0 0 30px 30px; }
}

/* --- FOOTER STYLE --- */
footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    margin-top: auto; /* Biar nempel di bawah kalau konten dikit */
    position: relative;
    z-index: 10;
}

footer b {
    color: white;
    font-weight: 600;
}

/* Penyesuaian biar Floating WA gak nabrak teks footer */
@media (max-width: 768px) {
    footer { padding-bottom: 90px; } /* Kasih ruang buat tombol WA di HP */
}