/*!
 * Lumen — OnePagerCMS theme
 * Modern light theme with a fixed left sidebar navigation.
 * Loads after Bootstrap 4.3.1; the styles.php template may override
 * the :root custom properties below with the CMS design settings.
 */

:root {
    --lumen-accent: #4f6df5;
    --lumen-button: #4f6df5;
    --lumen-dark: #1e2126;
    /* the navigation-color setting is layered ON TOP of the dark base, so
       translucent values (common with the default theme) still look right */
    --lumen-sidebar-overlay: transparent;
    --lumen-sidebar-text: #aab1bb;
    --lumen-sidebar-w: 272px;
    --lumen-ink: #23262b;
    --lumen-muted: #6c737d;
    --lumen-bg: #fbfbfa;
    --lumen-bg-alt: #f2f3f1;
    --lumen-line: #e6e8ea;
    --lumen-font-display: 'Sora', 'Avenir Next', 'Segoe UI', sans-serif;
    --lumen-font-body: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.lumen {
    font-family: var(--lumen-font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lumen-ink);
    background-color: var(--lumen-bg);
    -webkit-font-smoothing: antialiased;
}

.lumen h1, .lumen h2, .lumen h3, .lumen h4, .lumen h5, .lumen h6 {
    font-family: var(--lumen-font-display);
    font-weight: 700;
    color: var(--lumen-ink);
    letter-spacing: -0.01em;
}

.lumen ::selection {
    background: var(--lumen-accent);
    color: #fff;
}

.lumen a {
    color: var(--lumen-accent);
}

.lumen a:hover {
    color: color-mix(in srgb, var(--lumen-accent) 80%, #000);
}

.lumen .text-primary {
    color: var(--lumen-accent) !important;
}

.lumen img {
    max-width: 100%;
}

/* ---------------------------------------------------------------- Sidebar */

.lumen-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--lumen-sidebar-w);
    display: flex;
    flex-direction: column;
    padding: 2.25rem 1.9rem 1.75rem;
    background-color: var(--lumen-dark);
    background-image:
        linear-gradient(var(--lumen-sidebar-overlay), var(--lumen-sidebar-overlay)),
        linear-gradient(180deg, color-mix(in srgb, var(--lumen-accent) 14%, transparent), transparent 34%);
    color: var(--lumen-sidebar-text);
    z-index: 1000;
    overflow-y: auto;
}

.lumen-brand {
    display: block;
    margin-bottom: 3rem;
    text-decoration: none;
}

.lumen-brand:hover {
    text-decoration: none;
}

.lumen-brand img {
    max-width: 100%;
    max-height: 72px;
}

.lumen-brand-text {
    font-family: var(--lumen-font-display);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}

.lumen-brand-text::after {
    content: '.';
    color: var(--lumen-accent);
}

.lumen-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: lumen-nav;
}

.lumen-nav-item {
    counter-increment: lumen-nav;
}

.lumen .lumen-nav-link {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 0.62rem 0;
    font-family: var(--lumen-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lumen-sidebar-text);
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 0.9rem;
    margin-left: -0.9rem;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lumen .lumen-nav-link::before {
    content: counter(lumen-nav, decimal-leading-zero);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--lumen-accent);
    opacity: 0.9;
}

.lumen .lumen-nav-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateX(3px);
}

.lumen .lumen-nav-link.active {
    color: #fff;
    border-left-color: var(--lumen-accent);
}

.lumen-sidebar-foot {
    margin-top: auto;
    padding-top: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--lumen-sidebar-text) 62%, transparent);
}

/* --------------------------------------------------------- Burger (mobile) */

.lumen-burger {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    width: 46px;
    height: 46px;
    padding: 13px 12px;
    flex-direction: column;
    justify-content: space-between;
    background: var(--lumen-dark);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    cursor: pointer;
}

.lumen-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.lumen-sidebar-open .lumen-burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

body.lumen-sidebar-open .lumen-burger span:nth-child(2) {
    opacity: 0;
}

body.lumen-sidebar-open .lumen-burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.lumen-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 17, 20, 0.5);
    z-index: 990;
}

/* ------------------------------------------------------------ Main column */

.lumen-main {
    margin-left: var(--lumen-sidebar-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ------------------------------------------------------------------- Hero */

.lumen-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76vh;
    padding: 6rem 0;
    background-color: var(--lumen-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.lumen-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg,
            color-mix(in srgb, var(--lumen-dark) 92%, transparent) 0%,
            color-mix(in srgb, var(--lumen-dark) 55%, transparent) 55%,
            color-mix(in srgb, var(--lumen-accent) 30%, transparent) 100%);
}

.lumen-hero::after {
    /* fine dot grid for texture on image-less heroes */
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, transparent, #000 40%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
    pointer-events: none;
}

.lumen-hero .container {
    position: relative;
    z-index: 2;
}

.lumen-hero .intro-text {
    max-width: 46rem;
    animation: lumen-rise 0.7s ease both;
}

.lumen-hero .intro-lead-in {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--lumen-font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: color-mix(in srgb, #ffffff 78%, var(--lumen-accent));
    margin-bottom: 1.4rem;
    animation: lumen-rise 0.7s 0.08s ease both;
}

.lumen-hero .intro-lead-in::before {
    content: '';
    width: 2.6rem;
    height: 2px;
    background: var(--lumen-accent);
    flex: none;
}

.lumen-hero .intro-heading {
    font-size: clamp(2.5rem, 5.2vw, 4.3rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 0;
    animation: lumen-rise 0.7s 0.16s ease both;
}

.lumen-hero .intro-custom {
    margin-top: 2.2rem;
    color: rgba(255, 255, 255, 0.85);
    animation: lumen-rise 0.7s 0.24s ease both;
}

@keyframes lumen-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------- Sections */

.lumen .page-section {
    padding: 5.5rem 0;
    background-size: cover;
    background-position: center;
}

.lumen .page-section.bg-light {
    background-color: var(--lumen-bg-alt) !important;
}

.lumen .section-head {
    max-width: 46rem;
    margin-bottom: 3rem;
}

.lumen .section-heading {
    position: relative;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    margin-bottom: 0.9rem;
    padding-bottom: 1.1rem;
}

.lumen .section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: var(--lumen-accent);
}

.lumen .section-subheading {
    font-family: var(--lumen-font-body);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: normal;
    color: var(--lumen-muted) !important;
    margin-bottom: 0;
}

.lumen .section-body {
    max-width: 72ch;
}

.lumen-empty {
    padding: 4rem 0;
    text-align: center;
    color: var(--lumen-muted);
    font-family: var(--lumen-font-display);
    letter-spacing: 0.04em;
}

/* ------------------------------------------------------------ Icon cards */

.lumen-icon-grid {
    margin-top: 0.5rem;
}

.lumen-icon-card {
    height: 100%;
    padding: 2.2rem 1.6rem;
    margin-bottom: 1.9rem;
    background: #fff;
    border: 1px solid var(--lumen-line);
    border-radius: 16px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lumen-icon-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--lumen-accent) 40%, var(--lumen-line));
    box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--lumen-accent) 35%, rgba(0, 0, 0, 0.25));
}

.lumen .page-section.bg-light .lumen-icon-card {
    border-color: transparent;
    box-shadow: 0 6px 24px -14px rgba(0, 0, 0, 0.18);
}

.lumen-icon-card .fa-stack {
    margin-bottom: 1.2rem;
}

.lumen-icon-card .service-heading {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.lumen-icon-card p {
    font-size: 0.97rem;
    margin-bottom: 0;
}

/* ---------------------------------------------------------------- Buttons */

.lumen .btn-primary {
    background-color: var(--lumen-button);
    border-color: var(--lumen-button);
    border-radius: 999px;
    font-family: var(--lumen-font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.85rem 2.3rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.lumen .btn-primary:hover,
.lumen .btn-primary:focus,
.lumen .btn-primary:active {
    background-color: var(--lumen-button) !important;
    border-color: var(--lumen-button) !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--lumen-button) 70%, transparent);
}

.lumen .btn-xl {
    font-size: 1rem;
}

/* ------------------------------------------------------------------ Forms */

.lumen .form-control {
    border: 1.5px solid var(--lumen-line);
    border-radius: 12px;
    padding: 1.35rem 1.1rem;
    font-family: var(--lumen-font-body);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lumen textarea.form-control {
    padding: 1.1rem;
}

.lumen .form-control:focus {
    border-color: var(--lumen-accent);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--lumen-accent) 18%, transparent);
}

.lumen .form-control::placeholder {
    color: var(--lumen-muted);
}

/* ----------------------------------------------------------------- Footer */

.lumen .footer {
    margin-top: auto;
    padding: 2.4rem 0;
    background-color: var(--lumen-dark);
    background-image: linear-gradient(var(--lumen-sidebar-overlay), var(--lumen-sidebar-overlay));
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.lumen .footer .copyright {
    letter-spacing: 0.04em;
}

.lumen ul.social-buttons {
    margin-bottom: 0;
    text-align: center;
}

.lumen ul.social-buttons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.lumen ul.social-buttons li a:hover,
.lumen ul.social-buttons li a:focus,
.lumen ul.social-buttons li a:active {
    background-color: var(--lumen-accent);
    color: #fff;
    transform: translateY(-2px);
}

.lumen .quicklinks {
    margin-bottom: 0;
    text-align: right;
}

.lumen .quicklinks a {
    color: rgba(255, 255, 255, 0.75);
}

.lumen .quicklinks a:hover {
    color: #fff;
    text-decoration: none;
}

/* ------------------------------------------------------- Additional pages */

.lumen-page {
    flex: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.lumen-page-title {
    position: relative;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin-bottom: 2.2rem;
    padding-bottom: 1.2rem;
}

.lumen-page-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 3px;
    border-radius: 3px;
    background: var(--lumen-accent);
}

.lumen-page-content {
    max-width: 72ch;
}

/* ------------------------------------------------------------- Responsive */

@media (max-width: 991.98px) {
    .lumen-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: min(var(--lumen-sidebar-w), 84vw);
        box-shadow: none;
    }

    body.lumen-sidebar-open .lumen-sidebar {
        transform: none;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.35);
    }

    body.lumen-sidebar-open {
        overflow: hidden;
    }

    body.lumen-sidebar-open .lumen-backdrop {
        display: block;
    }

    .lumen-burger {
        display: flex;
    }

    .lumen-main {
        margin-left: 0;
    }

    .lumen-hero {
        min-height: 62vh;
        padding-top: 7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .lumen *,
    .lumen *::before,
    .lumen *::after {
        animation: none !important;
        transition: none !important;
    }
}
