

.project-details-section{
    padding:100px 20px;
    background:#f7f7f7;
}

.project-details-section .container{
    max-width:1200px;
    margin:auto;
}

/* HERO */

.project-hero{
    position:relative;
    margin-bottom:40px;
}

.project-hero img{
    width:100%;
    height:auto;
    display:block;
}

.project-title{
    position:absolute;
    top:35px;
    left:35px;

    color:#fff;
    font-size:48px;
    font-weight:300;

    background:rgba(31,31,31,.35);
    backdrop-filter:blur(6px);

    padding:12px 20px;
}

/* GALLERY */

.gallery-wrapper{
    width:100%;
    overflow:hidden;
    position:relative;
    margin-bottom:60px;
}

.gallery-track{
    display:flex;
    gap:15px;
    width:fit-content;
    animation:scrollGallery 30s linear infinite;
    will-change:transform;
}

.gallery-wrapper:hover .gallery-track{
    animation-play-state:paused;
}

.gallery-track img{
    width:280px;
    height:180px;

    object-fit:cover;
    cursor:pointer;
    transition:.4s;
}

.gallery-track img:hover{
    transform:scale(1.05);
}

@keyframes scrollGallery{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/* INFO GRID */

.project-info-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.info-box{
    border:1px solid #e5e5e5;
    padding:20px;
    background:#fff;
}

.info-box span{
    display:block;
    font-size:14px;
    color:#9a9a9a;
    margin-bottom:10px;
}

.info-box h3{
    font-size:20px;
    font-weight:400;
    line-height:1.4;
    color:#222;
}

.description-box{
    grid-column:span 3;
}

.description-box h3{
    max-width:1000px;
    font-weight:400;
    line-height:1.7;
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.92);

    display:none;
    justify-content:center;
    align-items:center;

    z-index:9999;
}

.lightbox.active{
    display:flex;
}

.lightbox-image{
    max-width:90vw;
    max-height:90vh;
    object-fit:contain;
}

.lightbox-close{
    position:absolute;
    top:25px;
    right:35px;
    color:#fff;
    font-size:45px;
    cursor:pointer;
    z-index:10001;
}

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);

    color:#fff;
    font-size:50px;
    cursor:pointer;
    user-select:none;
}

.prev{
    left:40px;
}

.next{
    right:40px;
}

/* TABLET */

@media(max-width:991px){

    .project-title{
        font-size:40px;
    }

    .project-info-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* MOBILE */

@media(max-width:767px){

      .gallery-wrapper{
        overflow:hidden;
        width:100%;
    }

    .gallery-track{
        gap:10px;
    }

    .gallery-track img{
        width:140px;
        min-width:140px;
        height:100px;
    }


    .project-details-section{
        padding:60px 15px;
    }

    .project-hero img{
        height:320px;
        object-fit:cover;
    }

    .project-title{
        font-size:32px;
        top:15px;
        left:15px;
        padding:8px 12px;
    }

    .gallery-track img{
         width:160px;
         min-width:160px;
         height:110px;
    }

    .project-info-grid{
    grid-template-columns:1fr;
}

.description-box{
    grid-column:span 1;
}

    .info-box{
        padding:12px;
    }

    .info-box span{
        font-size:12px;
    }

    .info-box h3{
        font-size:16px;
    }

    .prev,
    .next{
        font-size:35px;
    }

    .lightbox-close{
        font-size:35px;
    }
}

/*PROJECT DETAILS*/

.project-content{
    max-width:1000px;
}

.content-block{
    margin-bottom:40px;
}

.content-label{
    display:block;

    font-size:14px;
    color:#9a9a9a;

    margin-bottom:12px;

    text-transform:none;
}

.project-description{
    font-size:24px;
    line-height:1.6;
    color:#222;

    margin:0;
}

.scope-list{
    padding-left:20px;
    margin:0;
}

.scope-list li{
    font-size:18px;
    line-height:1.8;
    color:#333;

    margin-bottom:10px;
}




html,
body{
    overflow-x:hidden !important;
}

.project-details-section{
    overflow:hidden;
}

.gallery-wrapper{
    overflow:hidden;
    width:100%;
}

.gallery-track{
    max-width:none;
}