/**
 * footer.css - Site Footer
 *
 * Three-column footer with a centered logo column flanked by
 * business info (left) and compact business hours + quick links
 * (right). All column content is centered for consistency with
 * the rest of the site's centered layout.
 *
 * Layout (desktop):
 *   [ Business info ]  [ Logo (centered) ]  [ Hours + Quick Links ]
 *
 * @package LibrandiOutdoorPower
 * @since   1.3.0
 * @updated 1.4.0 - Footer nav switched to --font-mono to match
 *                  the header nav. Hours compact gets the mono
 *                  treatment so the day/time pairs read as data.
 * @updated 1.5.0 - Footer nav switched from JetBrains Mono to
 *                  Bevan at --text-lg so footer signage matches
 *                  the new header nav voice. Logo column gets a
 *                  cream "plate" treatment because the site mark
 *                  is a traced SVG with dark grayscale fills that
 *                  disappear on the navy footer background.
 * @updated 1.5.1 - Plate removed. The source SVG was updated to
 *                  include white fills inside the letterforms so
 *                  the mark reads cleanly on the dark footer
 *                  without needing a contrast backdrop. Hover
 *                  lift kept as the single interactive affordance.
 */

.site-footer {
    background-color: var(--color-gray-900);
    color: var(--color-gray-200);
    padding-top: var(--space-16);
    text-align: center;
}
.site-footer h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
}
.site-footer a {
    color: var(--color-gray-300);
    transition: color var(--duration) var(--ease);
}
.site-footer a:hover {
    color: var(--color-white);
}


/* ==========================================================
   Footer Grid
   Mobile: stacked single column (rules in responsive.css).
   Desktop (768px+): 1fr auto 1fr so the logo column is only as
   wide as the logo, with info/links filling equal space either
   side. Rule lives in responsive.css.
   ========================================================== */
.site-footer__grid {
    display: grid;
    gap: var(--space-10);
    padding-bottom: var(--space-12);
    align-items: center;
}
.site-footer__col {
    font-size: var(--text-sm);
    line-height: 1.7;
}


/* ==========================================================
   Column 1: Business Info
   ========================================================== */
.site-footer__col--info p {
    margin-bottom: var(--space-4);
}


/* ==========================================================
   Column 2: Centered Logo
   Logo sits directly on the dark footer background -- no plate,
   no chrome. The source SVG was updated to include white fills
   inside the letterforms so the mark has its own internal
   contrast and needs no external backdrop. Only a subtle hover
   lift is kept as the interactive affordance.
   ========================================================== */
.site-footer__col--brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer .lop-logo--footer {
    transition: transform var(--duration) var(--ease);
}
.site-footer .lop-logo--footer:hover {
    transform: translateY(-2px);
}
.site-footer .lop-logo--footer .lop-logo__image {
    height: 136px;
    max-width: 460px;
}

@media (max-width: 480px) {
    .site-footer .lop-logo--footer .lop-logo__image {
        height: 115px;
        max-width: 380px;
    }
}


/* ==========================================================
   Column 3: Hours + Quick Links (stacked)
   ========================================================== */
.site-footer__col--links {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    align-items: center;
}


/* ----- Compact business hours -----
 * Mono face reinforces the data-like tone so day/time pairs
 * feel like rows of a terminal schedule rather than editorial copy.
 */
.hours-compact {
    list-style: none;
    display: inline-flex;
    flex-direction: column;
    gap: var(--space-1);
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    line-height: 1.6;
}
.hours-compact li {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-2);
}
.hours-compact__days {
    font-weight: 600;
    color: var(--color-gray-200);
}
.hours-compact__time {
    color: var(--color-gray-400);
}


/* ----- Footer nav list -----
 * Bevan at --text-lg so footer signage matches the header nav
 * voice. No uppercase treatment -- Bevan is already heavy, and
 * uppercase at this size would be shouty next to the rest of
 * the footer.
 */
.footer-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-5);
}
.footer-nav-list a {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: var(--space-1) 0;
    color: var(--color-gray-300);
    background: transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    transition: color        var(--duration) var(--ease),
                border-color var(--duration) var(--ease);
}
.footer-nav-list a:hover {
    color: var(--color-accent-light);
    background: transparent;
    border-bottom-color: var(--color-accent-light);
}
.footer-nav-list .current-menu-item a {
    color: var(--color-white);
    background: transparent;
    border-bottom-color: var(--color-accent);
    border-bottom-width: 3px;
}


/* ==========================================================
   Footer address block overrides
   ========================================================== */
.site-footer .address-block a {
    color: var(--color-gray-300);
}
.site-footer .address-block a:hover {
    color: var(--color-white);
}


/* ==========================================================
   Bottom bar / colophon
   ========================================================== */
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-block: var(--space-6);
}
.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    text-align: left;
}
.colophon a {
    color: var(--color-gray-500);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.colophon a:hover {
    color: var(--color-white);
}
