/* Footer theme — light "glass" panel adapted from the internal portal (final-check).
   Token values from that app's design system are inlined here since this project
   does not use CSS custom properties for the footer. */

/* Neutralize the site-wide `footer { background:#28a745; padding:3rem 0 }` rule
   (main-utilities.css) that otherwise shows as green bands above/below the panel. */
.site-footer { position: relative; margin-top: auto; padding: 0; background-color: transparent !important; }

.footer-main {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .05);
    min-height: 340px;
}

/* Content sits above the seasonal effect; pointer-events off lets the animated
   tree behind the footer stay clickable, then re-enabled on links/buttons. */
.footer-content { position: relative; z-index: 2; pointer-events: none; }
.footer-content a, .footer-content button { pointer-events: auto; }

.footer-brand { text-align: center; padding: 2.25rem 1rem 0; }
.footer-logo { max-height: 54px; width: auto; }

.footer-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 4rem 4.5rem;
    max-width: 1200px;
    margin: 0 auto;
    color: #1a1a1a;
    text-align: left;
}
.footer-col { flex: 1 1 0; min-width: 0; }
.footer-col--company { flex: 1.4 1 0; }
.footer-col h4 { margin-bottom: 1rem; font-size: 1.1rem; color: #2e7d32; }
.footer-branch-title { font-size: .98rem; color: #1b5e20; margin: 1rem 0 .35rem; }
.footer-col p { color: #6b7d70; margin-bottom: .5rem; font-size: .95rem; line-height: 1.5; }
.footer-company-name { font-weight: 600; color: #3c4a40; margin-bottom: .1rem; }
.footer-company-loc { margin-bottom: .65rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a { color: #6b7d70; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #2e7d32; }
.footer-col p i { color: #2e7d32; width: 1.1rem; }

/* Permanent couple.png decoration, pinned to the corner. Sits behind the text
   (z-index 1) so it never covers content, and hides during rain / snow. */
.footer-couple-art {
    position: absolute;
    right: 140px;
    bottom: 2px;
    width: 174px;
    height: auto;
    max-height: 116px;
    z-index: 35;
    object-fit: contain;
    opacity: .95;
    pointer-events: none;
    display: none;
    transition: opacity .3s ease;
}
/* The couple appears only on the summer beach, where it rests on the sand band;
   hidden during live-weather rain / storm. */
#seasonal-theme-container.theme-summer ~ .footer-couple-art { display: block; }
#seasonal-theme-container.wx-rain ~ .footer-couple-art,
#seasonal-theme-container.wx-storm ~ .footer-couple-art { display: none; }

/* Service-hours pill: live OPEN/CLOSED chip + the hours range. */
.footer-hours { position: relative; z-index: 2; margin: 0 0 1.5rem; text-align: center; }
.hours-pill {
    display: inline-flex; align-items: center; gap: .55rem; line-height: 1;
    padding: .38rem .95rem .38rem .4rem; border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 125, 50, .20); color: #1b5e20;
    font-weight: 700; font-size: .86rem; letter-spacing: .01em;
    box-shadow: 0 10px 26px rgba(46, 125, 50, .22), inset 0 1px 0 rgba(255, 255, 255, .75);
}
.hours-status {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .7rem; border-radius: 999px;
    background: linear-gradient(135deg, #43a047, #2e7d32); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 3px 9px rgba(46, 125, 50, .4);
}
.hours-status.closed {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    box-shadow: 0 3px 9px rgba(107, 114, 128, .35);
}
.hours-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .75);
    animation: hoursPulse 2s ease-out infinite;
}
.hours-status.closed .hours-dot { animation: none; opacity: .85; }
@keyframes hoursPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.hours-time { display: inline-flex; align-items: center; gap: .35rem; color: #1b5e20; }
.hours-ico { font-size: 1rem; line-height: 1; }

.footer-copyright {
    position: relative; z-index: 2; text-align: center;
    padding: 1.5rem 2rem 2rem; color: #6b7d70; font-size: .85rem;
    border-top: 1px solid #e2eae4;
    text-shadow: 0 0 5px #fff, 0 1px 2px #fff;
}
.footer-copyright a { color: #2e7d32; text-decoration: none; }
.footer-copyright a:hover { text-decoration: underline; }

/* On desktop the copyright floats over the seasonal band with no divider. */
@media (min-width: 901px) {
    .footer-copyright { background: transparent; border-top: none; }
}

@media (max-width: 768px) {
    .footer-info { flex-direction: column; gap: 1.75rem; padding: 2rem 1.5rem 3.25rem; }
    .footer-couple-art { right: 8px; width: 120px; max-height: 80px; }
    .footer-copyright { padding: 1.25rem 1rem 1.75rem; font-size: .78rem; }
}
