/* ═══════════════════════════════════════
   Hørning Floorball — Complete Stylesheet
   ═══════════════════════════════════════ */

/* --- Tokens --- */
:root {
    --navy: #1a2a5e;
    --red: #c8102e;
    --red-dark: #a80d25;
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #888;
    --text-faint: #999;
    --bg: #fff;
    --bg-warm: #fafaf8;
    --border: #eee;
    --border-light: #f0f0f0;
    --font-body: 'Nunito Sans', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --page-px: 48px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-btn: 6px;
    --radius-icon: 10px;
    --bg-card: #fff;
}

/* --- Reset --- */
body {
    margin: 0;
    background: var(--bg);
}

a {
    color: inherit;
}

    a:hover {
        color: inherit;
        text-decoration: none;
    }

/* --- Page wrapper --- */
[data-page] {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

/* ═══════ NAV ═══════ */
[data-nav] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--page-px);
    height: 72px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

[data-nav-logo] {
    display: flex;
    align-items: center;
    gap: 14px;
}

    [data-nav-logo] img {
        width: 56px;
        height: 56px;
        object-fit: cover;
        border-radius: 50%;
    }

[data-nav-brand] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.2;
}

[data-nav-toggle] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

[data-nav-close] {
    display: none;
}

[data-nav-links] {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

    [data-nav-links] a:not([data-nav-cta]) {
        text-decoration: none;
        color: var(--text-light);
        transition: color 0.15s;
    }

        [data-nav-links] a:not([data-nav-cta]):hover {
            color: var(--navy);
        }

    [data-nav-links] a[data-active] {
        color: var(--navy);
        font-weight: 600;
    }

    [data-nav-links] [data-nav-cta],
    [data-nav-cta] {
        padding: 10px 24px;
        background: var(--red);
        color: #fff !important;
        border-radius: var(--radius-btn);
        font-weight: 600;
        font-size: 13px;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.15s;
    }

        [data-nav-links] [data-nav-cta]:hover,
        [data-nav-cta]:hover {
            background: var(--red-dark);
            color: #fff;
        }

/* ═══════ HERO ═══════ */
[data-hero] {
    position: relative;
    overflow: hidden;
}

[data-hero-bg] {
    height: 600px;
    position: relative;
}

[data-hero-gradient] {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,42,94,0.7) 0%, rgba(26,42,94,0.3) 60%, transparent 100%);
    pointer-events: none;
}

[data-hero-vid] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-hero-angle] {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
}

    [data-hero-angle] svg {
        display: block;
        width: 100%;
        height: 80px;
    }

[data-hero-overlay] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    display: flex;
    align-items: center;
    padding: 0 80px;
    pointer-events: none;
}

[data-hero-content] {
    pointer-events: auto;
    animation: fadeInUp 0.8s ease-out both;
}

[data-hero-text] {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 56px;
    color: #fff;
    line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

[data-hero-sub] {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    margin: 16px 0 28px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    max-width: 480px;
    line-height: 1.6;
}

[data-hero-buttons] {
    display: flex;
    gap: 12px;
}

[data-btn-primary] {
    padding: 14px 28px;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

    [data-btn-primary]:hover {
        background: var(--red-dark);
        color: #fff;
    }

[data-btn-ghost] {
    padding: 14px 28px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.15s;
}

    [data-btn-ghost]:hover {
        background: rgba(255,255,255,0.25);
        color: #fff;
    }

/* ═══════ SECTIONS ═══════ */
[data-section] {
    padding: 64px var(--page-px);
}

[data-section-warm] {
    padding: 64px var(--page-px);
    background: var(--bg-warm);
    margin-bottom: 40px;
}

[data-section-label] {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

[data-page-title] {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 36px;
    color: var(--navy);
    margin: 0 0 8px;
}

[data-page-desc] {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0 0 32px;
    max-width: 700px;
}

[data-section-title] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    color: var(--navy);
    margin: 0 0 16px;
    line-height: 1.3;
}

[data-section-subtitle] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: 0 0 32px;
    text-align: center;
}

/* ═══════ QUICK LINKS ═══════ */
[data-quicklinks] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

[data-quick-card] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-icon);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

    [data-quick-card]:hover {
        border-color: var(--red);
        box-shadow: 0 4px 16px rgba(200,16,46,0.08);
        transform: translateY(-2px);
        color: inherit;
    }

[data-icon-box] {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-icon);
    background: #fef0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-icon-box-alt] {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-icon);
    background: #e8edf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-card-label] {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
}

[data-card-sub] {
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 2px;
}

/* ═══════ ABOUT ═══════ */
[data-about-grid] {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

[data-about-img] {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 320px;
}

[data-body-text] {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 24px;
}

[data-body-text-sm] {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 12px;
}

[data-link-red] {
    color: var(--red);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

    [data-link-red]:hover {
        text-decoration: underline;
        color: var(--red);
    }

/* ═══════ FACEBOOK CTA ═══════ */
[data-fb-cta] {
    padding: 40px var(--page-px);
    text-align: center;
}

    [data-fb-cta] p {
        font-size: 16px;
        color: var(--text-light);
        margin: 0 0 12px;
    }

[data-fb-link] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.15s;
}

    [data-fb-link]:hover {
        color: var(--red);
    }

/* ═══════ SPONSORS ═══════ */
[data-sponsors-section] {
    padding: 40px var(--page-px) 48px;
    margin-top: 32px;
    border-top: 1px solid var(--border-light);
}

[data-sponsors-label] {
    text-align: center;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bbb;
}

[data-sponsors-row] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

[data-sponsor-slot] {
    width: 160px;
    height: 70px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-slot::part(frame) {
    background: transparent !important;
}

/* ═══════ FOOTER ═══════ */
[data-footer] {
    padding: 36px var(--page-px);
    background: var(--navy);
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

[data-footer-logo] {
    display: flex;
    align-items: center;
    gap: 12px;
}

    [data-footer-logo] img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border-radius: 50%;
    }

[data-footer-brand] {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

[data-footer-credit] {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

    [data-footer-credit] a:hover {
        color: #FFF;
        text-decoration: underline;
    }
/* ═══════ CONTENT CARDS ═══════ */
[data-card] {
    background: var(--bg-card, #fff);
    border-radius: var(--radius);
    padding: 28px 32px;
    border: 1px solid var(--border);
}

[data-card-lg] {
    background: var(--bg-card, #fff);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

[data-card-title] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
    margin: 0 0 4px;
}

[data-card-title-lg] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 16px;
}

/* ═══════ TRAINING TIMES ═══════ */
[data-times] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

[data-time-row] {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

[data-time-dot] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

[data-time-row] strong {
    color: var(--navy);
}

/* ═══════ SIDEBAR NAV ═══════ */
[data-sidebar] {
    position: sticky;
    top: 88px;
    align-self: start;
}

[data-sidebar-nav] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

[data-sidebar-link] {
    padding: 10px 16px;
    background: transparent;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s;
}

[data-sidebar-sublink] {
    display: none;
}

[data-display] {
    display: block;
    margin-bottom: 0;
    padding: 10px 0;
}

[data-sidebar-link]:hover {
    background: #f0eeea;
    color: var(--navy);
}

[data-sidebar-link][data-active] {
    background: var(--navy);
    color: #fff;
    font-weight: 600;
}

[data-sidebar-link][data-bold] {
    font-weight: 600;
}

[data-sidebar-link][data-indent] {
    padding-left: 28px;
}

/* ═══════ HOLDENE LAYOUT ═══════ */
[data-holdene-grid] {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 32px;
}

/* ═══════ KONTINGENTER ═══════ */
[data-pricing] {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}

[data-pricing-title] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    margin: 0 0 16px;
}

[data-pricing-list] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: #555;
}

[data-pricing-row] {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

    [data-pricing-row]:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

[data-pricing-label] {
    font-weight: 600;
    color: var(--navy);
}

[data-pricing-cta] {
    margin-top: 16px;
    padding: 20px 24px;
    background: #fef0f0;
    border-radius: var(--radius);
    text-align: center;
}

[data-pricing-cta-title] {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--red);
    margin-bottom: 4px;
}

[data-pricing-cta] a {
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
    text-decoration: none;
}

/* ═══════ KLUBBEN LAYOUT ═══════ */
[data-klubben-grid] {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

/* ═══════ ORG DIAGRAM ═══════ */
[data-org] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

[data-org-node] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-org-line] {
    width: 2px;
    height: 20px;
    background: #ddd;
}

[data-org-top] {
    padding: 12px 24px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

[data-org-mid] {
    padding: 14px 48px;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

[data-org-chips] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

[data-org-chip] {
    padding: 10px 16px;
    background: #fef0f0;
    border: 1px solid #f5c6c6;
    color: var(--red);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    border-radius: var(--radius-btn);
}

[data-org-label] {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
}

/* ═══════ FUNKTIONER ═══════ */
[data-funktioner] {
    margin-top: 24px;
    padding: 20px 24px;
    background: #f8f7f5;
    border-radius: var(--radius-sm);
}

[data-funktioner-title] {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 8px;
}

[data-funktioner-chips] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

[data-funk-chip] {
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-size: 12px;
    color: var(--text-light);
}

/* ═══════ LAYOUT HELPERS ═══════ */
[data-max-w] {
    max-width: 1080px;
    margin: 0 auto;
}

[data-max-w-sm] {
    max-width: 960px;
    margin: 0 auto;
}

[data-col] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ═══════ ANIMATION ═══════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet (≤ 900px)
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    :root {
        --page-px: 24px;
    }

    [data-nav-toggle] {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    [data-nav-links] {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 20px !important;
        z-index: 200;
        font-size: 18px !important;
    }

        [data-nav-links].open {
            display: flex !important;
        }

    [data-nav-close] {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: var(--navy);
    }

    [data-hero-text] {
        font-size: 36px !important;
    }

    [data-hero-overlay] {
        padding: 0 32px !important;
    }

    [data-hero-bg] {
        height: 440px !important;
    }

    [data-quicklinks] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    [data-about-grid] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    [data-holdene-grid] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    [data-sidebar] {
        position: static !important;
        background: #FFF;
    }

    [data-sidebar-link] {
        border-radius: 0;
    }

    [data-klubben-grid] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    [data-card] {
        margin: 20px 0;
    }

    [data-footer] {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }

    [data-footer-credit] {
        text-align: center !important;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Phone (≤ 600px)
   ═══════════════════════════════════════ */
@media (max-width: 600px) {
    :root {
        --page-px: 16px;
    }

    [data-hero-text] {
        font-size: 28px !important;
    }

    [data-hero-sub] {
        font-size: 15px !important;
    }

    [data-hero-overlay] {
        padding: 0 20px !important;
    }

    [data-hero-bg] {
        height: 360px !important;
    }

    [data-hero-buttons] {
        flex-direction: column !important;
    }

        [data-hero-buttons] a {
            text-align: center;
        }

    [data-quicklinks] {
        grid-template-columns: 1fr !important;
    }

    [data-page-title] {
        font-size: 28px !important;
    }

    [data-about-img] {
        height: 220px !important;
    }
}

img {
    width: 100%;
    height: auto;
}
