/* Developed by PT. Aktech Digital Solutions - https://aktech.co.id - 08112638350 */

/* =====================================================
   GLOBAL BASE & BACKGROUND
   ===================================================== */

/* Background umum */
body {
    background: #f4f7fb; /* warna cerah */
    min-height: 100vh;
    padding-top: 50px; /* jarak dari navbar fixed-top */
}

@media (max-width: 576px) {
    body {
        padding-top: 50px;
    }
}

/* Konten utama */
main .container {
    max-width: 1100px;
}

/* =====================================================
   CARD STYLES
   ===================================================== */

/* Card utama */
.card-main {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.9rem;
    border: none;
    box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.35);
    padding: 1.75rem;
}

/* Card kecil (news list, dsb.) */
.card-soft {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.20);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4 {
    color: #0b1b3b;
}

/* Judul section (dipakai di home) */
.section-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0b1b3b;
}

/* Utility warna teks navy */
.text-navy {
    color: #0b1b3b;
}

/* =====================================================
   NAVBAR
   ===================================================== */

.navbar {
    background: rgba(6, 18, 46, 0.98) !important;
}

.navbar-brand {
    letter-spacing: 0.05em;
}

.navbar-nav .nav-link {
    color: #d9e7ff !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background-color: rgba(30, 136, 229, 0.2);
    border-radius: 0.5rem;
}

/* =====================================================
   LIST / BERITA
   ===================================================== */

.list-group-item {
    border-radius: 0.75rem !important;
    margin-bottom: 0.5rem;
    border: none;
    background-color: #f5f8ff;
}

.list-group-item:hover {
    background-color: #e3f2fd;
}

/* =====================================================
   LINKS
   ===================================================== */

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: rgba(255,255,255,0.9) !important;
}

/* Footer Styling */
.footer-custom {
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    box-shadow: 0 -3px 12px rgba(0,0,0,0.18);
}

@media (max-width: 576px) {
    .footer-custom {
        backdrop-filter: none; /* kurangi beban GPU di HP */
        box-shadow: 0 -2px 8px rgba(0,0,0,0.16);
    }
}

.footer-link {
    color: #0b1b3b;
    font-weight: 600;
}

.footer-link:hover {
    color: #1d6ed8;
    text-decoration: underline;
}

/* Badge kecil kalau nanti dibutuhkan */
.badge-soft {
    background-color: #e3f2fd;
    color: #0b1b3b;
}

/* Responsif kecil untuk card utama */
@media (max-width: 576px) {
    .card-main {
        padding: 1.25rem;
    }
}

/* =====================================================
   HOME SPECIFIC STYLING
   ===================================================== */

/* Banner di beranda */
.home-banner-img {
    width: 100%;
    border-radius: 0.75rem;
    object-fit: cover;
    max-height: 260px;
}

/* Row ketua + visi */
.home-chairman-row {
    align-items: center;
}

/* Foto Ketua — Rounded Corner + Blue Border + Soft Glow */
.home-chairman-photo {
    width: 140px;
    height: 140px;
    border-radius: 14px;           /* rounded corner */
    object-fit: cover;
    display: block;
    margin: 0 auto;

    border: 3px solid #1d7dd6;     /* Biru APJII */
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        0 0 12px rgba(29,125,214,0.35); /* Glow biru lembut */
}

/* Placeholder Ketua — sama estetika dengan foto */
.home-chairman-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 14px;
    background: #e5edf9;
    border: 3px solid #1d7dd6;
    color: #0b1b3b;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        0 0 12px rgba(29,125,214,0.35);
}

/* Teks visi Ketua (dipakai di home.php) */
.home-chairman-vision {
    font-style: italic;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}

/* Sedikit pengecilan di HP untuk foto & placeholder Ketua */
@media (max-width: 768px) {
    .home-chairman-photo,
    .home-chairman-placeholder {
        width: 120px;
        height: 120px;
        border-radius: 12px;
    }
}
