/**
 * ABHO Theme — Footer Premium Styles
 *
 * Beautiful branded footer with gradient background, logo, nav,
 * contact info, social icons and copyright bar.
 *
 * Primary: #0067AC → #004D82 → #003A63
 * Accent:  #95C11F
 *
 * @package ABHO
 * @since   1.4.7
 */

/* =====================================================================
   DESIGN TOKENS (scoped)
   ===================================================================== */
.abho-footer {
    --f-primary: #0067AC;
    --f-primary-dark: #004D82;
    --f-primary-darker: #003A63;
    --f-accent: #95C11F;
    --f-white: #ffffff;
    --f-white-90: rgba(255, 255, 255, .9);
    --f-white-70: rgba(255, 255, 255, .7);
    --f-white-50: rgba(255, 255, 255, .5);
    --f-white-20: rgba(255, 255, 255, .2);
    --f-white-10: rgba(255, 255, 255, .1);
    --f-white-05: rgba(255, 255, 255, .05);
    --f-radius: 10px;
    --f-transition: .25s ease;
}

/* =====================================================================
   WAVE DECORATION
   ===================================================================== */
.abho-footer__wave {
    position: relative;
    overflow: hidden;
    line-height: 0;
    color: var(--f-primary-dark);
    margin-top: -1px;
}

.abho-footer__wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* =====================================================================
   MAIN FOOTER
   ===================================================================== */
.abho-footer__main {
    background: linear-gradient(165deg, var(--f-primary) 0%, var(--f-primary-dark) 40%, var(--f-primary-darker) 100%);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 2.5rem;
}

/* Decorative background elements */
.abho-footer__main::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--f-white-05) 0%, transparent 70%);
    pointer-events: none;
}

.abho-footer__main::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--f-white-05) 0%, transparent 70%);
    pointer-events: none;
}

/* Inner container */
.abho-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.abho-footer__main .abho-footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* =====================================================================
   COLUMN: BRAND (Logo + About + Social)
   ===================================================================== */
.abho-footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: opacity var(--f-transition);
}

.abho-footer__logo:hover {
    opacity: .85;
}

.abho-footer__logo img {
    width: 220px;
    height: auto;
    filter: brightness(1.05);
}

.abho-footer__about {
    color: var(--f-white-70);
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0 0 1.75rem;
    max-width: 420px;
}

/* Social */
.abho-footer__social-label {
    color: var(--f-white-90);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 .75rem;
}

.abho-footer__social-icons {
    display: flex;
    gap: 10px;
}

.abho-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--f-white-10);
    color: var(--f-white);
    transition: all var(--f-transition);
    border: 1px solid var(--f-white-10);
}

.abho-footer__social-link:hover {
    background: var(--f-accent);
    color: var(--f-primary-darker);
    border-color: var(--f-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(149, 193, 31, .35);
}

.abho-footer__social-link svg {
    width: 18px;
    height: 18px;
}

/* =====================================================================
   COLUMN: QUICK NAV
   ===================================================================== */
.abho-footer__heading {
    color: var(--f-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    padding-bottom: .75rem;
    position: relative;
    letter-spacing: .01em;
}

.abho-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--f-accent);
    border-radius: 2px;
}

/* Navigation menu reset */
.abho-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
    column-gap: 1.25rem;
}

.abho-footer__menu li {
    break-inside: avoid;
    margin-bottom: .35rem;
}

.abho-footer__menu li a {
    color: var(--f-white-70);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--f-transition), transform var(--f-transition);
    position: relative;
}

.abho-footer__menu li a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid var(--f-accent);
    border-top: 1.5px solid var(--f-accent);
    transform: rotate(45deg);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--f-transition), transform var(--f-transition);
    margin-left: -12px;
}

.abho-footer__menu li a:hover::before {
    opacity: 1;
    margin-left: 0;
}

.abho-footer__menu li a:hover {
    color: var(--f-white);
    transform: translateX(4px);
}

/* Submenus: mostrar em layout flat */
.abho-footer__menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.abho-footer__menu .sub-menu li {
    break-inside: avoid;
    margin-bottom: .35rem;
}

.abho-footer__menu .sub-menu li a {
    color: var(--f-white-70);
    text-decoration: none;
    font-size: 0.825rem;
    line-height: 1.5;
    padding: 4px 0 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--f-transition), transform var(--f-transition);
    position: relative;
}

.abho-footer__menu .sub-menu li a::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--f-accent);
    border-top: 1.5px solid var(--f-accent);
    transform: rotate(45deg);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--f-transition), transform var(--f-transition);
    margin-left: -11px;
}

.abho-footer__menu .sub-menu li a:hover::before {
    opacity: 1;
    margin-left: 0;
}

.abho-footer__menu .sub-menu li a:hover {
    color: var(--f-white);
    transform: translateX(4px);
}

/* =====================================================================
   COLUMN: CONTACT
   ===================================================================== */
.abho-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.abho-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1.15rem;
    color: var(--f-white-70);
    font-size: 0.875rem;
    line-height: 1.65;
}

.abho-footer__contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--f-accent);
    opacity: .9;
}

.abho-footer__contact-list li strong {
    color: var(--f-white-90);
    font-weight: 600;
}

.abho-footer__contact-list li a {
    color: var(--f-white-70);
    text-decoration: none;
    transition: color var(--f-transition);
}

.abho-footer__contact-list li a:hover {
    color: var(--f-accent);
}

/* =====================================================================
   BOTTOM BAR (Copyright)
   ===================================================================== */
.abho-footer__bottom {
    background: rgba(0, 0, 0, .35);
    padding: 1.1rem 0;
    border-top: 1px solid var(--f-white-10);
}

.abho-footer__copyright {
    color: var(--f-white-90);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
    letter-spacing: .02em;
    font-weight: 400;
}

.abho-footer__copyright a {
    color: var(--f-accent);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--f-transition);
}

.abho-footer__copyright a:hover {
    color: var(--f-white);
    text-decoration: underline;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
    .abho-footer__main .abho-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .abho-footer__col--brand {
        grid-column: 1 / -1;
    }

    .abho-footer__about {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .abho-footer__main {
        padding: 2.5rem 0 2rem;
    }

    .abho-footer__inner {
        padding: 0 1.25rem;
    }

    .abho-footer__main .abho-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .abho-footer__logo img {
        width: 180px;
    }

    .abho-footer__menu {
        columns: 2;
        column-gap: 1rem;
    }

    .abho-footer__menu .sub-menu {
        break-inside: avoid;
    }

    .abho-footer__wave svg {
        height: 30px;
    }

    .abho-footer__copyright {
        font-size: 0.78rem;
        line-height: 1.6;
        padding: 0 .5rem;
    }

    .abho-footer__menu .sub-menu li a {
        font-size: 0.8rem;
        padding-left: 6px;
    }
}

@media (max-width: 420px) {
    .abho-footer__menu {
        columns: 1;
    }

    .abho-footer__social-icons {
        justify-content: center;
    }

    .abho-footer__logo {
        text-align: center;
        display: block;
    }

    .abho-footer__about {
        text-align: center;
    }

    .abho-footer__social-label {
        text-align: center;
    }

    .abho-footer__copyright {
        font-size: 0.73rem;
        line-height: 1.7;
    }
}
