/*========================================================
CV 3D PRINTING
PORTFOLIO.CSS
Only portfolio specific styles
========================================================*/


/*========================================================
GENERAL
========================================================*/

:root{

    --card:#141b27;
    --card-hover:#1b2434;

}

.portfolio-gallery,
.portfolioGallery{

    padding:120px 0 120px;

    background:transparent;

}

.portfolioHero{

    padding:150px 0 70px;

    text-align:center;

}

.portfolioHero h1{

    font-size:clamp(48px,6vw,72px);

    font-weight:800;

    margin-bottom:20px;

}

.portfolioHero p{

    max-width:850px;

    margin:auto;

    color:var(--text2);

    font-size:20px;

    line-height:1.8;

}


/*========================================================
FILTERS
========================================================*/

.portfolio-filters,
.portfolioFilters{

    padding:60px 0;

}

.filterGroup,
.portfolio-filters .container{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:16px;

}

.filter{

    border:none;

    border-radius:999px;

    padding:13px 24px;

    background:#161f2d;

    color:#dbe3ef;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.30s;

    border:1px solid rgba(255,255,255,.06);

}

.filter:hover{

    transform:translateY(-3px);

    border-color:#2f80ff;

}

.filter.active{

    background:linear-gradient(135deg,#2f80ff,#5ea2ff);

    color:white;

    box-shadow:0 10px 28px rgba(47,128,255,.35);

}
/*========================================================
GALLERY GRID
========================================================*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));

    gap:35px;

    max-width:1450px;

    margin:0 auto;

    align-items:start;

}


/*========================================================
CARD
========================================================*/

.gallery-card{

    background:var(--card);

    border:1px solid rgba(255,255,255,.06);

    border-radius:24px;

    overflow:hidden;

    transition:.35s;

    display:flex;

    flex-direction:column;

    box-shadow:0 18px 40px rgba(0,0,0,.28);

}

.gallery-card:hover{

    transform:translateY(-10px);

    border-color:rgba(47,128,255,.25);

    box-shadow:0 28px 70px rgba(0,0,0,.42);

}


/*========================================================
IMAGE
========================================================*/

.gallery-image{

    position:relative;

    height:240px;

    overflow:hidden;

    background:#0d121a;

}

.gallery-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.gallery-card:hover .gallery-image img{

    transform:scale(1.06);

}

.gallery-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.35),

        transparent

    );

    opacity:0;

    transition:.35s;

}

.gallery-card:hover .gallery-image::after{

    opacity:1;

}


/*========================================================
CONTENT
========================================================*/

.gallery-content{

    padding:28px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.gallery-category{

    display:inline-block;

    align-self:flex-start;

    padding:7px 14px;

    border-radius:999px;

    background:rgba(47,128,255,.12);

    color:#69a8ff;

    font-size:12px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.gallery-content h3{

    font-size:28px;

    line-height:1.2;

    margin-bottom:14px;

}

.gallery-content p{

    color:var(--text2);

    font-size:16px;

    line-height:1.7;

    flex:1;

    margin-bottom:26px;

}


/*========================================================
BUTTON
========================================================*/

.gallery-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:170px;

    height:48px;

    border:none;

    border-radius:999px;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    color:white;

    background:linear-gradient(135deg,#2f80ff,#5ea2ff);

    transition:.30s;

}

.gallery-button:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(47,128,255,.35);

}
/*========================================================
CALL TO ACTION
========================================================*/

.portfolioCTA{

    padding:120px 20px;

}

.ctaBox{

    max-width:1200px;

    margin:0 auto;

    padding:80px 60px;

    border-radius:30px;

    text-align:center;

    background:linear-gradient(135deg,#101826,#18263c);

    border:1px solid rgba(255,255,255,.08);

}

.ctaBox h2{

    font-size:clamp(40px,5vw,60px);

    margin-bottom:20px;

}

.ctaBox p{

    max-width:750px;

    margin:0 auto 40px;

    color:var(--text2);

    font-size:19px;

    line-height:1.8;

}


/*========================================================
LIGHTBOX
========================================================*/

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:9999;

}

.lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox img{

    max-width:90vw;

    max-height:85vh;

    border-radius:18px;

    box-shadow:0 25px 70px rgba(0,0,0,.55);

}

.lightbox-close{

    position:absolute;

    top:25px;

    right:35px;

    font-size:40px;

    cursor:pointer;

    color:#fff;

    transition:.25s;

}

.lightbox-close:hover{

    transform:scale(1.15);

}

.lightbox-prev,
.lightbox-next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:58px;

    height:58px;

    border-radius:50%;

    border:none;

    cursor:pointer;

    font-size:26px;

    background:rgba(255,255,255,.12);

    color:#fff;

    transition:.25s;

}

.lightbox-prev:hover,
.lightbox-next:hover{

    background:#2f80ff;

}

.lightbox-prev{

    left:35px;

}

.lightbox-next{

    right:35px;

}


/*========================================================
RESPONSIVE
========================================================*/

@media (max-width:1200px){

    .gallery-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

    }

}

@media (max-width:768px){

    .portfolioHero{

        padding:170px 0px 120px;

    }

    .portfolioHero h1{

        font-size:48px;

    }

    .portfolioHero p{

        font-size:18px;

    }

    .gallery-grid{

        grid-template-columns:1fr;

        gap:28px;

    }

    .gallery-image{

        height:220px;

    }

    .ctaBox{

        padding:60px 30px;

    }

    .lightbox-prev,
    .lightbox-next{

        display:none;

    }

}

@media (max-width:480px){

    .portfolioHero h1{

        font-size:38px;

    }

    .gallery-content{

        padding:22px;

    }

    .gallery-content h3{

        font-size:24px;

    }

    .gallery-button{

        width:100%;

    }

}
.portfolio-stats{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:90px;

    margin-top:55px;

    flex-wrap:wrap;

}

.stat{

    text-align:center;

}

.stat h2{

    font-size:2.6rem;

    margin-bottom:8px;

}

.stat span{

    color:#9fa8b9;

}