/* ============================================================
   Heron Lakes — Footer
   Mobile-first visual styles
   ============================================================ */

/* -------------------------------------------------------
   Site Footer
   ------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
}

/* -------------------------------------------------------
   Footer Inner — main body
   Mobile: column stack, logo first, centered
   Desktop: 3-column grid (menus | logo | contact)
   ------------------------------------------------------- */
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 2.5rem);
    padding-block: 2.5rem;
    text-align: center;
}

/* -------------------------------------------------------
   Footer Logo — pulled to top on mobile via order
   ------------------------------------------------------- */
.footer-logo {
    order: -1;
}

.footer-logo a {
    display: block;
}

.footer-logo-img {
    width: 100%;
    max-width: clamp(150px, 18vw, 250px);
    height: auto;
    object-fit: contain;
    margin-inline: auto;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
}

/* -------------------------------------------------------
   Footer Menus
   ------------------------------------------------------- */
.footer-menus {
    display: flex;
    gap: clamp(2rem, 6vw, 4rem);
    justify-content: center;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-menu .menu-item a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.footer-menu .menu-item a:hover {
    color: var(--color-blue-bright);
}

/* -------------------------------------------------------
   Footer Contact (Phone + Address)
   ------------------------------------------------------- */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer-phone {
    line-height: 1;
}

.footer-phone a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition-fast);
}

.footer-phone a:hover {
    color: var(--color-blue-bright);
}

.footer-address {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.65;
}

/* -------------------------------------------------------
   Footer Bottom Bar — muted border separator
   ------------------------------------------------------- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-block: var(--space-md);
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.5;
}

/* Copyright nav menu with | separator */
.copyright-menu {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.copyright-menu .menu-item + .menu-item::before {
    content: '|';
    margin-inline: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.copyright-menu .menu-item a {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.50);
    transition: color var(--transition-fast);
}

.copyright-menu .menu-item a:hover {
    color: var(--color-white);
}

/* -------------------------------------------------------
   Desktop — 3-column grid
   ------------------------------------------------------- */
@media (min-width: 769px) {
    .footer-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "menus logo contact";
        align-items: center;
        text-align: left;
    }

    .footer-menus {
        grid-area: menus;
        justify-content: flex-start;
    }

    .footer-logo {
        grid-area: logo;
        order: 0;
        text-align: center;
    }

    .footer-contact {
        grid-area: contact;
        align-items: flex-end;
        text-align: right;
    }

    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .copyright-menu {
        justify-content: flex-end;
    }
}
