/* =================================
   VEITBUILDER - CONSTRUCTION DEMOS
   APEX CONSTRUCTION
================================= */

.apex {
    --apex-orange: #f07828;
    --apex-black: #101010;
    --apex-gray: #a5a5a5;
    background: #101010;
    color: #fff;
    font-family: Arial, sans-serif;
}

.apex * {
    box-sizing: border-box;
}

.apex html {
    scroll-behavior: smooth;
}

.apex a {
    color: inherit;
    text-decoration: none;
}

.apex .demo-nav {
    height: 88px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #101010;
    border-bottom: 1px solid #292929;
}

.apex .demo-logo {
    font-size: 29px;
    font-weight: 900;
    letter-spacing: -2px;
}

.apex .demo-logo span {
    color: var(--apex-orange);
}

.apex .demo-logo small {
    display: block;
    font-size: 8px;
    letter-spacing: 3px;
    margin-top: 3px;
    color: #999;
}

.apex .demo-nav nav,
.apex .demo-nav nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.apex .demo-nav nav a {
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #bbb;
}

.apex .demo-nav nav a:hover {
    color: white;
}

.apex .demo-nav .demo-nav-cta {
    background: var(--apex-orange);
    color: #111;
    padding: 16px 20px;
}

.apex .apex-hero {
    min-height: 680px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 10%;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.56)),
        url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1800") center/cover;
}

.apex .apex-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.5), transparent 55%);
}

.apex .apex-hero-content {
    position: relative;
    max-width: 850px;
}

.apex .apex-label {
    font-size: 10px;
    color: var(--apex-orange);
    letter-spacing: 2px;
    font-weight: 800;
}

.apex .apex-hero h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: .96;
    letter-spacing: -4px;
    margin: 28px 0;
}

.apex .apex-hero h1 span,
.apex .apex-section-heading h2 span,
.apex .apex-intro h2 span,
.apex .apex-cta h2 span {
    color: var(--apex-orange);
}

.apex .apex-hero-content > p {
    max-width: 550px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.9;
}

.apex .apex-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.apex .apex-button,
.apex .apex-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 23px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    border: 1px solid var(--apex-orange);
    cursor: pointer;
}

.apex .apex-button {
    background: var(--apex-orange);
    color: #111;
}

.apex .apex-button:hover {
    background: #ff9147;
}

.apex .apex-outline {
    background: transparent;
    color: white;
    border-color: #777;
}

.apex .apex-hero-footer {
    position: absolute;
    bottom: 25px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 9px;
    letter-spacing: 2px;
}

.apex .apex-intro {
    padding: 110px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    background: #f0eee9;
    color: #151515;
}

.apex .apex-intro h2,
.apex .apex-section-heading h2,
.apex .apex-cta h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-top: 22px;
}

.apex .apex-intro-text p {
    color: #555;
    line-height: 1.9;
    font-size: 14px;
}

.apex .apex-intro-text .apex-text-link {
    display: inline-block;
    margin-top: 28px;
    color: #111;
    border-bottom: 2px solid var(--apex-orange);
    padding-bottom: 8px;
    font-size: 10px;
    font-weight: 900;
}

.apex .apex-services,
.apex .apex-projects {
    padding: 110px 10%;
}

.apex .apex-section-heading {
    margin-bottom: 50px;
}

.apex .apex-section-heading p {
    color: #999;
    font-size: 13px;
    margin-top: 15px;
}

.apex .apex-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.apex .apex-service-grid article {
    position: relative;
    padding: 35px;
    min-height: 205px;
    background: #1b1b1b;
    border: 1px solid #333;
    transition: .3s;
}

.apex .apex-service-grid article:hover {
    border-color: var(--apex-orange);
    transform: translateY(-4px);
}

.apex .apex-service-grid article > span {
    color: var(--apex-orange);
    font-size: 11px;
}

.apex .apex-service-grid h3 {
    font-size: 22px;
    margin: 25px 0 12px;
}

.apex .apex-service-grid p {
    color: #999;
    font-size: 12px;
    line-height: 1.7;
}

.apex .apex-service-grid b {
    position: absolute;
    right: 30px;
    top: 30px;
    color: var(--apex-orange);
    font-size: 20px;
}

.apex .apex-projects {
    background: #191919;
}

.apex .apex-gallery {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 15px;
}

.apex .apex-gallery-large,
.apex .apex-gallery-small > div {
    min-height: 400px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.apex .apex-gallery-large {
    background-image:
        linear-gradient(0deg, #000b, transparent 80%),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1200");
}

.apex .apex-gallery-small {
    display: grid;
    gap: 15px;
}

.apex .apex-gallery-small > div {
    min-height: 192px;
}

.apex .apex-gallery-small > div:first-child {
    background-image:
        linear-gradient(0deg, #000b, transparent 80%),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=900");
}

.apex .apex-gallery-small > div:last-child {
    background-image:
        linear-gradient(0deg, #000b, transparent 80%),
        url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=900");
}

.apex .apex-gallery span {
    color: var(--apex-orange);
    font-size: 9px;
    letter-spacing: 2px;
}

.apex .apex-gallery h3 {
    font-size: 28px;
    margin-top: 12px;
}

.apex .apex-cta {
    padding: 110px 10%;
    background: #f0eee9;
    color: #111;
}

.apex .apex-cta > p {
    color: #555;
    margin: 18px 0 40px;
    font-size: 13px;
}

.apex .apex-form {
    max-width: 850px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.apex .apex-form label {
    display: block;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.apex .apex-form input,
.apex .apex-form select,
.apex .apex-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    background: white;
    color: #111;
    font: inherit;
    outline: none;
}

.apex .apex-form input:focus,
.apex .apex-form select:focus,
.apex .apex-form textarea:focus {
    border-color: var(--apex-orange);
}

.apex .apex-message {
    grid-column: 1 / -1;
}

.apex .apex-form button {
    width: 100%;
}

.apex .apex-form-status {
    grid-column: 1 / -1;
    font-size: 11px;
    color: #555;
    line-height: 1.6;
}

.apex .apex-footer {
    padding: 35px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: #101010;
    color: #999;
    font-size: 10px;
}

.apex .apex-footer > a:last-child {
    color: var(--apex-orange);
    font-weight: bold;
}

@media (max-width: 800px) {
    .apex .demo-nav {
        height: auto;
        padding: 22px 6%;
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .apex .demo-nav nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .apex .apex-intro,
    .apex .apex-gallery {
        grid-template-columns: 1fr;
    }

    .apex .apex-intro {
        gap: 35px;
    }

    .apex .apex-gallery-large {
        min-height: 300px;
    }

    .apex .apex-gallery-small {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 550px) {
    .apex .apex-hero {
        min-height: 650px;
        padding: 80px 7%;
    }

    .apex .apex-hero h1 {
        letter-spacing: -2px;
    }

    .apex .apex-hero-footer {
        left: 7%;
        right: 7%;
        font-size: 7px;
    }

    .apex .apex-services,
    .apex .apex-projects,
    .apex .apex-cta {
        padding: 75px 7%;
    }

    .apex .apex-service-grid,
    .apex .apex-form {
        grid-template-columns: 1fr;
    }

    .apex .apex-message,
    .apex .apex-form-status {
        grid-column: auto;
    }

    .apex .apex-gallery-small {
        grid-template-columns: 1fr;
    }

    .apex .apex-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}