/* ──────────────────────────────────────────
   footer-frontend.css
   PPID Kota Palopo — Footer Component
────────────────────────────────────────── */

.ftr-footer {
    --ftr-navy:    #001e45;
    --ftr-navy2:   #002b5b;
    --ftr-blue:    #2563eb;
    --ftr-gold:    #f59e0b;
    --ftr-text:    rgba(255,255,255,.75);
    --ftr-muted:   rgba(255,255,255,.45);
    --ftr-border:  rgba(255,255,255,.08);
    --ftr-hover:   rgba(255,255,255,.12);

    background: var(--ftr-navy);
    color: var(--ftr-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 56px 0 0;
    position: relative;
}

/* ── Garis emas di bagian paling atas ── */
.ftr-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ftr-blue) 0%, var(--ftr-gold) 50%, var(--ftr-blue) 100%);
}

/* ── Layout grid 4 kolom ── */
.ftr-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--ftr-border);
}

/* ── Kolom 1: Brand ── */
.ftr-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.ftr-logo-wrap img {
    width: 52px;
    height: auto;
    flex-shrink: 0;
    filter: brightness(1.1);
}
.ftr-brand-name {
    font-size: .95rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}
.ftr-brand-tagline {
    font-size: .68rem;
    font-weight: 600;
    color: var(--ftr-gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-top: 2px;
}
.ftr-brand-desc {
    font-size: .78rem;
    line-height: 1.75;
    color: var(--ftr-muted);
    margin-bottom: 20px;
}

/* Sosial media */
.ftr-socials {
    display: flex;
    gap: 8px;
}
.ftr-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ftr-hover);
    border: 1px solid var(--ftr-border);
    color: var(--ftr-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.ftr-social:hover {
    background: var(--ftr-blue);
    border-color: var(--ftr-blue);
    color: #fff;
    transform: translateY(-3px);
}

/* ── Kolom judul ── */
.ftr-col-title {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ftr-border);
    position: relative;
}
.ftr-col-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--ftr-gold);
    border-radius: 2px;
}

/* ── Link list ── */
.ftr-links {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ftr-links li {
    list-style: none !important;
}
.ftr-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ftr-text);
    text-decoration: none;
    padding: 5px 0;
    transition: color .2s, gap .2s;
}
.ftr-links a i {
    font-size: .5rem;
    color: var(--ftr-gold);
    flex-shrink: 0;
    opacity: .6;
    transition: opacity .2s, transform .2s;
}
.ftr-links a:hover {
    color: #fff;
    gap: 12px;
}
.ftr-links a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

/* ── Kontak list ── */
.ftr-contacts {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ftr-contacts li {
    list-style: none !important;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .78rem;
    line-height: 1.6;
    color: var(--ftr-text);
}
.ftr-contact-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--ftr-hover);
    border: 1px solid var(--ftr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ftr-gold);
    font-size: .75rem;
}

/* ── Bottom bar — copyright centered ── */
.ftr-bottom {
    background: rgba(0,0,0,.25);
    padding: 14px 0;
}
.ftr-copyright {
    font-size: .75rem;
    color: var(--ftr-muted);
    margin: 0;
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
    .ftr-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .ftr-footer { padding: 48px 0 0; }
    .ftr-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }
}