/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* ==========================================
   ghostOS – Quark2 Custom Design
   ========================================== */

:root {
    --ghost-bg: #080b10;
    --ghost-panel: #101720;
    --ghost-cyan: #00d9ff;
    --ghost-text: #e6edf5;
    --ghost-muted: #a3b2c2;
}

/* Grunddesign */
html,
body {
    background: var(--ghost-bg);
    color: var(--ghost-text);
}

body {
    line-height: 1.8;
    font-size: 17px;
}

main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 30px 80px;
}

/* Überschriften */
h1, h2, h3, h4 {
    color: #f5faff;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 25px;
}

h2 {
    font-size: 2rem;
    margin-top: 75px;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 12px;
}

/* Fließtext */
p {
    color: var(--ghost-muted);
    margin-bottom: 22px;
    line-height: 1.9;
}

strong {
    color: var(--ghost-cyan);
}

/* Links */
a {
    color: var(--ghost-cyan);
    transition: color 0.2s ease;
}

a:hover {
    color: #9aedff;
}

/* Trennlinien */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--ghost-cyan),
        transparent
    );
    margin: 65px 0;
}

/* Listen */
li {
    color: var(--ghost-muted);
    margin-bottom: 12px;
}

/* Buttons */
button,
a[role="button"] {
    border-radius: 8px;
}

/* Auswahlfarbe */
::selection {
    background: var(--ghost-cyan);
    color: #080b10;
}

/* Bilder */
main img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ghostOS Hero-Bereich */
main > p:first-of-type {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 25px 18px 55px;
    }

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.7rem;
        margin-top: 55px;
    }

    body {
        font-size: 16px;
    }
}




/* ==========================================
   ghostOS – Header und Logo
   ========================================== */

/* Desktop */
@media (min-width: 769px) {
    #header .navbar {
        height: 170px !important;
        min-height: 170px !important;
        align-items: center !important;
        transition: height 0.25s ease, min-height 0.25s ease;
    }

    #header .navbar-section {
        align-items: center !important;
    }

    #header .navbar-section.logo {
        padding: 8px 12px;
    }

    #header .ghostos-logo-desktop {
        height: 140px !important;
        width: auto !important;
        max-height: none !important;
        max-width: none !important;
        object-fit: contain;
        transition: height 0.25s ease;
    }

    #header .desktop-menu,
    #header .navbar-section.actions {
        align-items: center !important;
    }

    /* Beim Scrollen */
    body.header-animated.scrolled #header .navbar {
        height: 105px !important;
        min-height: 105px !important;
    }

    body.header-animated.scrolled #header .ghostos-logo-desktop {
        height: 80px !important;
    }
}

/* Mobil */
@media (max-width: 768px) {
    #header .ghostos-logo-mobile {
        height: 28px !important;
        width: auto !important;
        max-height: 28px !important;
    }
}

/* ghostOS – Logo Größe erzwingen */
@media (min-width: 769px) {
    #header .navbar-section.logo .navbar-brand img.ghostos-logo-desktop {
        display: block !important;
        height: 140px !important;
        width: 140px !important;
        min-height: 140px !important;
        max-height: none !important;
        max-width: none !important;
        object-fit: contain !important;
    }
}

/* ghostOS – futuristische Wortmarke */
#header .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.ghostos-wordmark {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    text-shadow: 0 0 12px rgba(0, 220, 255, 0.3);
    transition: font-size 0.25s ease;
}

.ghostos-wordmark-ghost {
    color: #f1f5f9;
}

.ghostos-wordmark-os {
    color: #00d9ff;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.65);
}

@media (min-width: 769px) {
    body.header-animated.scrolled .ghostos-wordmark {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    #header .navbar-brand {
        gap: 8px !important;
    }

    .ghostos-wordmark {
        font-size: 13px;
        letter-spacing: 0;
    }
}

/* ghostOS – dezenter Neon-Glow */
.ghostos-wordmark {
    text-shadow:
        0 0 4px rgba(0, 217, 255, 0.35),
        0 0 12px rgba(0, 217, 255, 0.45),
        0 0 24px rgba(0, 217, 255, 0.25);
}

.ghostos-wordmark-os {
    text-shadow:
        0 0 5px rgba(0, 217, 255, 0.8),
        0 0 14px rgba(0, 217, 255, 0.75),
        0 0 28px rgba(0, 217, 255, 0.5);
}

/* ghostOS – dezenter Neon-Glow */
.ghostos-wordmark {
    text-shadow:
        0 0 4px rgba(0, 217, 255, 0.35),
        0 0 12px rgba(0, 217, 255, 0.45),
        0 0 24px rgba(0, 217, 255, 0.25);
}

.ghostos-wordmark-os {
    text-shadow:
        0 0 5px rgba(0, 217, 255, 0.8),
        0 0 14px rgba(0, 217, 255, 0.75),
        0 0 28px rgba(0, 217, 255, 0.5);
}

/* ghostOS – dezenter Cyberpunk-Violettschein */
#header .navbar-brand {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    isolation: isolate;
}

#header .navbar-brand::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: -45px;
    right: -45px;
    top: -35px;
    bottom: -35px;
    background: radial-gradient(
        ellipse at center,
        rgba(145, 45, 255, 0.32) 0%,
        rgba(100, 35, 190, 0.18) 45%,
        transparent 75%
    );
    filter: blur(22px);
    pointer-events: none;
}

#header .navbar-brand img,
#header .ghostos-wordmark {
    position: relative;
    z-index: 1;
}
