
/* =====================================
   ARNOLD LABS — PROJECTS PAGE
   ===================================== */

main {
    padding-top: 100px;
}

/* PROJECTS HERO */

.projects-hero {
    min-height: 75vh;
    padding: 90px 9% 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.projects-intro {
    max-width: 950px;
    position: relative;
    z-index: 1;
}

.projects-intro h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -3px;
    margin: 25px 0;
    font-weight: 700;
}

.projects-intro h1 span {
    display: block;
    background: linear-gradient(
        100deg,
        #00d9ff,
        #8b5cf6,
        #ffffff
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.projects-description {
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 35px;
}

.explore-projects {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 24px;
    border: 1px solid rgba(0, 217, 255, .4);
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: 1px;
    background: rgba(0, 217, 255, .06);
    transition: .35s ease;
}

.explore-projects:hover {
    background: rgba(0, 217, 255, .15);
    border-color: #00d9ff;
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(0, 217, 255, .12);
}

.projects-hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 70px;
    color: var(--text-secondary);
    font-size: .72rem;
    letter-spacing: 2px;
}

/* HERO AMBIENT LIGHT */

.projects-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: 5%;
    top: 10%;
    background: radial-gradient(
        circle,
        rgba(0, 217, 255, .13),
        transparent 70%
    );
    filter: blur(65px);
    pointer-events: none;
}

/* MOBILE */

@media (max-width: 700px) {
    .projects-hero {
        min-height: 75vh;
        padding: 75px 7% 30px;
    }

    .projects-intro h1 {
        font-size: clamp(2.7rem, 10vw, 4.5rem);
        letter-spacing: -1.5px;
    }

    .projects-description {
        font-size: .98rem;
    }

    .projects-hero-bottom {
        font-size: .62rem;
        letter-spacing: 1px;
        padding-top: 55px;
    }
}


/* =====================================
   PROJECT SHOWCASE
   ===================================== */

.project-showcase {
    padding: 100px 9% 35px;
}

.showcase-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

.showcase-heading h2 {
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    letter-spacing: -2px;
    margin-top: 15px;
}

.showcase-heading h2 span {
    color: var(--accent-cyan);
}

.showcase-heading > p {
    max-width: 350px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* PROJECT FILTERS */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 11px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
    color: var(--text-secondary);
    font: inherit;
    font-size: .85rem;
    cursor: pointer;
    transition: .3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    border-color: rgba(0,217,255,.55);
    background: rgba(0,217,255,.10);
    box-shadow: 0 0 22px rgba(0,217,255,.08);
}

/* PROJECT GRID */

.projects-grid {
    padding: 15px 9% 100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

/* GLASS PROJECT CARD */

.project-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(20,24,38,.10);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 18px 50px rgba(0,0,0,.20);
    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;
}

.project-card:hover {
    transform: translateY(-9px);
    border-color: rgba(0,217,255,.45);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 25px 60px rgba(0,217,255,.08);
}

/* PROJECT IMAGE */

.project-image {
    height: 270px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.07);
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(8,12,22,.55),
        transparent 55%
    );
    pointer-events: none;
}

.project-number {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 1;
    padding: 9px 14px;
    border-radius: 30px;
    color: white;
    font-size: .78rem;
    background: rgba(10,15,25,.35);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* PROJECT INFORMATION */

.project-info {
    padding: 28px;
}

.project-type {
    color: var(--accent-cyan);
    font-size: .7rem;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.project-info h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 14px;
}

.project-info > p:not(.project-type) {
    color: var(--text-secondary);
    font-size: .94rem;
    line-height: 1.8;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.project-tags span {
    padding: 8px 13px;
    border-radius: 30px;
    color: var(--text-primary);
    font-size: .75rem;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.12);
}

/* RESPONSIVE */

@media (max-width: 800px) {
    .project-showcase {
        padding: 75px 7% 25px;
    }

    .projects-grid {
        padding: 15px 7% 75px;
        gap: 20px;
    }

    .showcase-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 230px;
    }

    .project-info {
        padding: 23px;
    }
}


/* CLICKABLE COLLECTION CARDS */

.project-card {
    cursor: pointer;
}

.project-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}


/* =====================================
   PROJECT CTA
   ===================================== */

.project-cta {
    padding: 70px 9% 110px;
}

.cta-content {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 75px 65px;
    border-radius: 30px;
    background: rgba(20,24,38,.12);
    border: 1px solid rgba(255,255,255,.19);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 20px 60px rgba(0,0,0,.22);
}

.cta-content::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    top: -180px;
    right: -80px;
    background: radial-gradient(
        circle,
        rgba(0,217,255,.17),
        transparent 70%
    );
    filter: blur(55px);
    z-index: -1;
    pointer-events: none;
}

.cta-content h2 {
    max-width: 850px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.15;
    letter-spacing: -2px;
    margin: 22px 0;
}

.cta-content > p:not(.section-label) {
    max-width: 650px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 40px;
    color: #fff;
    background: linear-gradient(110deg, #087eaa, #6250bd);
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: 1px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,217,255,.2);
}

@media (max-width: 600px) {
    .project-cta {
        padding: 50px 7% 75px;
    }

    .cta-content {
        padding: 40px 25px;
        border-radius: 22px;
    }

    .cta-content h2 {
        letter-spacing: -1px;
    }
}
