
/* ==========================================================
   /ui/css/public/ljh-start.css
   LJH – Start Page (World: Public / Marketing)
   ----------------------------------------------------------
   Ansvar:
   - Layout och struktur för startsidan
   - Header, main layout, sidebar
   - Content blocks och paneler
   - Hero refinement
   - CTA-knapp (is-start variant)
   - Formulär (scoped override)
   - Booking modal och slot-väljare
   - Top Secret block med lampanimation
   - Story cards – alternating layout
   ----------------------------------------------------------
   WORLD RULE: All CSS MÅSTE vara scopad med .world-start
   Ingen reset, ingen body/html-styrning,
   ingen global bakgrund, påverkar inte andra worlds
   ----------------------------------------------------------
   Version: 1.4 – 2026-05-25
   Används av: index.php
   Laddas via: css_loader.php (publika sidan)
========================================================== */


/* ==========================================================
   WORLD TOKENS – Lokala CSS-variabler
========================================================== */

.world-start {
    --start-glass:       rgba(255,255,255,0.06);
    --start-border:      rgba(255,255,255,0.14);
    --start-shadow:      0 20px 60px rgba(0,0,0,0.45);
    --start-accent:      #2aa4f4;
    --start-accent-soft: rgba(42,164,244,0.25);
}


/* ==========================================================
   HEADER
========================================================== */

.world-start .ljh-start-header {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(
        180deg,
        rgba(10,20,35,0.85),
        rgba(10,20,35,0.65)
    );
    border-bottom: 1px solid var(--start-border);
}

.world-start .ljh-start-header .ljh-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.world-start .ljh-start-header .start-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.world-start .ljh-start-header .start-nav a {
    color: #cfe6ff;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.world-start .ljh-start-header .start-nav a:hover  { color: #ffffff; }
.world-start .ljh-start-header .header-login-btn   { margin-left: 20px; }


/* ==========================================================
   BANNER SLOT
========================================================== */

.world-start .ljh-start-banner {
    max-width: 1320px;
    margin: 24px auto 0;
    padding: 0 28px;
}


/* ==========================================================
   MAIN LAYOUT
========================================================== */

.world-start .ljh-start-main {
    width: 100%;
    max-width: 1400px;
    padding: 40px 0 80px;
}

.world-start .ljh-start-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 36px;
    align-items: start;
    padding: 0 28px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .world-start .ljh-start-layout {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   KOLUMNER
========================================================== */

.world-start .ljh-start-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.world-start .ljh-start-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: linear-gradient(
        180deg,
        rgba(180,210,255,0.12),
        rgba(140,185,255,0.08)
    );
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(180,220,255,0.22);
    border-radius: 22px;
    padding: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 0 40px rgba(140,185,255,0.08),
        0 20px 50px rgba(0,0,0,0.45);
}


/* ==========================================================
   SIDEBAR – KORT (insjunkna i isblocket)
========================================================== */

.world-start .ljh-start-right .ljh-right-module,
.world-start .ljh-start-right .ljh-right-cta,
.world-start .ljh-start-right .ljh-secret-block {
    background: linear-gradient(
        180deg,
        rgba(8,18,35,0.75),
        rgba(5,12,25,0.85)
    );
    border: 1px solid rgba(120,170,255,0.15);
    border-radius: 14px;
    box-shadow:
        inset 0 2px 8px rgba(0,0,0,0.45),
        inset 0 0 20px rgba(0,0,0,0.25);
}


/* ==========================================================
   CONTENT BLOCKS
========================================================== */

.world-start .ljh-start-block {
    background: var(--start-glass);
    border-radius: 20px;
    padding: 34px;
    box-shadow: var(--start-shadow);
}

.world-start .ljh-container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.world-start .ljh-panel {
    background: var(--start-glass);
    border: 1px solid var(--start-border);
    box-shadow: var(--start-shadow);
    border-radius: 20px;
    padding: 2.2rem 2rem;
}


/* ==========================================================
   HERO REFINEMENT
========================================================== */

.world-start .ljh-hero-centered  { text-align: center; }
.world-start .ljh-hero            { display: block; }
.world-start .ljh-hero-inner      { display: block; }
.world-start .ljh-hero-title,
.world-start .ljh-hero-subtitle   { display: block; }

.world-start .ljh-hero-centered .ljh-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.world-start .ljh-hero-title {
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.world-start .ljh-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ljh-text-soft);
    max-width: 640px;
    margin: 0 auto;
}


/* ==========================================================
   CTA-KNAPP – Start-variant
========================================================== */

.world-start .ljh-btn-primary.is-start {
    display: inline-flex;
    background: linear-gradient(135deg, #4cc2ff, #2a8cff);
    color: #ffffff;
    padding: 16px 36px;
    min-width: unset;
    width: 100%;
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 14px;
    border: none;
    text-shadow: none;
    box-shadow:
        0 0 28px rgba(60,180,255,0.8),
        0 16px 36px rgba(0,0,0,0.65);
}

.world-start .ljh-btn-primary.is-start:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow:
        0 0 42px rgba(60,180,255,1),
        0 22px 44px rgba(0,0,0,0.75);
}


/* ==========================================================
   FORMULÄR – Scoped override
========================================================== */

.world-start .ljh-form                  { gap: 1.6rem; }
.world-start .ljh-form-field            { gap: 0.45rem; }
.world-start .ljh-form-actions          { margin-top: 1.6rem; }

.world-start .ljh-form label {
    margin-bottom: 2px;
    line-height: 1.4;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e6f2ff;
}

.world-start .ljh-form input,
.world-start .ljh-form textarea {
    padding: 0.95rem 1.1rem;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.28),
        rgba(255,255,255,0.18)
    );
    border: 1px solid rgba(255,255,255,0.32);
}

.world-start .ljh-form input:focus,
.world-start .ljh-form textarea:focus {
    border-color: rgba(75,165,255,0.75);
    box-shadow: 0 0 0 3px rgba(75,165,255,0.12);
}

.world-start .ljh-form input::placeholder,
.world-start .ljh-form textarea::placeholder { color: rgba(160,200,255,0.38); }


/* ==========================================================
   BOOKING MODAL
========================================================== */

.world-start .ljh-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    padding: 1rem;
}

.world-start .ljh-modal-box {
    background: linear-gradient(160deg, rgba(15,30,55,0.97), rgba(8,20,40,0.97));
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}

.world-start .ljh-modal-box h2 {
    font-size: 1.35rem;
    color: #e8f3ff;
    margin: 0 0 0.6rem;
}

.world-start .ljh-modal-box p {
    color: rgba(180,210,255,0.75);
    font-size: 0.95rem;
    margin: 0 0 1.4rem;
}

.world-start .slot-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.world-start .slot-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: #d0e8ff;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.world-start .slot-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(120,180,255,0.4);
}

.world-start .slot-item input[type="radio"] {
    accent-color: #4cc2ff;
    width: auto;
}

.world-start .modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* ==========================================================
   SERVICES SECTION – Yttre container
========================================================== */

.world-start .services-section {
    width: 100%;
    min-width: 0;
}

.world-start .services-section .ljh-block {
    position: relative;
    overflow: visible;
    border: none;
    border-radius: 26px;
    box-shadow: 0 0 12px rgba(200,160,60,0.15);
}

.world-start .services-section .ljh-block::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 27px;
    border: 3px solid rgba(200,160,60,0.45);
    pointer-events: none;
    z-index: 1;
}

.world-start .services-section .ljh-block-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 1.6rem;
    overflow: visible;
    box-sizing: border-box;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}


/* ==========================================================
   STORY CARDS – Alternating layout
========================================================== */

.world-start .ljh-step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin: 0;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.world-start .ljh-step-card.is-left .ljh-step-media   { order: 1; }
.world-start .ljh-step-card.is-left .ljh-step-content { order: 2; }

.world-start .ljh-step-card.is-right .ljh-step-content { order: 1; }
.world-start .ljh-step-card.is-right .ljh-step-media   { order: 2; }

.world-start .ljh-step-media {
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: visible;
}

.world-start .ljh-step-card.is-left .ljh-step-media img {
    border-radius: 20px 0 0 20px;
}

.world-start .ljh-step-card.is-right .ljh-step-media img {
    border-radius: 0 20px 20px 0;
}

.world-start .ljh-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.world-start .ljh-step-card.is-left .ljh-step-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    border-left: none;
}

.world-start .ljh-step-card.is-right .ljh-step-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
}

@media (max-width: 768px) {
    .world-start .ljh-step-card {
        grid-template-columns: 1fr;
    }

    .world-start .ljh-step-card.is-right .ljh-step-media   { order: 1; }
    .world-start .ljh-step-card.is-right .ljh-step-content { order: 2; }
}


/* ==========================================================
   TOP SECRET BLOCK
========================================================== */

.world-start .ljh-secret-block {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.world-start .ljh-secret-boom {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-start .ljh-secret-arm {
    width: 90%;
    height: 12px;
    border-radius: 6px;
    background: repeating-linear-gradient(
        90deg,
        #f5c800 0px, #f5c800 20px,
        #1a1a1a 20px, #1a1a1a 40px
    );
    box-shadow:
        0 2px 8px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,200,0,0.2);
}

.world-start .ljh-secret-lamp {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #ffe566, #f5c800);
    box-shadow:
        0 0 8px 3px rgba(245,200,0,0.7),
        0 0 18px 6px rgba(245,200,0,0.4);
    flex-shrink: 0;
    z-index: 2;
    animation: ljh-lamp-pulse 2s ease-in-out infinite;
}

.world-start .ljh-secret-lamp--left  { left: 0; }
.world-start .ljh-secret-lamp--right { right: 0; }

.world-start .ljh-secret-sign {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.world-start .ljh-secret-icon { font-size: 1.4rem; }
.world-start .ljh-secret-text { font-size: 0.95rem; font-weight: 700; color: #f5c800; letter-spacing: 0.08em; text-transform: uppercase; }
.world-start .ljh-secret-sub  { font-size: 0.78rem; color: rgba(255,255,255,0.45); letter-spacing: 0.03em; }

@keyframes ljh-lamp-pulse {
    0%, 100% {
        box-shadow:
            0 0 8px 3px rgba(245,200,0,0.7),
            0 0 18px 6px rgba(245,200,0,0.4);
    }
    50% {
        box-shadow:
            0 0 14px 6px rgba(255,215,0,1),
            0 0 32px 12px rgba(255,200,0,0.65),
            0 0 48px 18px rgba(255,180,0,0.3);
    }
}



