﻿/* ===========================
   Beamy Footer — Editorial / Timeless
   Font: Bookman Old Style (with fallbacks)
   =========================== */

:root {
    --footer-bg: #f7f7f5;
    --footer-border: rgba(0,0,0,0.10);
    --footer-text: #1f1f1f;
    --footer-muted: #5a5a5a;
    --beamy-accent: #7D85D0;
}

/* Base */
.beamy-footer,
.beamy-footer * {
    box-sizing: border-box;
    font-family: "Bookman Old Style", "Bookman", "URW Bookman L", "Palatino Linotype", Georgia, "Times New Roman", serif;
}

/* MAIN FOOTER BACKGROUND */
.beamy-footer {
    position: relative;
    color: var(--footer-text);
    border-top: 1px solid var(--footer-border);
    margin-top: 120px;
    /* ✅ correct way to load the image */
    background-image: url("../../Multimedia/footerbg.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    /* fallback color if image fails */
    background-color: var(--footer-bg);
    overflow: hidden;
}

    /* Soft readability overlay (keeps background visible, text readable) */
    .beamy-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(247,247,245,0.94) 0%, rgba(247,247,245,0.86) 38%, rgba(247,247,245,0.68) 70%, rgba(247,247,245,0.40) 100% );
        z-index: 0;
    }

/* Ensure content sits above overlay */
.beamy-footer-inner,
.beamy-footer-bottom {
    position: relative;
    z-index: 1;
}

/* Layout */
.beamy-footer-inner {
    max-width: 1020px;
    margin: 0 auto;
    padding: 72px 20px 56px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

/* Mission section */
.beamy-footer-mission h2 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--beamy-accent);
}

.beamy-footer-mission p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.85;
    max-width: 860px;
}

/* Meta section */
.beamy-footer-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    padding-top: 34px;
    border-top: 1px solid var(--footer-border);
}

/* Blocks */
.beamy-footer-block h3 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.beamy-footer-block p {
    margin: 0 0 8px;
    font-size: 15px;
}

.beamy-footer-block .timezone {
    color: var(--footer-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

/* Hours list */
.beamy-footer-block ul.hours {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

    .beamy-footer-block ul.hours li {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        font-size: 14px;
        padding: 4px 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

        .beamy-footer-block ul.hours li:last-child {
            border-bottom: 0;
        }

        .beamy-footer-block ul.hours li span:last-child {
            color: var(--footer-muted);
            white-space: nowrap;
        }

/* Bottom bar */
.beamy-footer-bottom {
    text-align: center;
    padding: 18px 12px;
    font-size: 13px;
    color: var(--footer-muted);
    border-top: 1px solid var(--footer-border);
    /* keep bottom clean; background stays visible above */
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ===========================
   Mobile
   =========================== */

@media (max-width: 768px) {
    .beamy-footer {
        background-position: center center;
    }

        .beamy-footer::before {
            background: linear-gradient( to top, rgba(247,247,245,0.96) 0%, rgba(247,247,245,0.90) 50%, rgba(247,247,245,0.72) 100% );
        }

    .beamy-footer-inner {
        padding: 52px 16px 44px;
        gap: 40px;
    }

    .beamy-footer-mission h2 {
        font-size: 28px;
        line-height: 1.15;
    }

    .beamy-footer-meta {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .beamy-footer-block ul.hours li {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .beamy-footer-mission p {
        font-size: 15px;
    }
}
