/* public/assets/css/style.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
}

/* NAVBAR CUSTOM */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.navbar-brand-custom {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}
.navbar-brand-custom img {
    height: 50px;
    margin-right: 15px;
}
.navbar-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}
.navbar-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 600;
}

/* HERO SECTION (BANNER) */
.hero-section {
    /* Silakan ganti URL ini dengan gambar background gedung/kota Anda */
    background: url('../img/hero-bg.jpg') no-repeat center center; 
    background-size: cover;
    position: relative;
    padding: 100px 0;
    margin-bottom: 40px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Efek gelap pada background */
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* KOTAK STATISTIK */
.stat-card {
    border-radius: 10px;
    padding: 25px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.2s;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-card .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3.5rem;
    opacity: 0.2;
}
.stat-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
}
.stat-card p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Warna Kotak Statistik (Sesuai Gambar) */
.bg-primary-custom { background: linear-gradient(45deg, #4e73df, #224abe); }
.bg-danger-custom { background: linear-gradient(45deg, #e74a3b, #be2617); }
.bg-warning-custom { background: linear-gradient(45deg, #f6c23e, #d8a011); color: #fff !important; }
.bg-success-custom { background: linear-gradient(45deg, #1cc88a, #138c60); }

/* CHART CARD */
.chart-card {
    background: #fff;
    border-radius: 12px; /* Lebih melengkung agar modern */
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1); /* Bayangan halus sebagai pemisah */
    margin-bottom: 24px; /* Jarak vertikal jika ditumpuk di HP */
    border: 1px solid #e3e6f0;
    height: 100%; /* Menyamakan tinggi kotak kiri dan kanan */
    display: flex;
    flex-direction: column;
}
.chart-card-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e3e6f0;
    font-weight: bold;
    color: #4e73df;
    border-radius: 10px 10px 0 0;
}
.chart-card-body {
    padding: 20px;
    height: 320px; /* TENTUKAN TINGGI PASTI (Ganti angka ini sesuai selera) */
    position: relative; /* WAJIB agar Chart.js bisa menyesuaikan diri */
    width: 100%;
}

/* FOOTER */
.footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
}