/* =============================================
   FOOTER.CSS — Tema Hijau Putih
   Path: /portalperaturan/assets/css/footer.css
   ============================================= */

/* =====================
   WAVE SEPARATOR
   ===================== */
.footer-wave {
    background: #f8fafc; /* warna section sebelumnya */
    line-height: 0;
}
.footer-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* =====================
   FOOTER MAIN
   ===================== */
.site-footer {
    background: #fff;
    border-top: 2px solid #e8f5e9;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-main {
    padding: 56px 0 40px;
}

/* Grid 4 kolom */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
    gap: 40px;
}

/* =====================
   KOLOM 1: BRAND
   ===================== */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}
.footer-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: #1b5e20;
}
.footer-brand-sub {
    font-size: 10px;
    color: #66bb6a;
    font-weight: 500;
}
.footer-desc {
    font-size: 13px;
    color: #6b7a66;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Mini stats */
.footer-stats {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #f1f8f1;
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    padding: 12px 20px;
}
.footer-stat-item { text-align: center; }
.footer-stat-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #1b5e20;
    line-height: 1;
}
.footer-stat-label {
    font-size: 11px;
    color: #66bb6a;
    font-weight: 500;
    margin-top: 2px;
}
.footer-stat-divider {
    width: 1px;
    height: 32px;
    background: #c8e6c9;
}

/* =====================
   HEADING
   ===================== */
.footer-heading {
    font-size: 13px;
    font-weight: 800;
    color: #1b5e20;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
    position: relative;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 28px;
    height: 2px;
    background: #28a745;
    border-radius: 2px;
}

/* =====================
   KOLOM 2: NAVIGASI
   ===================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #4a7a4e;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
}
.footer-links a i {
    width: 16px;
    font-size: 13px;
    color: #66bb6a;
    text-align: center;
}
.footer-links a:hover {
    background: #f1f8f1;
    color: #1b5e20;
    padding-left: 14px;
}
.footer-links a:hover i { color: #28a745; }

/* =====================
   KOLOM 3: KONTAK
   ===================== */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.contact-icon {
    width: 32px;
    height: 32px;
    background: #e8f5e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-contact span,
.footer-contact a {
    font-size: 13px;
    color: #4a7a4e;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover { color: #1b5e20; }

/* =====================
   KOLOM 4: SOSIAL MEDIA
   ===================== */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1.5px solid transparent;
}
.social-btn i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}
.social-btn:hover {
    transform: translateX(4px);
    border-color: currentColor;
}

/* Instagram */
.social-ig { background: #fce4f3; color: #c2185b; }
.social-ig:hover { background: #f8bbd9; color: #ad1457; }

/* Facebook */
.social-fb { background: #e3f2fd; color: #1565c0; }
.social-fb:hover { background: #bbdefb; color: #0d47a1; }

/* WhatsApp */
.social-wa { background: #e8f5e9; color: #2e7d32; }
.social-wa:hover { background: #c8e6c9; color: #1b5e20; }

/* =====================
   FOOTER BOTTOM
   ===================== */
.footer-bottom {
    background: #1b5e20;
    padding: 16px 0;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.55);
}
.footer-bottom-right i { color: #66bb6a; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-main { padding: 40px 0 28px; }
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .footer-bottom-right { display: none; }
}