/* ==========================================================
   KORVEXA DCS
   GLOBAL STYLESHEET
   ========================================================== */


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #07090c;
    color: #f4f4f4;

    line-height: 1.6;
}


a {
    color: inherit;
}


/* ==========================================================
   NAVIGATION
   ========================================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    padding: 0 8%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(7, 9, 12, 0.88);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 1000;
}


.navbar-logo {
    color: #ffffff;

    text-decoration: none;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 3px;
}


.navbar-logo span {
    color: #ff3030;
}


.navbar-links {
    display: flex;

    gap: 30px;

    list-style: none;
}


.navbar-links a {
    color: #aaaaaa;

    text-decoration: none;

    font-size: 14px;

    transition: 0.2s;
}


.navbar-links a:hover {
    color: #ffffff;
}



/* ==========================================================
   BUTTONS
   ========================================================== */

.button {
    display: inline-block;

    padding: 13px 24px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 14px;
    font-weight: bold;

    transition: 0.2s;
}


.button-primary {
    background: #e52828;

    color: #ffffff;
}


.button-primary:hover {
    background: #ff3636;

    transform: translateY(-2px);

    box-shadow:
        0 8px 30px
        rgba(229, 40, 40, 0.25);
}


.button-secondary {
    color: #ffffff;

    border: 1px solid #333941;
}


.button-secondary:hover {
    border-color: #777777;
}



/* ==========================================================
   MAIN HERO
   ========================================================== */

.hero {
    min-height: 100vh;

    padding: 120px 8% 80px;

    display: flex;
    align-items: center;

    background:

        radial-gradient(
            circle at 70% 40%,
            rgba(255, 40, 40, 0.12),
            transparent 35%
        ),

        #07090c;
}


.hero-content {
    max-width: 900px;
}


.eyebrow {
    margin-bottom: 18px;

    color: #ff3030;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 4px;
}


.hero h1 {
    font-size: clamp(55px, 9vw, 120px);

    line-height: 0.95;

    letter-spacing: -4px;
}


.hero h2 {
    margin-top: 18px;

    color: #888e95;

    font-size: clamp(18px, 3vw, 30px);

    font-weight: 400;

    letter-spacing: 4px;
}


.hero p {
    max-width: 650px;

    margin-top: 35px;

    color: #a5a9ae;

    font-size: 18px;
}


.hero-buttons {
    margin-top: 35px;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}



/* ==========================================================
   SECTIONS
   ========================================================== */

.content-section {
    padding: 110px 8%;
}


.dark-section,
.projects-section {
    background: #0a0d11;
}


.section-label {
    margin-bottom: 15px;

    color: #ff3030;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 4px;
}


.section-heading {
    margin-bottom: 25px;

    font-size: clamp(32px, 5vw, 55px);

    line-height: 1.1;
}


.section-description {
    max-width: 800px;

    color: #9ca1a8;

    font-size: 17px;
}



/* ==========================================================
   PROJECT CARDS
   ========================================================== */

.project-grid {
    margin-top: 50px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}


.project-link {
    display: block;

    color: inherit;

    text-decoration: none;
}


.project-card {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    border: 1px solid #252b31;
    border-radius: 12px;

    background: #101419;

    transition: 0.3s;
}


.project-card:hover,
.project-link:hover .project-card {
    transform: translateY(-6px);

    border-color: #733333;

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.35);
}


.project-card-content {
    position: relative;

    z-index: 4;

    height: 100%;
    min-height: 360px;

    padding: 28px;

    display: flex;
    flex-direction: column;
}


.project-number {
    color: #ff4646;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 2px;
}


.project-bottom {
    margin-top: auto;
}


.project-status {
    width: fit-content;

    margin-bottom: 12px;

    padding: 5px 9px;

    color: #ff6a6a;

    border:
        1px solid
        rgba(255, 70, 70, 0.35);

    border-radius: 4px;

    background:
        rgba(10, 10, 10, 0.35);

    backdrop-filter: blur(8px);

    font-size: 10px;
    font-weight: bold;

    letter-spacing: 1.5px;
}


.project-card h3 {
    margin-bottom: 8px;

    font-size: 27px;
}


.project-fullname {
    margin-bottom: 12px;

    color: #a7acb1;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.project-card p {
    color: #adb2b8;

    font-size: 15px;
}


.project-more {
    margin-top: 20px;

    color: #ff5b5b;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 0.5px;
}



/* ASC TIMEGATE BACKGROUND */

.project-card-timegate {
    isolation: isolate;
}


.project-background {
    position: absolute;

    inset: -15px;

    z-index: 1;

    background:

        url("../assets/images/asc-timegate/hero.jpg")
        center center / cover
        no-repeat;

    filter: blur(7px);

    transform: scale(1.07);
}


.project-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:

        linear-gradient(
            180deg,
            rgba(5, 7, 9, 0.15) 0%,
            rgba(5, 7, 9, 0.48) 40%,
            rgba(5, 7, 9, 0.95) 100%
        ),

        linear-gradient(
            140deg,
            rgba(225, 30, 30, 0.13),
            transparent
        );
}



/* ==========================================================
   DEVELOPMENT
   ========================================================== */

.development-grid {
    margin-top: 45px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
}


.development-item {
    padding: 25px 0;

    border-top: 1px solid #25292e;
}


.development-item h3 {
    margin-bottom: 8px;

    font-size: 18px;
}


.development-item p {
    color: #777d84;

    font-size: 14px;
}



/* ==========================================================
   CONTACT
   ========================================================== */

.contact-section {
    text-align: center;

    border-top: 1px solid #161a1f;
}


.contact-description {
    margin:
        0 auto
        30px auto;
}



/* ==========================================================
   ASC TIMEGATE PRODUCT HERO
   ========================================================== */

.product-hero {
    position: relative;

    min-height: 85vh;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    padding:
        140px 8%
        90px;
}


.product-hero-background {
    position: absolute;

    inset: -15px;

    background:

        url("../assets/images/asc-timegate/hero.jpg")
        center center / cover
        no-repeat;

    filter: blur(3px);

    transform: scale(1.04);
}


.product-hero-overlay {
    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(6, 8, 10, 0.95) 0%,
            rgba(6, 8, 10, 0.70) 45%,
            rgba(6, 8, 10, 0.25) 100%
        ),

        linear-gradient(
            0deg,
            rgba(6, 8, 10, 0.95),
            transparent 70%
        );
}


.product-hero-content {
    position: relative;

    z-index: 5;

    max-width: 850px;
}


.back-link {
    display: inline-block;

    margin-bottom: 40px;

    color: #a2a7ad;

    text-decoration: none;

    font-size: 14px;
}


.back-link:hover {
    color: #ffffff;
}


.product-status-large {
    width: fit-content;

    margin-bottom: 15px;

    padding: 6px 10px;

    color: #ff6262;

    border:
        1px solid
        rgba(255, 60, 60, 0.4);

    border-radius: 4px;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 2px;
}


.product-hero h1 {
    font-size:
        clamp(50px, 8vw, 105px);

    line-height: 0.95;

    letter-spacing: -3px;
}


.product-hero h2 {
    margin-top: 18px;

    color: #b0b4ba;

    font-size:
        clamp(18px, 3vw, 28px);

    font-weight: 400;
}


.product-hero p {
    max-width: 650px;

    margin-top: 28px;

    color: #b3b7bd;

    font-size: 17px;
}



/* ==========================================================
   PRODUCT OVERVIEW
   ========================================================== */

.product-intro-grid {
    display: grid;

    grid-template-columns:
        1.6fr 1fr;

    gap: 70px;

    align-items: start;
}


.feature-box {
    padding: 25px;

    display: grid;

    grid-template-columns:
        1fr 1.4fr;

    gap: 18px 20px;

    background: #0e1216;

    border: 1px solid #252a2f;

    border-radius: 10px;
}


.feature-box span {
    color: #696f76;

    font-size: 11px;

    letter-spacing: 1px;
}


.feature-box strong {
    font-size: 14px;
}



/* ==========================================================
   FEATURE CARDS
   ========================================================== */

.feature-grid {
    margin-top: 50px;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 20px;
}


.feature-card {
    min-height: 220px;

    padding: 26px;

    background: #101419;

    border: 1px solid #242a30;

    border-radius: 9px;
}


.feature-number {
    margin-bottom: 45px;

    color: #ff4545;

    font-size: 12px;

    letter-spacing: 2px;
}


.feature-card h3 {
    margin-bottom: 8px;

    font-size: 20px;
}


.feature-card p {
    color: #838990;

    font-size: 14px;
}



/* ==========================================================
   SPECIFICATIONS
   ========================================================== */

.spec-table {
    max-width: 950px;

    margin-top: 45px;

    border-top: 1px solid #292e34;
}


.spec-row {
    min-height: 65px;

    padding: 15px 5px;

    display: grid;

    grid-template-columns:
        minmax(150px, 1fr)
        2fr;

    align-items: center;

    border-bottom:
        1px solid #20252a;
}


.spec-row span {
    color: #6f757c;

    font-size: 13px;
}


.spec-row strong {
    font-size: 15px;
}



/* ==========================================================
   PRODUCT GALLERY
   ========================================================== */

.product-gallery {
    margin-top: 50px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.gallery-item {
    position: relative;

    min-height: 320px;

    overflow: hidden;

    background: #101419;

    border-radius: 10px;

    border: 1px solid #24292f;
}


.gallery-item-large {
    grid-column: 1 / -1;

    min-height: 520px;
}


.gallery-item img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform
        0.4s;
}


.gallery-item:hover img {
    transform: scale(1.03);
}



/* ==========================================================
   FOOTER
   ========================================================== */

footer {
    padding: 30px 8%;

    display: flex;
    justify-content: space-between;

    gap: 15px;

    flex-wrap: wrap;

    border-top: 1px solid #161a1f;

    color: #555c63;

    font-size: 13px;
}


footer a {
    color: #777d84;

    text-decoration: none;
}


footer a:hover {
    color: #ffffff;
}



/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 800px) {

    .navbar {
        padding:
            0 6%;
    }


    .navbar-links {
        display: none;
    }


    .hero {
        padding:
            120px 7%
            70px;
    }


    .hero h1 {
        letter-spacing: -2px;
    }


    .content-section {
        padding:
            80px 7%;
    }


    .product-hero {
        min-height: 80vh;

        padding:
            120px 7%
            70px;
    }


    .product-intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .product-gallery {
        grid-template-columns: 1fr;
    }


    .gallery-item-large {
        grid-column: auto;

        min-height: 350px;
    }


    .gallery-item {
        min-height: 300px;
    }


    .spec-row {
        grid-template-columns: 1fr;

        gap: 5px;

        padding: 16px 0;
    }

}
