
/* ============================================================
   /assets/style/header.css – Version 3.2 (2025-12-07)
   LJH HEADER – Stabil + Pixelperfekt Dark Aqua Edition
============================================================ */


.ljh-admin-header .header-left,
.ljh-admin-header .header-hero {
    display: none !important;
}



/* ------------------------------------------------------------
   1) HEADER – YTTERSKAL
------------------------------------------------------------ */
.ljh-header {
    width: 100%;
    background: rgba(15,23,42,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(18px);
    position: relative;
    z-index: 40;
}

.ljh-admin-header .header-left,
.ljh-admin-header .header-hero {
    display: none;
}




/* ------------------------------------------------------------
   2) INRE FLEX-LAYOUT (3 kolumner)
------------------------------------------------------------ */

.ljh-header-inner {
    max-width: var(--ljh-page-max);
    margin: 0 auto;

    padding: 6px 0;  /* ✔ 6px padding-top/bottom */

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 2rem;
    min-height: 260px;
}



/* ------------------------------------------------------------
   3) HERO-BILD – EGEN ZON TILL VÄNSTER
------------------------------------------------------------ */

.header-left {
    position: relative;
    width: 460px; /* Bildbredd 420 + luft */
    flex-shrink: 0;
}

.header-hero {
    width: 420px;
    height: 240px;

    margin-left: -2px;    /* 🔥 Exakt hur du ville ha det */
    border-radius: 8px;

    background-image: url('/assets/pics/ljhwebb_logotype.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;

    filter:
        drop-shadow(0 0 18px rgba(96,165,250,0.35))
        drop-shadow(0 0 32px rgba(15,23,42,0.65));

    mask-image: linear-gradient(to right,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,.95) 40%,
        rgba(0,0,0,.65) 70%,
        rgba(0,0,0,0) 100%
    );

    mix-blend-mode: lighten;
}



/* ------------------------------------------------------------
   4) NAVIGATION – MITTEN
------------------------------------------------------------ */

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.6rem;
}

.nav-links a {
    color: var(--ljh-text-soft);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--ljh-aqua-light);
}



/* ------------------------------------------------------------
   5) HÖGER: STATS + LOGIN
------------------------------------------------------------ */

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* Stats-pill */
.stats-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;

    background: rgba(15,23,42,0.75);
    border: 1px solid rgba(148,163,184,0.55);
    border-radius: 9999px;

    color: var(--ljh-aqua-light);
    padding: .45rem .9rem;
    font-size: .85rem;
    white-space: nowrap;

    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 12px rgba(255,255,255,0.10),
        0 0 12px rgba(96,165,250,0.25);
}

.stats-pill .dot {
    width: .5rem;
    height: .5rem;
    background: #22c55e;
    border-radius: 50%;
}

.stats-pill .sep {
    opacity: .7;
}



/* Login-knapp */
.header-login-btn {
    padding: 0.55rem 1.3rem;
    border-radius: 12px;

    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.34);
    backdrop-filter: blur(14px);

    color: #dbeafe;
    font-weight: 600;
    text-decoration: none;

    box-shadow:
        inset 0 0 22px rgba(255,255,255,0.25),
        0 0 22px rgba(56,189,248,0.35);

    transition: background 0.2s ease, transform 0.2s ease;
}

.header-login-btn:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
}



/* ------------------------------------------------------------
   6) RESPONSIVT
------------------------------------------------------------ */

@media (max-width: 1024px) {

    .ljh-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-hero {
        margin-left: 0;
    }

    .header-center {
        margin-top: 1rem;
    }

    .header-right {
        margin-top: 1rem;
        align-self: center;
    }
}




/* ============================================================
   ADMIN HEADER – Logotyp + Titel (Aqua OS Edition)
============================================================ */

.ljh-admin-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 16px;  /* 🔥 Mindre padding för att loggan ska hamna närmare vänster */
}

.ljh-admin-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ljh-admin-left {
    display: flex;
    align-items: center;
    gap: 14px; /* avstånd mellan logga och text */
}

/* ------------------------------------------------------------
   LOGOTYPE (uppdaterad)
   Storleken ska vara exakt 248 x 230 px
   och ligga nära vänsterkanten.
------------------------------------------------------------ */

.ljh-admin-logo {
    width: 248px !important;     /* exakt bredd */
    height: 230px !important;    /* exakt höjd */

    object-fit: contain;
    object-position: left center;

    margin-left: -6px;   /* Trycker loggan närmare vänsterkanten */
    display: block;

    filter: drop-shadow(0 0 12px rgba(255,255,255,0.35));
}


/* ------------------------------------------------------------
   TITELTEXT (Adminpanel)
------------------------------------------------------------ */

.ljh-admin-title {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.6px;
    text-shadow: 0 0 8px rgba(255,255,255,0.25);
}

/* ======================================================
   ADMIN MODE – Inaktivera vanlig header-hero helt
====================================================== */
.no-hero .header-left,
.no-hero .header-hero {
    display: none !important;
}




