/*==========================================================
            PROJECT PAGE CSS
            PART 1
            Author : ChatGPT
==========================================================*/


/*==================== GOOGLE FONT ====================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/*==================== RESET ====================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:
    radial-gradient(circle at top left,#14386b 0%,#0b1120 45%),
    radial-gradient(circle at bottom right,#07152f 0%,transparent 40%),
    #0b1120;

    color:#ffffff;

    overflow-x:hidden;

}


/*==================== VARIABLES ====================*/

:root{

    --primary:#38bdf8;

    --card:#111827;

    --card2:#172338;

    --text:#cbd5e1;

    --radius:22px;

}


/*==================== HEADER ====================*/

.project-header{

    width:90%;

    max-width:1300px;

    margin:auto;

    padding:35px 0;

}

.back-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    transition:.35s;

}

.back-btn:hover{

    transform:translateX(-6px);

    color:white;

}


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

.project-hero{

    width:90%;

    max-width:1300px;

    margin:auto;

    min-height:calc(100vh - 90px);

    display:grid;

    grid-template-columns:420px 1fr;

    align-items:center;

    gap:60px;

    padding:20px 0;

}


/*==================== IMAGE ====================*/

.project-image{

    display:flex;

    justify-content:center;

    align-items:center;

}

.project-image img{

    width:100%;

    max-width:450px;

    border-radius:28px;

    background:var(--card);

    padding:18px;

    border:1px solid rgba(255,255,255,.06);

    box-shadow:

    0 25px 60px rgba(0,0,0,.40),

    0 0 45px rgba(56,189,248,.10);

    transition:.45s;

}

.project-image img:hover{

    transform:

    translateY(-8px)

    scale(1.02);

}


/*==================== RIGHT SIDE ====================*/

.project-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

}


/*==================== STATUS ====================*/

.project-status{

    width:max-content;

    padding:10px 20px;

    background:#172338;

    color:var(--primary);

    border-radius:40px;

    font-size:14px;

    font-weight:600;

    margin-bottom:25px;

}


/*==================== TITLE ====================*/

.project-info h1{

    font-size:48px;

    line-height:1.1;

    margin-bottom:20px;

}


/*==================== DESCRIPTION ====================*/

.project-info p{

    color:var(--text);

    line-height:1.7;

    font-size:18px;

    max-width:680px;
     margin-top:5px;

}


/*==================== TAGS ====================*/

.project-tags{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    margin-top:22px;

}

.project-tags span{

    background:var(--card);

    color:var(--primary);

    padding:11px 18px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.05);

    transition:.35s;

    font-size:14px;

}

.project-tags span:hover{

    background:var(--primary);

    color:white;

}


/*==================== HERO BUTTONS ====================*/

.hero-buttons{

    display:grid;

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

    gap:15px;

    margin-top:25px;

}

.tab-btn{

    border:none;

    cursor:pointer;

    border-radius:16px;

    background:var(--card);

    color:var(--primary);

    padding:16px;

    font-size:15px;

    font-weight:500;

    transition:.35s;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

}

.tab-btn:hover{

    background:var(--primary);

    color:white;

    transform:translateY(-5px);

}

.tab-btn.active{

    background:var(--primary);

    color:white;

}


/*==================== CONTENT BOX ====================*/

.project-content{

    width:90%;

    max-width:1300px;

    margin:0 auto 80px;

    background:rgba(17,24,39,.95);

    border-radius:28px;

    padding:55px;

    border:1px solid rgba(255,255,255,.05);

    box-shadow:

    0 20px 60px rgba(0,0,0,.35);

}


/*==================== PANELS ====================*/

.tab-panel{

    display:none;

}

.tab-panel.active{

    display:block;

    animation:fade .45s;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:none;

    }

}
/*==========================================================
            PART 2
            OVERVIEW + FEATURES
==========================================================*/


/*==================== SECTION TITLES ====================*/

.project-content h2{

    font-size:38px;

    font-weight:700;

    margin-bottom:20px;

}

.project-content p{

    color:var(--text);

    font-size:17px;

    line-height:1.9;

}

.feature-title{

    margin-top:60px;

    margin-bottom:30px;

}


/*==================== OVERVIEW GRID ====================*/

.overview-grid{

    display:grid;

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

    gap:22px;

    margin-top:40px;

}


/*==================== OVERVIEW CARD ====================*/

.overview-card{

    background:var(--card);

    border:1px solid rgba(255,255,255,.06);

    border-radius:20px;

    padding:28px 20px;

    text-align:center;

    transition:.35s;

}

.overview-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:

    0 15px 35px rgba(56,189,248,.15);

}

.overview-card i{

    font-size:34px;

    color:var(--primary);

    margin-bottom:18px;

}

.overview-card h3{

    font-size:20px;

    margin-bottom:12px;

    font-weight:600;

}

.overview-card p{

    margin:0;

    color:#94a3b8;

    font-size:15px;

}


/*==================== FEATURE GRID ====================*/

.feature-grid{

    display:grid;

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

    gap:24px;

}


/*==================== FEATURE CARD ====================*/

.feature-card{

    background:linear-gradient(
        180deg,
        #162133,
        #111827
    );

    border:1px solid rgba(255,255,255,.05);

    border-radius:22px;

    padding:35px 25px;

    text-align:center;

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:

    0 18px 40px rgba(56,189,248,.18);

}


/*==================== ICON ====================*/

.feature-card .icon{

    width:80px;

    height:80px;

    border-radius:50%;

    margin:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#1b304d;

    color:var(--primary);

    font-size:34px;

    margin-bottom:22px;

}


/*==================== FEATURE TITLE ====================*/

.feature-card h3{

    font-size:21px;

    margin-bottom:12px;

    font-weight:600;

}


/*==================== FEATURE DESCRIPTION ====================*/

.feature-card p{

    color:#94a3b8;

    font-size:15px;

    line-height:1.8;

}


/*==================== RESPONSIVE ====================*/

@media(max-width:992px){

.overview-grid{

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

}

.feature-grid{

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

}

}


@media(max-width:768px){

.project-content{

width:95%;

padding:30px;

}

.project-content h2{

font-size:30px;

}

.overview-grid{

grid-template-columns:1fr;

}

.feature-grid{

grid-template-columns:1fr;

}

.feature-card{

padding:30px 20px;

}

}

/*==========================================================
                    PART 3
        GALLERY • VIDEO • REPORT • GITHUB
==========================================================*/


/*==================== GALLERY ====================*/
/*==================== GALLERY ====================*/

.gallery-grid{

    display:grid;

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

    gap:22px;

    margin-top:35px;

}

.gallery-grid img{

    width:100%;

    height:220px;

    display:block;

    object-fit:contain;

    background:#111827;

    padding:12px;

    border-radius:18px;

    transition:.35s;

    cursor:pointer;

}

.gallery-grid img:hover{

    transform:translateY(-8px) scale(1.03);

    box-shadow:0 18px 40px rgba(56,189,248,.25);

}


/*==================== VIDEO ====================*/
/*==================== VIDEO ====================*/

.video-box{

    width:100%;

    max-width:700px;

    margin:25px auto;

    padding:10px;

    background:#111827;

    border-radius:20px;

    overflow:hidden;

}

.video-box video{

    width:100%;

    height:auto;

    display:block;

    border-radius:14px;

}




/*==================== REPORT ====================*/

.report-card{

    background:var(--card);

    border-radius:25px;

    border:1px solid rgba(255,255,255,.05);

    padding:55px;

    text-align:center;

}

.report-card i{

    font-size:70px;

    color:var(--primary);

    margin-bottom:25px;

}

.report-card h3{

    font-size:30px;

    margin-bottom:15px;

}

.report-card p{

    max-width:650px;

    margin:auto;

    margin-bottom:35px;

}


/*==================== GITHUB ====================*/

.github-card{

    background:var(--card);

    border-radius:25px;

    border:1px solid rgba(255,255,255,.05);

    padding:55px;

    text-align:center;

}

.github-card i{

    font-size:72px;

    color:var(--primary);

    margin-bottom:25px;

}

.github-card h3{

    font-size:30px;

    margin-bottom:15px;

}

.github-card p{

    max-width:650px;

    margin:auto;

    margin-bottom:35px;

}


/*==================== BUTTON ====================*/

.resource-btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    background:var(--primary);

    color:white;

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    transition:.35s;

}

.resource-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(56,189,248,.35);

}


/*==================== SCROLLBAR ====================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0b1120;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}


/*==================== MOBILE ====================*/

@media(max-width:768px){

.project-hero{

    width:100%;

    grid-template-columns:1fr;

    gap:30px;

    padding:20px;

    text-align:center;

}

.project-image img{

    max-width:320px;

    margin:auto;

}

.project-status{

    margin:auto;

    margin-bottom:20px;

}

.project-info h1{

    font-size:32px;

}

.project-info p{

    font-size:16px;

}

.project-tags{

    justify-content:center;

}

.hero-buttons{

    grid-template-columns:1fr;

}

.tab-btn{

    width:100%;

}

.project-content{

    width:100%;

    padding:20px;

    border-radius:0;

}

.gallery-grid{

    grid-template-columns:1fr;

    gap:18px;

}

.gallery-grid img{

    height:200px;

}

.video-box{

    width:100%;

    max-width:100%;

    padding:8px;

}

.video-box video{

    width:100%;

    max-height:230px;

    object-fit:contain;

}

.overview-grid{

    grid-template-columns:1fr;

}

.feature-grid{

    grid-template-columns:1fr;

}

.report-card,

.github-card{

    padding:25px;

}

.report-card h3,

.github-card h3{

    font-size:24px;

}

.resource-btn{

    width:100%;

}

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

.lightbox{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

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

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

    cursor:pointer;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

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

}