﻿/* ============================================================
   ShadowWorx Systems - Theme (aligned to swx-* + about-*)
   ============================================================ */

:root {
    --swx-accent: #00f5e9;
    --swx-accent-soft: rgba(0, 245, 233, 0.18);
    --swx-text: rgba(255, 255, 255, 0.92);
    --swx-text-dim: rgba(255, 255, 255, 0.72);
    --swx-text-soft: rgba(255, 255, 255, 0.56);
    --swx-bg: #000;
}

html, body {
    background: var(--swx-bg) !important;
    margin: 0;
    padding: 0;
}

/* Ensure app surface is black regardless of template wrappers */
main, .main, .content, .page, #app {
    background: var(--swx-bg) !important;
}

/* ============================================================
   Template Nav / Layout
   ============================================================ */

.sidebar {
    background: #000 !important;
    background-image: none !important;
    border-right: 1px solid var(--swx-accent-soft) !important;
}

    .sidebar .top-row {
        background: #000 !important;
        border-bottom: 1px solid rgba(0, 245, 233, 0.14) !important;
    }

.top-row {
    background: #000 !important;
    border-bottom: 1px solid rgba(0, 245, 233, 0.14) !important;
}

.sidebar .navbar-brand,
.navbar-brand {
    color: var(--swx-text) !important;
    font-weight: 500;
}

/* Nav links */
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

    .sidebar .nav-link:hover {
        color: rgba(255, 255, 255, 0.95) !important;
        background: rgba(0, 245, 233, 0.10) !important;
    }

    .sidebar .nav-link.active {
        color: var(--swx-accent) !important;
        background: rgba(0, 245, 233, 0.16) !important;
    }

/* If you used the "About at bottom" wrappers */
.swx-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.swx-nav-main {
    flex: 1 1 auto;
}

.swx-nav-bottom {
    margin-top: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 1px solid rgba(0, 245, 233, 0.14);
}

/* ============================================================
   Home (Coming Soon)
   ============================================================ */

.swx-wrapper {
    /* Center content without forcing huge vertical padding */
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 18px;
}

.swx-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.swx-logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
}

.swx-tagline {
    margin-top: 22px;
    font-size: 0.98rem;
    letter-spacing: 1px;
    color: var(--swx-text-dim);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.swx-subnote {
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--swx-text-soft);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.swx-coming {
    margin-top: 26px;
    letter-spacing: 6px;
    font-size: 0.95rem;
    color: rgba(0, 245, 233, 0.85);
}

/* Email link (operations@...) */
.swx-email {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.92rem;
    color: rgba(0, 245, 233, 0.85);
    text-decoration: none;
    border-bottom: 1px dotted rgba(0, 245, 233, 0.38);
}

    .swx-email:hover {
        color: rgba(0, 245, 233, 1);
        border-bottom-style: solid;
    }

.swx-footer {
    margin-top: 18px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   About Page
   ============================================================ */

.about-container {
    text-align: center;
    padding: 70px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-logo {
    width: min(360px, 78vw);
    height: auto;
    margin: 0 auto 26px auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(0, 245, 233, 0.18));
}

.about-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 14px;
}

.about-divider {
    width: 130px;
    height: 2px;
    background: var(--swx-accent);
    margin: 18px auto 32px auto;
    opacity: 0.45;
}

.about-text {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 26px 0 0 0;
}

    .about-list li {
        color: rgba(255, 255, 255, 0.92);
        margin: 10px 0;
    }

/* ============================================================
   Mobile: text-only brightness fix (per your ask)
   Also tighten logo height so it doesn't dominate the viewport
   ============================================================ */

@media (max-width: 768px) {

    /* text brighter only */
    .swx-tagline {
        color: rgba(255, 255, 255, 0.84);
    }

    .swx-subnote {
        color: rgba(255, 255, 255, 0.70);
    }

    .about-text {
        color: rgba(255, 255, 255, 0.82);
    }

    /* keep hero from feeling "pushed down" */
    .swx-wrapper {
        padding-top: 18px;
        padding-bottom: 22px;
    }

    /* keep logo from swallowing the phone screen */
    .swx-logo {
        max-height: 48vh;
    }

    /* reduce heavy letter spacing slightly on small screens */
    .swx-coming {
        letter-spacing: 4px;
    }
}
