/* public/assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --primary-blue: #7FB3D5;
    --secondary-pink: #F1948A;
    --accent-teal: #48C9B0;
    --text-dark: #2C3E50;
    --bg-light: #F8F9F9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    backdrop-filter: blur(8px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 20px;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 800;
    margin: 0;
}

.logo-text p {
    font-size: 12px;
    color: var(--accent-teal);
    margin: 0;
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 70px;
    overflow: hidden;
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: opacity 0.6s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide-content {
    max-width: 800px;
    padding: 20px;
}

.slide-content h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-primary {
    background: var(--accent-teal);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(72, 201, 176, 0.4);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #3ba994;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(72, 201, 176, 0.5);
}

.btn-primary.small {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--primary-blue);
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== SECTION UMUM ===== */
.section-padding {
    padding: 80px 5vw;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary-blue);
}

/* ===== CHART GRID ===== */
.chart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.chart-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    text-align: center;
}

.chart-card h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.chart-card.full-width {
    grid-column: 1 / -1;
}

.chart-card canvas {
    max-width: 100%;
    max-height: 280px;
}

/* ===== DOKUMEN GRID ===== */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.doc-card {
    background: white;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s;
    border: 1px solid #eee;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.doc-card i {
    font-size: 3.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.doc-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.doc-card .doc-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

/* ===== VISITOR COUNTER ===== */
.visitor-counter {
    text-align: center;
    margin-top: 50px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #7F8C8D;
}

.visitor-counter i {
    color: var(--accent-teal);
    margin-right: 8px;
}

/* ===== FLOATING WA ===== */
.wa-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 14px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: 0.3s;
}

.wa-floating:hover {
    transform: scale(1.05);
}

.wa-options {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 998;
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    flex-direction: column;
    gap: 10px;
    min-width: 200px;
}

.wa-options p {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.wa-btn {
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: 600;
    transition: 0.2s;
}

.wa-btn:hover {
    opacity: 0.9;
}

.wa-anak {
    background: var(--primary-blue);
}
.wa-perempuan {
    background: var(--secondary-pink);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .main-nav {
        padding: 10px 20px;
        flex-wrap: wrap;
    }
    .nav-links {
        display: none;
    }
    .slide-content h2 {
        font-size: 2.2rem;
    }
    .slide-content p {
        font-size: 1rem;
    }
    .section-padding {
        padding: 50px 5vw;
    }
    .chart-grid {
        grid-template-columns: 1fr;
    }
    .chart-card.full-width {
        grid-column: 1;
    }
}