
/* ==========================================================
   /ui/css/public/ljh-footer.css
   LJH – Public Footer
   ----------------------------------------------------------
   Ansvar:
   - Footer wrapper med Aqua Glass-design
   - Inner grid (brand, nav, version)
   - Varumärke och logotyp
   - Navigeringslänkar
   - Versionsinformation
   - Sociala medier (förberett)
   - Bottom bar med copyright
   ----------------------------------------------------------
   Version: 2.0 – 2026-04-01
   Används av: /components/footer_htm.php
   Laddas via: head_loader.php (publika sidan)
========================================================== */


/* ==========================================================
   FOOTER WRAPPER
========================================================== */

.ljh-footer {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    background: rgba(20,60,120,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(42,164,244,0.25);
    color: #cfe6ff;
}


/* ==========================================================
   INNER GRID
========================================================== */

.ljh-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}


/* ==========================================================
   VARUMÄRKE
========================================================== */

.ljh-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ljh-footer .footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.ljh-footer .brand-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7dd3fc;
    letter-spacing: -0.01em;
}


/* ==========================================================
   NAVIGERING
========================================================== */

.ljh-footer .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.ljh-footer .footer-nav a {
    color: rgba(186,220,255,0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ljh-footer .footer-nav a:hover { color: #7dd3fc; }


/* ==========================================================
   VERSIONSINFORMATION
========================================================== */

.ljh-footer .footer-version {
    font-size: 0.85rem;
    color: rgba(186,220,255,0.6);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ljh-footer .v-current { color: #7dd3fc; font-weight: 500; }
.ljh-footer .v-next    { opacity: 0.55; }


/* ==========================================================
   SOCIALA MEDIER – Förberett
========================================================== */

.ljh-footer .footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.ljh-footer .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(42,164,244,0.12);
    border: 1px solid rgba(42,164,244,0.22);
    color: #7dd3fc;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ljh-footer .footer-social a:hover {
    background: rgba(42,164,244,0.25);
    border-color: rgba(42,164,244,0.45);
}


/* ==========================================================
   BOTTOM BAR
========================================================== */

.ljh-footer .footer-bottom {
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(42,164,244,0.12);
    font-size: 0.82rem;
    color: rgba(186,220,255,0.45);
}


/* ==========================================================
   RESPONSIV
========================================================== */

@media (max-width: 768px) {
    .ljh-footer .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ljh-footer .footer-nav    { align-items: center; }
    .ljh-footer .footer-brand  { justify-content: center; }
    .ljh-footer .footer-social { justify-content: center; }
}

