/*==================================================
    PROJECTS SECTION
==================================================*/
#projects {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    z-index: 1;
}

/*==================================================
    CONTENT
==================================================*/
.projectsContent {
    width: min(1350px, 92%);
    margin: auto;
    position: relative;
    z-index: 5;
}


/*==================================================
    SECTION TITLE
==================================================*/
#projects .sectionTitle {
    font-family: "Audiowide";
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

/*==================================================
    INTRO
==================================================*/
#projects .sectionIntro {
    font-family: "Kode Mono";
    width: 90%;
    line-height: 1.9;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
}

/*==================================================
    GRID
==================================================*/
#projectGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 45px;
}

/*==================================================
    PROJECT CARD
==================================================*/
.projectCard {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    border-color: rgba(120, 220, 255, .45);
    background: linear-gradient(145deg,
            rgba(10, 20, 30, .28),
            rgba(18, 35, 60, .76));
    box-shadow:
        0 0 25px rgba(120, 220, 255, .18),
        0 0 60px rgba(120, 220, 255, .08);
    backdrop-filter: blur(14px);
    transition:
        transform .35s,
        border-color .35s,
        box-shadow .35s;
    min-height: 240px;
}

.projectCard:hover {
    border-color: rgba(120, 220, 255, .45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, .45);
    background: linear-gradient(145deg,
            rgba(10, 20, 30, .92),
            rgba(18, 35, 60, .96));
    box-shadow:
        0 0 25px rgba(120, 220, 255, .18),
        0 0 80px rgba(120, 220, 255, .08);
}

.projectCard:hover h3 {
    color: #dff8ff;
    text-shadow: 0 0 10px rgba(120, 220, 255, .55);
}

.projectHint {
    margin: 0;
    font-family: "Kode Mono";
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .65;
    transition: .3s;
}

.projectCard:hover .projectHint {
    color: #7edbff;
    letter-spacing: .35em;
}

.projectDetails {
    display: none;
}

/*==================================================
    PROJECT IMAGE
==================================================*/
.projectImage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 180px;
    padding: 32px;
    gap: 18px;
}

/*==================================================
    BODY
==================================================*/
.projectBody {
    padding: 12px;
}

/*==================================================
    CATEGORY
==================================================*/
.projectCategory {
    font-family: "Kode Mono";
    font-size: .82rem;
    letter-spacing: .28rem;
    text-transform: uppercase;
    color: #8bdfff;
    margin-bottom: 18px;
}


/*==================================================
    TITLE
==================================================*/
.projectImage h3 {
    font-family: "Audiowide";
    font-size: 1.8rem;
    line-height: 1.25;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

/*==================================================
    DESCRIPTION
==================================================*/
.projectCard p {
    font-family: "Kode Mono";
    color: var(--text-secondary);
    line-height: 1.9;
}

/*==================================================
    TECHNOLOGY TAGS
==================================================*/
.technologyTags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.technologyTags span {
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(110, 190, 255, .08);
    border: 1px solid rgba(120, 220, 255, .15);
    font-family: "Kode Mono";
    font-size: .8rem;
    letter-spacing: .05rem;
    color: #bfefff;
    transition: .35s;
}

.projectCard:hover .technologyTags span {
    background: rgba(120, 220, 255, .14);
}

/*==================================================
    PROJECT LIST
==================================================*/
.projectList {
    margin: 30px 0;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.projectList li {
    font-family: "Kode Mono";
    color: var(--text-secondary);
    line-height: 1.7;
}

.projectList li a {
    font-family: "Kode Mono";
    color: var(--text-glow-color);
    line-height: 1.7;
    text-decoration: underline;
}

.projectList li::marker {
    color: #7edbff;
}



/*==================================================
    MOBILE
==================================================*/
@media (max-width:900px) {

    .projectCard.featured {
        grid-column: span 1;
    }

    .projectImage {
        height: 220px;
        margin-top: 0;
    }

    .projectBody {
        padding: 32px;
    }

}

@media (max-width:600px) {
    #projects .sectionIntro {
        width: 94%;
        margin-bottom: 40px;
    }

    #projectGrid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        justify-items: center;
    }

    .projectCard {
        height: 180px;
        display: flex;
    }

    .projectImage {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 18px;
        padding: 20px 28px;
        height: auto;
    }

    .projectImage h3 {
        font-family: "Audiowide";
        font-size: 1.8rem;
        line-height: 1.1;
        letter-spacing: .05em;
        margin: 0;
    }
}