/**
 * Event-Furs – Orga Header & Navigation
 * Datei: /orga/assets/css/orga-header.css
 *
 * Enthält ausschließlich Styles für:
 * - Orga-Header
 * - Navigation
 * - Header-interne Elemente
 *
 * Keine Grundfarben, kein Body, kein Footer.
 */

/* ------------------------------
   Header-Container
------------------------------ */

.orga-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: linear-gradient(
        180deg,
        rgba(20, 24, 36, 0.88),
        rgba(15, 17, 21, 0.88)
    );
    backdrop-filter: blur(8px);
}

/* ------------------------------
   Header-Inhalt
------------------------------ */

.orga-header-inner {
    max-width: var(--orga-max-width);
    margin: 0 auto;
    padding: 16px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ------------------------------
   Titel / Branding
------------------------------ */

.orga-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.orga-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--orga-text-strong);
    white-space: nowrap;
}

/* ------------------------------
   Burger Button
------------------------------ */

.orga-burger {
    display: none;
    flex-direction: column;
    gap: 4px;

    background: none;
    border: none;
    cursor: pointer;
}

.orga-burger span {
    width: 22px;
    height: 2px;
    background-color: var(--orga-text-strong);
    border-radius: 2px;
}

/* ------------------------------
   Navigation
------------------------------ */

.orga-header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orga-nav-link {
    position: relative;
    padding: 8px 14px;

    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--orga-text-muted);

    border-radius: 999px;
    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

.orga-nav-link:hover {
    color: var(--orga-text-strong);
    background-color: rgba(255, 255, 255, 0.06);
}

.orga-nav-link.is-active {
    color: var(--orga-text-strong);
    background: linear-gradient(
        135deg,
        rgba(120, 64, 255, 0.35),
        rgba(64, 140, 255, 0.25)
    );
}

/* ------------------------------
   Mobile Layout
------------------------------ */

@media (max-width: 900px) {

    .orga-burger {
        display: flex;
    }

    .orga-header-nav {
        position: absolute;
        top: 100%;
        right: 16px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        background: rgba(15, 17, 21, 0.95);
        backdrop-filter: blur(8px);
        border-radius: 14px;
        padding: 10px;
        min-width: 220px;
    }

    .orga-header-nav.is-open {
        display: flex;
    }

    .orga-nav-link {
        width: 100%;
        text-align: left;
    }
}
