/* =========================================
   VARIABEL & PENGATURAN DASAR
========================================= */
:root {
    --primary: #F97316; /* Oren Utama */
    --primary-hover: #EA580C;
    --secondary: #FACC15; /* Kuning Aksen */
    --secondary-hover: #EAB308;
    --bg-light: #FFFFFF; /* Putih */
    --bg-gray: #F8FAFC; /* Putih Abu-abu Lembut */
    --border-color: #E2E8F0;
    --text-dark: #0F172A;
    --text-light: #475569;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-gray); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 50px 0; }
a { text-decoration: none; }

/* UTILITY */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-gray { background-color: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 28px; color: var(--text-dark); font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.section-title p { color: var(--text-light); font-size: 15px; max-width: 600px; margin: 0 auto; }

/* =========================================
   NAVBAR & MENU (SESUAI GAMBAR REFERENSI)
========================================= */
.navbar { 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    background-color: transparent; 
    border-bottom: none;
    box-shadow: none;
    padding: 25px 0; 
    transition: all 0.4s ease; 
}
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 0 !important; }

/* Pembungkus Menu Teks & Tombol Donasi agar Berjejer Rapi */
.nav-menu-wrapper { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 30px; }

/* LOGO */
.logo { display: flex; align-items: center; }
.logo-img { height: 55px; width: 55px; border-radius: 50%; object-fit: cover; background-color: white; display: block; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Teks Menu */
.nav-links a { color: rgba(255,255,255,0.9); font-weight: 600; transition: color 0.3s; font-size: 15px; }
.nav-links a:hover { color: white; }
.nav-links a.active { color: var(--primary); }

/* NAVBAR SCROLL & SOLID */
.navbar.scrolled, .navbar-solid {
    background-color: var(--bg-light) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
}
.navbar.scrolled .logo-img, .navbar-solid .logo-img { height: 45px; width: 45px; }
.navbar.scrolled .nav-links a, .navbar-solid .nav-links a { color: var(--text-dark) !important; }
.navbar.scrolled .nav-links a:hover, .navbar-solid .nav-links a:hover { color: var(--primary) !important; }
.navbar.scrolled .nav-links a.active, .navbar-solid .nav-links a.active { color: var(--primary) !important; }
.mobile-menu-toggle { color: white; }
.navbar.scrolled .mobile-menu-toggle, .navbar-solid .mobile-menu-toggle { color: var(--text-dark) !important; }

/* =========================================
   TOMBOL & ELEMEN UI
========================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; font-size: 15px; }
.btn-primary { background-color: var(--primary); color: white; box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3); }
.btn-secondary { background-color: var(--secondary); color: var(--text-dark); }
.btn-secondary:hover { background-color: var(--secondary-hover); transform: translateY(-2px); }
.btn-outline { background-color: white; color: var(--text-dark); border: 1px solid var(--border-color); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline-light { background-color: transparent; color: white; border: 2px solid white; }
.btn-outline-light:hover { background-color: white; color: var(--text-dark); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }
.btn-large { padding: 18px 40px; font-size: 18px; border-radius: 12px; }

.badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 10px; }
.badge-urgent { background: #FEF3C7; color: #D97706; }
.badge-category { background: rgba(249, 115, 22, 0.1); color: var(--primary); }

.floating-wa { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000; transition: 0.3s; }
.floating-wa:hover { transform: scale(1.1); background-color: #1EBE5A; }

/* =========================================
   HERO SLIDER
========================================= */
.hero-slider { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: var(--text-dark); margin-top: 0; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; background-color: var(--border-color); }
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 0 20px; width: 100%; max-width: 900px; margin: 0 auto; }
.hero-content h1 { font-size: 56px; margin-bottom: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-content h1 span { color: var(--secondary); }
.hero-content p { font-size: 18px; color: #F1F5F9; max-width: 750px; margin: 0 auto 40px; line-height: 1.7; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

.slider-nav { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 3; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--secondary); transform: scale(1.3); }

/* =========================================
   STATISTIK & KARTU
========================================= */
.stats-section { background-color: var(--primary); color: white; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; padding: 0 !important; }
.stat-item h3 { font-size: 42px; margin-bottom: 5px; font-weight: 800; color: var(--secondary); }
.stat-item p { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

.card-horizontal { display: flex; flex-direction: row; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color); margin-bottom: 40px; transition: 0.4s; }
.card-horizontal:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.12); border-color: var(--primary); }
.card-horizontal .card-img { width: 50%; background-size: cover; background-position: center; position: relative; min-height: 350px; display: flex; align-items: center; justify-content: center; background-color: var(--border-color);}

.card-horizontal .card-body { width: 50%; padding: 50px 45px; display: flex; flex-direction: column; justify-content: center; }
.card-horizontal .card-body h3 { font-size: 26px; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); line-height: 1.2; }
.card-horizontal .card-body p.desc { font-size: 15px; color: var(--text-light); margin-bottom: 25px; line-height: 1.7; flex: none; }
.card-horizontal .action-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: auto; }
.card-horizontal.reverse { flex-direction: row-reverse; }

.prog-wrap { width: 100%; margin-bottom: 25px; }
.prog-info { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.prog-bar-bg { background-color: var(--bg-gray); border-radius: 8px; height: 10px; width: 100%; overflow: hidden; }
.prog-bar-fill { background-color: var(--primary); height: 100%; border-radius: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-img { height: 220px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; background-color: var(--bg-gray); position: relative;}
.card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 5px 0 10px; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--text-dark); }
.card-body p.desc { color: var(--text-light); font-size: 14px; margin-bottom: 15px; flex: 1; }
.price-tag { font-weight: 800; color: var(--primary); font-size: 16px; margin-bottom: 15px; display: block; }
.progress-bar { background-color: var(--bg-gray); border-radius: 6px; height: 8px; width: 100%; margin-bottom: 20px; overflow: hidden; }
.progress-fill { background-color: var(--secondary); height: 100%; border-radius: 6px; }

/* =========================================
   DOKUMENTASI LAPANGAN (MOSAIC GRID)
========================================= */
.mosaic-section { padding: 80px 0; background: var(--bg-gray); }
.mosaic-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.mosaic-header-left span { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; }
.mosaic-header-left h2 { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-top: 5px; line-height: 1.2; letter-spacing: -0.5px; }
.mosaic-header-right p { color: var(--text-light); font-size: 14px; text-align: right; max-width: 350px; }

.mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 350px 350px; gap: 20px; }
.mosaic-item { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); cursor: pointer; background-color: var(--border-color); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic-item:hover img { transform: scale(1.08); }

.mosaic-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 25px 25px; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent); color: white; pointer-events: none; }
.mosaic-tag { font-size: 12px; color: #E2E8F0; font-weight: 700; margin-bottom: 8px; display: block; }
.mosaic-title { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0; }

.item-1 { grid-column: 1 / 3; } 
.item-2 { grid-column: 3 / 4; } 
.item-3 { grid-column: 4 / 5; } 
.item-4 { grid-column: 1 / 2; } 
.item-5 { grid-column: 2 / 5; } 

/* =========================================
   GALERI INTERAKTIF & SHOWCASE (HALAMAN GALERI)
========================================= */
.auto-showcase { position: relative; width: 100%; height: 420px; border-radius: 20px; overflow: hidden; margin-bottom: 50px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); background-color: var(--text-dark); }
.showcase-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 40px; background-color: var(--border-color); }
.showcase-slide.active { opacity: 1; z-index: 2; }
.showcase-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); z-index: 1; }
.showcase-content { position: relative; z-index: 2; color: white; max-width: 750px; }
.showcase-badge { background: var(--primary); color: white; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.showcase-content h3 { font-size: 28px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; color: white; }
.showcase-content p { font-size: 15px; color: #E2E8F0; margin: 0; line-height: 1.6; }
.showcase-dots { position: absolute; bottom: 20px; right: 30px; display: flex; gap: 8px; z-index: 3; }
.s-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.s-dot.active { background: var(--secondary); transform: scale(1.3); }

.gallery-filter { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.g-filter-btn { padding: 8px 24px; border-radius: 30px; background: transparent; border: 2px solid var(--border-color); color: var(--text-light); font-weight: 700; cursor: pointer; transition: all 0.3s ease; font-size: 14px; }
.g-filter-btn.active, .g-filter-btn:hover { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3); }

.fancy-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.fg-item { position: relative; height: 300px; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.05); background-color: var(--border-color); }
.fg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fg-item:hover img { transform: scale(1.12); }
.fg-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); opacity: 0; transition: opacity 0.4s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 25px; }
.fg-item:hover .fg-overlay { opacity: 1; }
.fg-overlay h4 { color: white; font-size: 18px; font-weight: 800; margin-bottom: 5px; transform: translateY(20px); transition: all 0.4s ease; }
.fg-overlay span { color: var(--secondary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transform: translateY(20px); transition: all 0.4s ease 0.1s; }
.fg-item:hover .fg-overlay h4, .fg-item:hover .fg-overlay span { transform: translateY(0); }
.fg-icon { position: absolute; top: 20px; right: 20px; background: white; color: var(--primary); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: 0; transform: scale(0.5); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.fg-item:hover .fg-icon { opacity: 1; transform: scale(1); }
.fg-item.hide { display: none; }

/* =========================================
   SOSIAL MEDIA & FOOTER
========================================= */
.ig-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; }
.ig-item { position: relative; padding-bottom: 100%; border-radius: 12px; overflow: hidden; background-size: cover; background-position: center; cursor: pointer; background-color: var(--border-color); }
.ig-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; gap: 20px; color: white; opacity: 0; transition: 0.3s; font-weight: 700; font-size: 18px; }
.ig-item:hover .ig-overlay { opacity: 1; }

.cta-section { background-color: var(--primary); padding: 80px 0; text-align: center; color: white; }
.cta-content h2 { font-size: 38px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.cta-content p { font-size: 18px; max-width: 700px; margin: 0 auto 35px; color: #FFF7ED; opacity: 0.9; }

.site-footer { background-color: #0F172A; color: #94A3B8; font-size: 14px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr; gap: 40px; padding: 70px 0 50px; }
.widget-title { color: white; font-size: 15px; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255,255,255,0.05); color: white; border-radius: 8px; transition: 0.3s; font-size: 16px; }
.social-icons a:hover { background-color: var(--primary); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94A3B8; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.contact-info { list-style: none; padding: 0; margin-bottom: 25px; }
.contact-info li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-info i { color: var(--primary); margin-top: 4px; font-size: 16px; }
.footer-bottom { background-color: #020617; padding: 25px 0; }
.bottom-flex { display: flex; justify-content: space-between; align-items: center; padding: 0 !important; color: #64748B; font-size: 13px; }

/* =========================================
   RESPONSIVITAS (HP & TABLET)
========================================= */
@media (max-width: 992px) { 
    .nav-menu-wrapper { gap: 15px; }
    .cta-content h2 { font-size: 30px; }
    .card-horizontal .card-body { padding: 35px 25px; }
    .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .item-1, .item-2, .item-3, .item-4, .item-5 { grid-row: auto; }
    .item-1 { grid-column: 1 / 3; height: 300px; }
    .item-2, .item-3, .item-4, .item-5 { grid-column: span 1; height: 300px; }
    .mosaic-header-right p { text-align: left; }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block !important; }
    .nav-menu-wrapper { 
        position: absolute; 
        top: 100%; left: 0; right: 0; 
        background: white; 
        flex-direction: column; 
        padding: 20px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
        display: none; 
        gap: 20px; 
        text-align: center;
        border-top: 1px solid var(--border-color);
    }
    .nav-menu-wrapper.active { display: flex; }
    .nav-links { display: flex; flex-direction: column; width: 100%; gap: 15px; }
    .nav-links a { color: var(--text-dark) !important; font-size: 16px; padding: 10px; font-weight: 600; display: block; }
    .nav-links a.active { color: var(--primary) !important; }
    .navbar { padding: 15px 0; }
    .hero-content h1 { font-size: 26px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .cta-content h2 { font-size: 24px; }
    .card-horizontal, .card-horizontal.reverse { flex-direction: column; }
    .card-horizontal .card-img, .card-horizontal .card-body { width: 100%; }
    .card-horizontal .card-img { min-height: 180px; height: 180px; }
    .card-img { height: 180px !important; }
    .card-horizontal .card-body { padding: 20px 15px; }
    .card-horizontal .action-row { flex-direction: column; align-items: stretch; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 30px; }
    .bottom-flex { flex-direction: column; gap: 15px; text-align: center; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .item-1, .item-2, .item-3, .item-4, .item-5 { grid-column: 1 / -1; grid-row: auto; height: 180px; }
    .auto-showcase { height: 260px; }
    .showcase-content h3 { font-size: 18px; }
    .showcase-content p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .section-title h2 { font-size: 24px; }
    .fg-item { height: 200px !important; }
    .mosaic-title { font-size: 16px; }
    .mosaic-overlay { padding: 40px 15px 15px; }
    .card-body h3 { font-size: 16px; }
    .price-tag { font-size: 14px; }
}

/* ARTIKEL CARD STYLES */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.art-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid var(--border-color); transition: 0.4s; display: flex; flex-direction: column; height: 100%; }
.art-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.3); }
.art-img { height: 220px; background-size: cover; background-position: center; background-color: var(--border-color); position: relative; overflow: hidden; }
.art-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.art-card:hover .art-img img { transform: scale(1.08); }
.art-cat { position: absolute; bottom: 15px; left: 15px; background: var(--primary); color: white; padding: 4px 14px; border-radius: 20px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.art-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.art-date { font-size: 12px; color: var(--text-light); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.art-body h3 { font-size: 18px; font-weight: 800; color: var(--text-dark); line-height: 1.4; margin-bottom: 12px; }
.art-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.art-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--border-color); }
.art-footer .read-more { color: var(--primary); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.art-footer .read-more:hover { gap: 12px; }
.art-footer .read-time { font-size: 12px; color: var(--text-light); font-weight: 600; }

@media (max-width: 992px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .articles-grid { grid-template-columns: 1fr; }
}