/*==================================================
PROJECTS PAGE
==================================================*/

body{
    padding-top:104px;
}


/*==================================================
PROJECT HERO
==================================================*/

.projects-hero{
    position:relative;
    padding:135px 0 100px;
    overflow:hidden;

    background:
        linear-gradient(
            90deg,
            rgba(14,24,43,.96),
            rgba(18,30,52,.82)
        ),
        url("../images/portfolio/18a.jpg") center / cover no-repeat;
}

.projects-hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
}

.projects-hero-label{
    display:inline-block;
    margin-bottom:20px;

    color:#b9dc55;

    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
}

.projects-hero h1{
    max-width:800px;

    margin:0 0 25px;

    color:#ffffff;

    font-size:58px;
    line-height:1.08;
    letter-spacing:-2px;
}

.projects-hero p{
    max-width:700px;

    margin:0;

    color:rgba(255,255,255,.80);

    font-size:17px;
    line-height:30px;
}


/* HERO BUTTONS */

.projects-hero-buttons{
    display:flex;
    align-items:center;
    gap:16px;

    margin-top:34px;
}

.projects-primary-btn,
.projects-secondary-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:52px;

    padding:0 28px;

    border-radius:28px;

    font-size:11px;
    line-height:17px;
    font-weight:800;
    letter-spacing:.8px;
    text-transform:uppercase;
    text-decoration:none;

    transition:.3s ease;
}

.projects-primary-btn{
    background:#95c11f;
    color:#ffffff;
}

.projects-primary-btn:hover{
    background:#7fa817;
    color:#ffffff;

    transform:translateY(-3px);
}

.projects-secondary-btn{
    border:1px solid rgba(255,255,255,.42);

    background:rgba(255,255,255,.08);

    color:#ffffff;
}

.projects-secondary-btn:hover{
    border-color:#ffffff;

    background:#ffffff;

    color:#172033;

    transform:translateY(-3px);
}


/* BREADCRUMB */

.projects-breadcrumb{
    display:flex;
    align-items:center;
    gap:12px;

    margin-top:35px;
}

.projects-breadcrumb a{
    color:#b9dc55;
    text-decoration:none;
}

.projects-breadcrumb span{
    color:rgba(255,255,255,.35);
}

.projects-breadcrumb strong{
    color:#ffffff;
}


/*==================================================
PROJECT PORTFOLIO SECTION
==================================================*/

.portfolio-padding-top-bottom-1{
    padding:80px 0 110px !important;
}


/*==================================================
FILTER
==================================================*/

#portfolio-filter{
    margin:0 0 50px !important;
    padding:0 !important;

    text-align:center;
}

#filter{
    display:flex !important;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;

    gap:12px;

    margin:0 !important;
    padding:0 !important;
}

#filter li{
    display:block;

    margin:0 !important;
    padding:0 !important;

    list-style:none;
}

#filter li a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:42px;

    padding:0 20px;

    border:1px solid #e2e7ee;
    border-radius:24px;

    background:#ffffff;

    color:#586273;

    font-size:11px;
    font-weight:800;

    letter-spacing:.6px;
    text-transform:uppercase;
    text-decoration:none;

    transition:.3s ease;
}

#filter li a.current,
#filter li a:hover{
    border-color:#95c11f;

    background:#95c11f;

    color:#ffffff;
}


/*==================================================
PROJECT GRID
==================================================*/

#projects-grid{
    position:relative !important;

    display:grid !important;

    grid-template-columns:
        repeat(3, minmax(0,1fr)) !important;

    gap:28px !important;

    width:calc(100% - 60px) !important;
    max-width:1450px !important;

    height:auto !important;

    margin:0 auto !important;
    padding:0 !important;

    float:none !important;

    overflow:visible !important;
}


/* RESET OLD TEMPLATE LINK STYLING */

#projects-grid > a{
    position:relative !important;

    display:block !important;

    width:100% !important;
    min-width:0 !important;
    max-width:none !important;

    height:auto !important;

    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;

    margin:0 !important;
    padding:0 !important;

    float:none !important;
    clear:none !important;

    transform:none !important;

    color:inherit;

    text-decoration:none !important;
}


/*==================================================
PROJECT CARD
==================================================*/

.ts-project-card{
    position:relative !important;

    display:block !important;

    width:100% !important;
    min-width:0 !important;
    max-width:none !important;

    height:370px !important;

    margin:0 !important;
    padding:0 !important;

    float:none !important;

    overflow:hidden !important;

    border-radius:24px !important;

    background:#172033;

    box-shadow:
        0 18px 48px rgba(23,32,51,.12);
}


/* IMAGE */

.ts-project-card > img{
    position:absolute !important;

    top:0 !important;
    left:0 !important;

    display:block !important;

    width:100% !important;
    max-width:none !important;

    height:100% !important;

    margin:0 !important;
    padding:0 !important;

    object-fit:cover !important;

    transition:transform .6s ease;
}

.ts-project-card:hover > img{
    transform:scale(1.06);
}


/* DARK OVERLAY */

.project-card-overlay{
    position:absolute !important;

    inset:0 !important;

    z-index:1;

    width:100%;
    height:100%;

    background:
        linear-gradient(
            180deg,
            rgba(10,18,33,.02) 0%,
            rgba(10,18,33,.15) 38%,
            rgba(10,18,33,.94) 100%
        );
}


/* CARD TEXT */

.project-card-content{
    position:absolute !important;

    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    z-index:2 !important;

    width:auto !important;

    padding:28px !important;

    text-align:left !important;
}

.project-card-content span{
    display:inline-block;

    margin:0 0 11px;

    color:#b9dc55;

    font-size:10px;
    line-height:16px;
    font-weight:800;

    letter-spacing:1.3px;

    text-transform:uppercase;
}

.project-card-content h3{
    margin:0 0 9px !important;

    padding:0 !important;

    color:#ffffff !important;

    font-size:24px !important;
    line-height:1.25 !important;

    text-align:left !important;
}

.project-card-content p{
    margin:0 !important;

    padding:0 !important;

    color:rgba(255,255,255,.70) !important;

    font-size:13px !important;
    line-height:22px !important;

    text-align:left !important;
}


/*==================================================
TABLET
==================================================*/

@media only screen and (max-width:1000px){

    #projects-grid{
        grid-template-columns:
            repeat(2, minmax(0,1fr)) !important;

        width:calc(100% - 40px) !important;

        gap:22px !important;
    }
}


/*==================================================
MOBILE
==================================================*/

@media only screen and (max-width:650px){

    body{
        padding-top:86px;
    }

    .projects-hero{
        padding:100px 22px 75px;
    }

    .projects-hero h1{
        font-size:40px;
        line-height:1.1;
        letter-spacing:-1px;
    }

    .projects-hero p{
        font-size:15px;
        line-height:27px;
    }

    .projects-hero-buttons{
        flex-direction:column;
        align-items:flex-start;
    }

    .portfolio-padding-top-bottom-1{
        padding:60px 0 80px !important;
    }

    #portfolio-filter{
        margin-bottom:35px !important;
    }

    #projects-grid{
        grid-template-columns:1fr !important;

        width:calc(100% - 30px) !important;

        gap:20px !important;
    }

    .ts-project-card{
        height:340px !important;
    }
}