/* ===========================================================================
   Footer Styles — Mobile-First
   =========================================================================== */

/* ===========================================================================
   BASE STYLES (Mobile First)
   =========================================================================== */

#footer-container {
    width: 100%;
}

/* Footer canvas wrapper - positioned only over footer */
.footer .canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#footer-ripple-canvas {
    width: 100%;
    height: 100%;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    font-family: var(--font-ui);
    font-weight: 400;
    max-width: 100%;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-unit);
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    border: var(--border-std);
    border-radius: var(--border-radius);
    border-color: var(--primary-blue);
}

/* ===========================================================================
   FOOTER CONTENT SECTIONS
   =========================================================================== */

/* Footer logo - inherits all base .logo styles but overrides sizing */
.footer-logo {
    /* Mobile-first: square logo sized by viewport width */
    width: clamp(40px, 15vw, 60px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: var(--border-std);
    border-color: var(--primary-blue);
    margin-right: var(--spacing-sm);
}

.footer-logo-image {
    /* Inherits base .logo-image styles */
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
    border-radius: 50%;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    max-width: 80%;
}

/* ===========================================================================
   FOOTER TYPOGRAPHY & CONTENT
   =========================================================================== */

.footer-quote {
    text-shadow: var(--text-shadow);
}

.footer-heading {
    color: var(--primary-blue);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
}

.footer-business-hours {
    color: var(--text-color);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    margin: var(--spacing-xs) 0;
    text-align: center;
}

.footer-business-hours span {
    font-weight: bold;
}

.footer-business-hours span.footer-heading {
    color: var(--primary-blue);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    margin-right: calc(var(--spacing-unit) * 0.25);
}

.footer-location {
    font-size: var(--font-size-xs);
    color: var(--text-color);
    margin: var(--spacing-sm) 0;
    font-weight: var(--font-weight-medium);
    text-align: center;
}

.footer-copyright {
    font-size: var(--font-size-xs);
    color: var(--text-color);
    margin: var(--spacing-sm) 0;
    opacity: 0.8;
    text-align: center;
}

.footer-license {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    color: var(--text-muted);
    line-height: var(--line-height-base);
    margin: 0;
    padding: 0;
}

/* ===========================================================================
   DESKTOP MEDIA QUERY (min-width: 769px)
   =========================================================================== */

@media (min-width: 769px) {
    .footer-logo {
        width: clamp(50px, 18vw, 80px);
        margin-right: var(--spacing-sm);
    }
    .footer-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    
    .footer-info {
        flex-direction: row;
        width: 80%;
        gap: var(--spacing-md);
    }
    
    .footer-business-hours {
        font-size: var(--font-size-xl);
        line-height: var(--line-height-xl);
        margin: auto;
    }
}