/* ================================
   FOOTER BASE
================================ */

.site-footer {
    background: #070B14;
    padding: 3rem 1rem;
    font-size: 0.95rem;

    box-sizing: border-box;

    position: relative;
    overflow: hidden;

    /* Ensure footer clears previous content */
    clear: both;

    width: 100vw;
    /* full viewport width */
    max-width: 100vw;
    /* override any previous max-width */
    margin: 0;
    /* remove auto-centering */
}

/* Centered content container inside full-width footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ================================
   BUSINESS CARD COLUMN
================================ */

.business-card {
    display: flex;
    align-items: center;
    background-color: rgba(255, 216, 77, .12);
    gap: 1rem;

    padding: 1rem 1.25rem;
    border: 1px solid #FFD84D;
    border-radius: 5px;
}

.card-logo {
    background-image: url('../media/Logos/BEFOUND\ LOGO-Tag.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    width: 100px;
    height: 100px;
    min-width: 60px;

    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
}

.card-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #fff;
}

.card-details p {
    margin: 0.2rem 0;
}

/* ================================
   ADDRESS COLUMN
================================ */

.address-info h3,
.address-info .address-text {
    max-width: 300px;
    margin: 0 auto;
    text-align: left;
}

/* ================================
   GENERAL FOOTER SECTIONS
================================ */

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

.footer-section p {
    margin: 0.3rem 0;
}

/* ================================
   SOCIAL MEDIA
================================ */

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.social-media h3 {
    text-align: center;
    margin-left: -50px;
}

.social-icons a img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: brightness(1) saturate(1);
    transition: filter 0.3s, transform 0.3s;
}

.social-icons a:hover img {
    filter: brightness(1.5) saturate(1.5);
    transform: scale(1.1);
}

/* ================================
   COPYRIGHT
================================ */

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .business-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-logo {
        margin-bottom: 1rem;
        width: 80px;
        height: 80px;
    }

    .address-info h3,
    .address-info .address-text {
        text-align: center;
        max-width: 90%;
    }

    .social-icons {
        justify-content: center;
    }

    .social-media h3 {
        margin-left: 0px;
    }

    .social-icons a img {
        width: 70px;
        height: 70px;
    }
}

/* ================================
   AURORA BORDER TOP
================================ */

.aurora-border-top {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    pointer-events: none;
    z-index: 10;

    background: linear-gradient(90deg,
            transparent,
            rgba(42, 169, 255, 0.15),
            rgba(255, 216, 77, 0.12),
            rgba(0, 255, 255, 0.13),
            transparent);

    background-size: 400% 100%;
    animation: auroraFlow 15s linear infinite, auroraGlowPulse 6s ease-in-out infinite;
    filter: blur(30px);
    mix-blend-mode: screen;
    opacity: 0.7;
}

/* Aurora Glow Border Effect */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(circle at 20% 50%, rgba(42, 169, 255, 0.08), transparent 70%),
        radial-gradient(circle at 50% 40%, rgba(255, 216, 77, 0.07), transparent 75%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 255, 0.06), transparent 75%),
        linear-gradient(90deg,
            transparent,
            rgba(42, 169, 255, 0.03),
            rgba(255, 216, 77, 0.03),
            rgba(0, 255, 255, 0.03),
            transparent);

    box-shadow:
        0 0 120px 90px rgba(42, 169, 255, 0.025),
        0 0 160px 130px rgba(255, 216, 77, 0.02),
        0 0 200px 160px rgba(0, 255, 255, 0.02);

    filter: blur(14px);
    animation: auroraFlow 15s linear infinite, auroraShadowPulse 15s ease-in-out infinite;
    background-blend-mode: screen;
}

/* ================================
   ANIMATIONS
================================ */

@keyframes auroraFlow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 400% 0;
    }
}

@keyframes auroraShadowPulse {

    0%,
    100% {
        box-shadow:
            0 0 100px 60px rgba(42, 169, 255, 0.05),
            0 0 140px 90px rgba(255, 216, 77, 0.04),
            0 0 180px 120px rgba(0, 255, 255, 0.04);
    }

    50% {
        box-shadow:
            0 0 120px 80px rgba(42, 169, 255, 0.07),
            0 0 160px 110px rgba(255, 216, 77, 0.06),
            0 0 200px 140px rgba(0, 255, 255, 0.06);
    }
}

@keyframes auroraGlowPulse {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 0.75;
    }
}