/* Footer */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 125px;
    background: transparent;
    backdrop-filter: blur(5px);
    padding: 40px 0px 40px 0px;
}

.footerlogo {
    display: flex;
    align-items: center;
    height: 100%;
}

.footerlogo img {
    max-height: 4.3rem;
}

/* All rights reserved */
.footerrights {
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Orbitron', 'josefin sans', 'poppins';
    padding: 5px 0px 5px 0px;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 0.35em #7ae7e7, 0 0 0.35em #7ae7e7, 0 0 0.35em #1b2bae;
}

/* ============ Sociala Media Ikoner =========== */
.footericons {
    display: flex;
    align-items: center;
    height: 100%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 32px;
    color: #7ae7e7;
    text-decoration: none;
    transition: all 0.4s ease;
    background: transparent;
}

.social-icons a {
    filter: drop-shadow(0 0 8px #7ae7e7);
}

.social-icons a:hover {
    transform: scale(1.2) translateY(-5px);
    color: #fff;   /* Slight brightening for extra shine */
    filter:
        drop-shadow(0 0 10px #fff)
        drop-shadow(0 0 20px #7ae7e7)
        drop-shadow(0 0 35px #7ae7e7)
        drop-shadow(0 0 55px #7ae7e7);
}

/* Even stronger glow on the icon itself */
.social-icons a:hover i {
    text-shadow: 
        0 0 10px #fff,
        0 0 20px #7ae7e7,
        0 0 30px #7ae7e7,
        0 0 50px #7ae7e7;
}

/* ====================== RESPONSIVE FOOTER ====================== */

@media (max-width: 922px) {
    footer {
        flex-direction: column;
        height: auto;
        padding: 10px 0px;
    }

    .footerlogo,
    .footerrights,
    .footericons {
        width: 100%;
        justify-content: center;
    }

    /* Logo on top */
    .footerlogo {
        margin-bottom: 1px;
    }

    .footerlogo img {
        max-height: 4rem;
    }

    /* Social icons in the middle - slightly larger gap for better touch targets */
    .footericons {
        order: 2;           /* This forces it to middle position */
        margin: 1px 0;
    }

    /* Rights text at the bottom */
    .footerrights {
        order: 3;           /* This forces it to bottom position */
        font-size: 18px;
        padding: 10px 0;
        text-align: center;
    }

    /* Social icons styling for mobile */
    .social-icons {
        gap: 40px;
    }

    .social-icons a {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    footer {
        padding: 10px 0;
    }

    .footerrights {
        font-size: 16px;
    }

    .social-icons {
        gap: 40px;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}