/* =========================================
   PROJECTS PAGE
========================================= */

.projects-hero {

    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #0b0b0b;

    padding-top: 150px;
    padding-bottom: 100px;

    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;

}


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

.projects-hero-grid {

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    opacity: .35;

}


/* =========================================
   GLOW
========================================= */

.projects-glow {

    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    filter: blur(130px);

    opacity: .20;

}


.projects-glow-1 {

    top: -250px;
    left: -150px;

    background: #990011;

}


.projects-glow-2 {

    right: -250px;
    bottom: -300px;

    background: #5e17eb;

}


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

.projects-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.projects-tag {

    display: inline-block;

    margin-bottom: 22px;

    padding-left: 16px;

    border-left: 3px solid #990011;

    color: rgba(255,255,255,.60);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;

}


.projects-hero h1 {

    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(
        48px,
        6vw,
        82px
    );

    line-height: 1.05;

    letter-spacing: -3px;

    font-weight: 600;

}


.projects-hero h1 span {

    display: block;

    background:

        linear-gradient(
            135deg,
            #ffffff 0%,
            #4d8cff 40%,
            #990011 75%,
            #ff4fa3 100%
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;

}


.projects-hero p {

    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.65);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================
   PROJECT SECTION
========================================= */

.projects-section {

    padding: 110px 0;

    background: #ffffff;

}


.projects-heading {

    max-width: 800px;

    margin-bottom: 70px;

}


.projects-heading span {

    color: #990011;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 3px;

}


.projects-heading h2 {

    margin: 15px 0 0;

    color: #111111;

    font-size: clamp(
        36px,
        4vw,
        58px
    );

    line-height: 1.1;

    letter-spacing: -2px;

}


.projects-heading h2 strong {

    color: #990011;

    font-weight: 600;

}


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

.project-card {

    display: grid;

    grid-template-columns:
        1.15fr .85fr;

    min-height: 500px;

    margin-bottom: 70px;

    overflow: hidden;

    border-radius: 30px;

    background: #f7f7f7;

    border: 1px solid #eeeeee;

    box-shadow:
        0 25px 70px rgba(0,0,0,.07);

}


.project-card-reverse {

    grid-template-columns:
        .85fr 1.15fr;

}


.project-card-reverse
.project-image {

    order: 2;

}


.project-card-reverse
.project-content {

    order: 1;

}


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

.project-image {

    position: relative;

    min-height: 500px;

    overflow: hidden;

    background: #111111;

}


.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform .7s ease;

}


.project-card:hover
.project-image img {

    transform: scale(1.04);

}


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

.project-number {

    position: absolute;

    top: 25px;
    left: 25px;

    width: 55px;
    height: 55px;

    display: flex;

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

    border-radius: 50%;

    background:
        rgba(0,0,0,.55);

    backdrop-filter:
        blur(15px);

    border:
        1px solid rgba(255,255,255,.15);

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

}


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

.project-content {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 65px;

}


.project-category {

    margin-bottom: 18px;

    color: #990011;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2px;

}


.project-content h3 {

    margin: 0 0 20px;

    color: #111111;

    font-size: 42px;

    line-height: 1.1;

    letter-spacing: -1.5px;

}


.project-content p {

    max-width: 520px;

    margin: 0 0 30px;

    color: #666666;

    font-size: 14px;

    line-height: 1.8;

}


/* =========================================
   TECHNOLOGIES
========================================= */

.project-tech {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;

}


.project-tech span {

    padding: 8px 13px;

    border-radius: 30px;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    color: #555555;

    font-size: 10px;

}


/* =========================================
   PROJECT LINK
========================================= */

.project-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    width: fit-content;

    color: #111111;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        color .3s ease,
        gap .3s ease;

}


.project-link:hover {

    color: #990011;

    gap: 15px;

}


/* =========================================
   CTA
========================================= */

.projects-cta {

    position: relative;

    overflow: hidden;

    padding: 110px 0;

    background: #0b0b0b;

    text-align: center;

}


.projects-cta-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    left: 50%;
    top: 50%;

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

    background: #990011;

    filter: blur(170px);

    opacity: .15;

}


.projects-cta-content {

    position: relative;

    z-index: 2;

}


.projects-cta-content > span {

    color: rgba(255,255,255,.55);

    font-size: 11px;

    letter-spacing: 3px;

}


.projects-cta h2 {

    margin: 18px 0;

    color: #ffffff;

    font-size: clamp(
        38px,
        5vw,
        64px
    );

    line-height: 1.05;

    letter-spacing: -2px;

}


.projects-cta h2 strong {

    color: #990011;

}


.projects-cta p {

    max-width: 600px;

    margin: 0 auto 30px;

    color: rgba(255,255,255,.60);

    font-size: 14px;

    line-height: 1.8;

}


.projects-cta-button {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 25px;

    border-radius: 50px;

    background: #990011;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.projects-cta-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(153,0,17,.35);

}


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

@media (max-width: 900px) {

    .project-card,
    .project-card-reverse {

        grid-template-columns: 1fr;

    }


    .project-card-reverse
    .project-image {

        order: 1;

    }


    .project-card-reverse
    .project-content {

        order: 2;

    }


    .project-image {

        min-height: 400px;

    }


    .project-content {

        padding: 45px;

    }

}


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

@media (max-width: 600px) {

    .projects-hero {

        min-height: 450px;

        padding-top: 125px;
        padding-bottom: 70px;

        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;

    }


    .projects-hero h1 {

        font-size: 42px;

        letter-spacing: -1.5px;

    }


    .projects-hero p {

        font-size: 13px;

    }


    .projects-section {

        padding: 70px 0;

    }


    .projects-heading {

        margin-bottom: 40px;

    }


    .projects-heading h2 {

        font-size: 35px;

    }


    .project-card {

        margin-bottom: 35px;

        border-radius: 22px;

    }


    .project-image {

        min-height: 280px;

    }


    .project-content {

        padding: 30px 25px;

    }


    .project-content h3 {

        font-size: 32px;

    }


    .project-content p {

        font-size: 13px;

    }


    .projects-cta {

        padding: 80px 0;

    }

}