/* style.css - DIPERBAIKI */
/* Hapus semua bagian Leaflet/Map styling yang tidak dibutuhkan */
/* Fokus pada styling untuk statistik dan layout umum */

/* ===== VARIABLES ===== */
:root {
    --primary-color: #2c7be5;
    --secondary-color: #00d97e;
    --accent-color: #ff6b6b;
    --dark-color: #283e59;
    --light-color: #f9fbfd;
    --gray-color: #6e84a3;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== CUSTOM STYLES UNTUK STATISTIK ===== */
.gradient-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 50%, #7c3aed 100%);
}

.hero-pattern {
    background-image: url('curug.jpg'); /* atau .png */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text-gradient {
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    z-index: 1;
}

.floating-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.floating-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 10%;
    animation: float 20s ease-in-out infinite reverse;
}

.floating-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
}

.btn-primary-ios {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-primary-ios:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.btn-secondary-ios {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary-ios:hover {
    background: white;
    color: #4f46e5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #4f46e5, transparent);
    margin: 0 auto;
    max-width: 1200px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-divider-short {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.data-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.data-card:hover {
    transform: translateY(-5px);
}

.data-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.data-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.data-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.data-list {
    list-style: none;
    padding: 0;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.data-item i {
    font-size: 1.2rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #4f46e5;
    background: #f3f4f6;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.stat-icon {
    opacity: 0.9;
}

.stat-value {
    margin: 0.5rem 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    opacity: 0.9;
    font-size: 1.1rem;
    font-weight: 500;
}

.chart-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-card canvas {
    width: 100% !important;
    max-width: 100%;
    height: 320px !important;
}

.conclusion-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(79,70,229,0.1);
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-avatar {
    font-size: 1.5rem;
    background: #f3f4f6;
    color: #4f46e5;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-photo {
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-card-title {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-name {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-detail {
    color: #64748b;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    padding: 3rem 0;
}

.footer-header {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #4f46e5, transparent);
    max-width: 300px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
}

.footer-copyright {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-source {
    font-size: 0.8rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== MOBILE MENU STYLES ===== */
#mobileMenu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: calc(100% - 2rem);
    max-width: 400px;
    background: white;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

#mobileMenu.scale-100.opacity-100 {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

#mobileMenu a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

#mobileMenu a:hover {
    background: #f3f4f6;
    color: #4f46e5;
}

#mobileMenuOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}

#mobileMenuOverlay.hidden {
    display: none;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .chart-card canvas {
        height: 220px !important;
    }
    
    .grid.md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    #mobileMenuBtn {
        display: block;
    }
    
    .hidden.md\:flex {
        display: none !important;
    }
    
    .chart-title {
        font-size: 1rem;
    }
    
    .team-card {
        padding: 1.5rem;
    }
}

@media (min-width: 769px) {
    #mobileMenuBtn {
        display: none !important;
    }
}