/* =========================================================
   NOVA STUDIO
   PROJECTS PAGE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

.projects-page {
    width: 100%;
    overflow: hidden;

    background: #02090f;
    color: #fff;
}

.projects-container {
    width: calc(100% - 120px);
    max-width: 1420px;

    margin: 0 auto;
}


/* =========================================================
   COMMON EYEBROW
========================================================= */

.projects-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 16px;

    color: #28a0eb;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.projects-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    flex: 0 0 28px;

    background: #28a0eb;

    box-shadow: 0 0 8px rgba(40, 160, 235, .5);
}


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

.projects-hero {
    position: relative;

 

    overflow: hidden;

    background: #02090f;

    border-bottom: 1px solid rgba(40, 160, 235, .20);
}

.projects-hero__inner {
position: relative;
    z-index: 3;
    width: calc(100% - 120px);
    max-width: 1420px;
    height: 564px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.projects-hero__content {
    position: relative;
    z-index: 5;

    width: 48%;

    padding-right: 40px;
}

.projects-hero__content h1 {
    margin: 0 0 18px;

    color: #fff;

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

    line-height: 1.03;

    letter-spacing: -.035em;

    text-transform: uppercase;
}

.projects-hero__content h1 span {
    color: #078ef0;
}

.projects-hero__content p {
    width: 100%;
    max-width: 570px;

    margin: 0;

    color: #c3c9ce;

    font-size: 15px;
    font-weight: 400;

    line-height: 1.55;
}


/* =========================================================
   PROJECTS HERO IMAGE
========================================================= */

.projects-hero__visual {
    position: absolute;

    top: 25px;
    right: 0;
    bottom: 0;

    width: 58%;
    height: 100%;

    overflow: hidden;
}


/* самата снимка */

.projects-hero__visual img {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center center;

    transform: none;
}


/* плавно преливане към лявата част */

.projects-hero__visual::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 0;
    bottom: 0;
    left: 0;

    width: 48%;

    pointer-events: none;

    background: linear-gradient(
        90deg,
        #02090f 0%,
        rgba(2, 9, 15, .98) 8%,
        rgba(2, 9, 15, .90) 20%,
        rgba(2, 9, 15, .72) 36%,
        rgba(2, 9, 15, .48) 54%,
        rgba(2, 9, 15, .22) 72%,
        rgba(2, 9, 15, .07) 88%,
        transparent 100%
    );
}

/* =========================================================
   PROJECTS SHOWCASE
========================================================= */

.projects-showcase {
    position: relative;

    padding: 55px 0 35px;

    background: #02090f;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.projects-section-heading {
    margin-bottom: 28px;
}

.projects-section-heading h2 {
    margin: 0;

    color: #fff;

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

    line-height: 1;

    letter-spacing: -.035em;

    text-transform: uppercase;
}

.projects-section-heading h2 span {
    color: #078ef0;
}


/* =========================================================
   PROJECT GRID
========================================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 34px;
}


/* =========================================================
   PROJECT CARD
========================================================= */

.project-card {
    position: relative;
    display: block;

    min-height: 0;

    overflow: visible;

    background: transparent;
    border: 0;
    border-radius: 0;

    transition: transform .25s ease;
}

.project-card:hover {
    transform: translateY(-4px);

    border: 0;
    box-shadow: none;
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-card__image {
    position: relative;

    width: 100%;
    height: 245px;

    overflow: hidden;

    margin-bottom: 14px;

    background: #07131d;

    border: 1px solid rgba(40, 160, 235, .32);
    border-radius: 5px;
}

.project-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: inherit;
    object-position: center;

    transition: transform .4s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.025);
}

/* махаме старото преливане */
.project-card__image::after {
    display: none;
    content: none;
}


/* =========================================================
   PROJECT CONTENT
========================================================= */

.project-card__content {
    position: relative;

    display: block;

    min-height: 120px;

    padding: 0 55px 0 0;
}

.project-card__category {
    display: block;

    margin: 0 0 6px;

    color: #079cff;

    font-size: 11px;
    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;
}

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

    color: #fff;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.1;

    text-transform: uppercase;
}

.project-card p {
    max-width: 330px;

    margin: 0;

    color: #b7c0c7;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.5;
}


/* =========================================================
   PROJECT ARROW
========================================================= */

.project-card__arrow {
    position: absolute;

    top: 0;
    right: 0;

    width: 38px;
    height: 38px;

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

    border: 1px solid #079cff;
    border-radius: 50%;

    background: transparent;

    color: #079cff;

    font-size: 20px;
    font-weight: 300;
    line-height: 1;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.project-card__arrow:hover {
    color: #fff;

    background: #079cff;

    transform: translateX(3px);

    box-shadow: 0 0 15px rgba(7, 156, 255, .35);
}


/* =========================================================
   PROJECTS SECTION SPACING
========================================================= */

.projects-showcase {
    position: relative;

    padding: 55px 0 45px;

    background: #02090f;
}

.projects-section-heading {
    margin-bottom: 30px;
}


/* =========================================================
   PROJECTS STATS
========================================================= */

.projects-stats {
    position: relative;

    padding: 48px 0;

    background: #02090f;

    border-top: 1px solid rgba(40, 160, 235, .20);
    border-bottom: 1px solid rgba(40, 160, 235, .20);
}

.projects-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    align-items: stretch;
}


/* =========================================================
   STAT ITEM
========================================================= */

.projects-stat {
    position: relative;

    display: flex;
    align-items: center;

    gap: 30px;

    min-height: 150px;

    padding: 15px 55px;
}

.projects-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 8%;
    right: 0;

    width: 1px;
    height: 84%;

    background: rgba(40, 160, 235, .40);
}


/* =========================================================
   ICON
========================================================= */

.projects-stat__icon {
    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-stat__icon svg {
    width: 58px;
    height: 58px;

    fill: none;

    stroke: #078ef0;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;

    filter: drop-shadow(
        0 0 7px rgba(7, 142, 240, .20)
    );
}


/* =========================================================
   CONTENT
========================================================= */

.projects-stat__content {
    min-width: 0;
}


/* =========================================================
   NUMBER
========================================================= */

.projects-stat__number {
    display: block;

    margin-bottom: 7px;

    color: #fff;

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

    line-height: .9;

    letter-spacing: -.03em;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   LABEL
========================================================= */

.projects-stat span {
    display: block;

    margin-bottom: 16px;

    color: #078ef0;

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

    line-height: 1.1;

    text-transform: uppercase;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.projects-stat p {
    max-width: 300px;

    margin: 0;

    color: #aeb7be;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .projects-stat {
        gap: 20px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .projects-stat__icon {
        flex-basis: 58px;

        width: 58px;
    }

    .projects-stat__icon svg {
        width: 48px;
        height: 48px;
    }

    .projects-stat__number {
        font-size: 40px;
    }
}


@media (max-width: 800px) {

    .projects-stats {
        padding: 20px 0;
    }

    .projects-stats__grid {
        grid-template-columns: 1fr;
    }

    .projects-stat {
        justify-content: flex-start;

        min-height: 130px;

        padding: 30px;
    }

    .projects-stat:not(:last-child)::after {
        top: auto;
        right: 30px;
        bottom: 0;
        left: 30px;

        width: auto;
        height: 1px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .projects-container,
    .projects-hero__inner,
    .projects-cta__inner {
        width: calc(100% - 60px);
    }

    .projects-hero__content h1 {
        font-size: 42px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-stats__grid {
        grid-template-columns: 1fr;
    }

    .projects-stat {
        justify-content: flex-start;

        max-width: 600px;

        margin: 0 auto;
    }

    .projects-stat:not(:last-child)::after {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;

        width: 100%;
        height: 1px;
    }
}


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

@media (max-width: 700px) {

    .projects-container,
    .projects-hero__inner,
    .projects-cta__inner {
        width: calc(100% - 36px);
    }


    /* HERO */

    .projects-hero {
        min-height: auto;
    }

    .projects-hero__inner {
        display: flex;
        flex-direction: column;

        padding-top: 70px;
    }

    .projects-hero__content {
        width: 100%;

        padding: 40px 0 20px;
    }

    .projects-hero__content h1 {
        font-size: 36px;
    }

    .projects-hero__content p {
        font-size: 14px;
    }

    .projects-hero__visual {
        width: 100%;
        height: 280px;
    }

    .projects-hero__visual img {
        top: 50%;
        left: 50%;
        right: auto;

        width: 570px;

        transform: translate(-50%, -50%);
    }

    .projects-hero__visual::before {
        display: none;
    }


    /* PROJECTS */

    .projects-showcase {
        padding: 45px 0 30px;
    }

    .projects-section-heading h2 {
        font-size: 34px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        min-height: 180px;
    }


    /* STATS */

    .projects-stat {
        padding: 24px 5px;
    }


    /* CTA */

    .projects-cta {
        min-height: 370px;
    }

    .projects-cta__inner {
        display: flex;
        flex-direction: column;

        align-items: flex-start;
        justify-content: center;

        gap: 28px;
    }

    .projects-cta__title h2 {
        font-size: 32px;
    }

    .projects-cta__content {
        padding-left: 0;
    }

}