/* ============================================
   HURIP MOVEMENT - COMPLETE STYLESHEET
   ============================================ */

/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary: #FF9800;
    --light: #F1F8E9;
    --dark: #1B1B1B;
    --gray: #666;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

/* Cari bagian body di style.css, ganti menjadi: */
body {
    /* Gunakan font sistem: Segoe UI (Windows), San Francisco (Mac), Arial */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition); 
}

ul { list-style: none; }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #F57C00;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== SECTION STYLES ===== */
.section { 
    padding: 70px 0; 
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-title p { 
    color: var(--gray); 
}

/* ===== HEADER / NAVBAR ===== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary);
}

.logo img { height: 40px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover { color: var(--primary); }

.btn-donate {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
}

.btn-donate:hover {
    background: #F57C00;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: var(--dark);
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slider-item.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 800px;
}

.slider-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-controls:hover {
    background: rgba(255,255,255,0.4);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

/* ===== HERO SECTION (Fallback) ===== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light) 0%, #E8F5E9 100%);
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PROGRAMS GRID ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover { 
    transform: translateY(-5px); 
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content { 
    padding: 25px; 
}

.program-content h3 {
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.program-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.progress-bar {
    background: #E0E0E0;
    border-radius: 10px;
    height: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== TRANSPARENCY SECTION ===== */
.transparency-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.chart-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.chart-box h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
    text-align: center;
}

.chart-wrapper {
    position: relative;
    height: 300px;
}

.financial-summary {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.financial-summary h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.summary-item {
    padding: 20px;
    border-left: 4px solid var(--primary);
    background: var(--light);
    border-radius: 8px;
}

.summary-item.expense {
    border-left-color: #f44336;
    background: #ffebee;
}

.summary-item h4 {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.summary-item .amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.summary-item.expense .amount {
    color: #d32f2f;
}

.download-report {
    text-align: center;
    margin-top: 30px;
}

/* ===== DONATION FORM ===== */
.donation-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-family: inherit;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: var(--light);
    color: var(--primary-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #BBB;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links ul li { margin-bottom: 10px; }

.footer-links a {
    color: #BBB;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #BBB;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }
    
    .nav-menu.active { left: 0; }
    
    .hero-slider {
        height: 400px;
    }
    
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    
    .slider-content h2 { font-size: 1.8rem; }
    .slider-content p { font-size: 1rem; }
    
    .amount-options { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-contact p { justify-content: center; }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .chart-wrapper {
        height: 250px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}
/* ===== BERITA TERKINI SECTION ===== */
.news-section {
    background: #fff;
    padding: 70px 0;
}

.news-section .section-title h2 {
    color: var(--primary-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-card.featured {
    border: 2px solid var(--primary);
    grid-column: span 2;
}

.news-card.featured .news-image {
    height: 280px;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.news-category.darurat {
    background: #f44336;
}

.news-category.program {
    background: #1976D2;
}

.news-category.kegiatan {
    background: #FF9800;
}

.news-badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #FFD700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-body {
    padding: 20px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #888;
}

.news-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.news-body h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured .news-body h3 {
    font-size: 1.4rem;
}

.news-body h3 a:hover {
    color: var(--primary);
}

.news-excerpt {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-read-more:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.news-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #aaa;
    font-size: 0.8rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

/* Load More Button */
.news-load-more {
    text-align: center;
    margin-top: 40px;
}

/* News Page */
.news-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.news-page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.news-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Single News Page */
.single-news {
    max-width: 800px;
    margin: 0 auto;
}

.single-news-header {
    margin-bottom: 30px;
}

.single-news-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.single-news-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    max-height: 400px;
}

.single-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-news-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
}

.single-news-content p {
    margin-bottom: 20px;
}

.single-news-content h2, .single-news-content h3 {
    margin: 30px 0 15px;
    color: var(--primary-dark);
}

.news-share {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.share-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-tw { background: #1DA1F2; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-column: span 1; }
    .news-card.featured .news-image { height: 200px; }
    .news-page-header h1 { font-size: 1.8rem; }
    .single-news-header h1 { font-size: 1.5rem; }
}

/* ===== MOBILE NAVBAR FIX ===== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 15px 0;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 5px;
    color: var(--dark);
}

@media (max-width: 768px) {
    .mobile-toggle { 
        display: block; 
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        z-index: 1000;
        pointer-events: auto;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
}