
/*==========================================
            PROJECT HERO
==========================================*/

.project-hero{

    position:relative;

    min-height:80vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background:
    linear-gradient(rgba(10,20,45,.70),rgba(10,20,45,.70)),
    url("../images/hero.jpg") center/cover no-repeat;

    overflow:hidden;

}

.project-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
    180deg,
    rgba(0,0,0,.10),
    rgba(0,0,0,.45)
    );

}

.project-hero .container{

    position:relative;

    z-index:2;

}

.project-hero-content{

    max-width:900px;

    margin:auto;

}

.project-category{

    display:inline-block;

    padding:10px 28px;

    border-radius:50px;

    background:rgba(212,160,23,.18);

    border:1px solid rgba(212,160,23,.45);

    color:#fff;

    font-size:15px;

    font-weight:700;

    backdrop-filter:blur(10px);

}

.project-hero h1{

    margin:28px 0 18px;

    color:#fff;

    font-size:clamp(40px,6vw,72px);

    line-height:1.2;

    font-weight:900;

}

.project-hero p{

    max-width:760px;

    margin:auto;

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

    font-size:20px;

    line-height:2;

}
@media(max-width:768px){

.project-hero{

    min-height:65vh;

    padding:120px 0 80px;

}

.project-hero h1{

    font-size:38px;

}

.project-hero p{

    font-size:17px;

    line-height:1.9;

}

}
/*==========================================
            PROJECT INFO
==========================================*/

.project-info-section{

    margin-top:-80px;

    position:relative;

    z-index:5;

}

.project-info-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}
.info-card{
    background:#fff;
    border-radius:22px;
    padding:35px 25px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border:1px solid rgba(0,0,0,.05);
    transition:var(--transition);
}


.info-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.info-card i{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    border-radius:50%;

    background:rgba(212,160,23,.12);

    color:var(--secondary);

    font-size:28px;

    margin-bottom:20px;

}

.info-card h4{

    color:var(--primary);

    font-size:20px;

    margin-bottom:12px;

    font-weight:800;

}

.info-card p{

    color:var(--light);

    font-size:17px;

    line-height:1.8;

}
@media(max-width:768px){

.project-info-section{

    margin-top:-50px;

}

.project-info-grid{

    gap:18px;

}

.info-card{

    padding:28px 18px;

}

.info-card i{

    width:60px;

    height:60px;

    font-size:24px;

}

.info-card h4{

    font-size:18px;

}

.info-card p{

    font-size:15px;

}

}
/*==========================================
            PROJECT GALLERY
==========================================*/

.project-gallery{

    background:var(--section);

}

.gallery-wrapper{

    max-width:1100px;

    margin:auto;

}

.main-image{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#fff;

    box-shadow:var(--shadow);

}

.main-image img{

    width:100%;

    height:650px;

    object-fit:cover;

    display:block;

    cursor:pointer;

    transition:.5s;

}

.main-image:hover img{
    transform:scale(1.05);
}

.thumbnail-gallery{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:15px;

    margin-top:25px;

}
.thumbnail{
    width:100%;
    height:110px;
    object-fit:cover;
    border-radius:16px;
    cursor:pointer;
    transition:var(--transition);
    border:4px solid transparent;
    opacity:.75;
}

.thumbnail:hover{

    opacity:1;

    transform:translateY(-6px);

}

.thumbnail.active{

    border-color:var(--secondary);

    opacity:1;

}
/*==========================================
            LIGHTBOX
==========================================*/

.image-lightbox{

    position:fixed;

    inset:0;

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

    display:none;

    align-items:center;

    justify-content:center;

    z-index:99999;

}

.image-lightbox.active{

    display:flex;

}

.image-lightbox img{

    max-width:90%;

    max-height:90vh;

    border-radius:15px;

}

.lightbox-close{

    position:absolute;

    top:25px;

    right:35px;

    color:#fff;

    font-size:35px;

    cursor:pointer;

}
@media(max-width:992px){

.thumbnail-gallery{

    grid-template-columns:repeat(3,1fr);

}

.main-image img{

    height:420px;

}

}

@media(max-width:768px){

.thumbnail-gallery{

    grid-template-columns:repeat(2,1fr);

}

.main-image img{

    height:280px;

}

.thumbnail{

    height:90px;

}

}
