﻿/* ============================================================
   FOOTER Bayawan City Council | Refined modern layout
   ============================================================ */

.footer-green-bg {
    --footer-text: rgba(255, 255, 255, 0.86);
    --footer-muted: rgba(255, 255, 255, 0.68);
    --footer-accent: #ffc72c;
    --footer-surface: rgba(255, 255, 255, 0.07);
    background:
        radial-gradient(1200px 280px at 10% -10%, rgba(255, 255, 255, 0.11), transparent 55%),
        linear-gradient(180deg, #1d7b3f 0%, #16512d 34%, #101312 100%);
    color: var(--footer-text);
    margin: 0;
}

.footer-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.footer-card {
    background: var(--footer-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(1px);
}

.footer-col {
    padding: 24px;
    min-width: 0;
}

.footer-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-map {
    overflow: hidden;
    min-height: 320px;
}

.footer-map iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
}

.footer-logo-link {
    display: inline-flex;
    border-radius: 999px;
    margin-bottom: 16px;
}

.footer-logo-link:focus-visible,
.footer-links-list a:focus-visible,
.footer-social a:focus-visible,
.footer-contact a:focus-visible {
    outline: 2px solid var(--footer-accent);
    outline-offset: 3px;
}

.footer-logo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-info,
.footer-contact,
.footer-links {
    font-size: 0.92rem;
    line-height: 1.72;
    color: var(--footer-text);
}

.footer-info {
    margin: 0;
    color: var(--footer-muted);
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    margin: 4px 0;
}

.footer-contact a,
.footer-links-list a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-contact a:hover,
.footer-links-list a:hover {
    color: var(--footer-accent);
}

.footer-links-title {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffe1aa;
}

.footer-links-title-tight {
    margin-top: 18px;
}

.footer-links-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 8px;
}

.footer-links-list-tight {
    margin-bottom: 14px;
}

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 199, 44, 0.2);
    border-color: rgba(255, 199, 44, 0.72);
}

.footer-social img {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 14px 16px 18px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

@media (max-width: 1080px) {
    .footer-shell {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 16px 20px;
    }

    .footer-map {
        min-height: 260px;
    }

    .footer-map iframe {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .footer-col {
        padding: 20px;
    }

    .footer-logo {
        width: 70px;
        height: 70px;
    }

    .footer-info,
    .footer-contact,
    .footer-links {
        font-size: 0.88rem;
    }
}
