/* ============================================
   PROJECTS PAGE STYLES
   ============================================ */

body.projects-page{
    padding-top:80px;
}

/* PAGE HEADER */

.page-header{
    text-align:center;
    margin-top:50px;
    padding:90px 8%;
    background:
    radial-gradient(circle at top left,#1e3a8a,transparent 35%),
    radial-gradient(circle at bottom right,#0ea5e9,transparent 30%);
}

.page-header h1{
    font-size:54px;
    margin-bottom:15px;
    color:#38bdf8;
}

.page-header p{
    font-size:18px;
    color:#cbd5e1;
    max-width:600px;
    margin:0 auto;
}

/* PROJECTS GRID - ENHANCED */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
}

.project-card{
    background:#111827;
    border-radius:20px;
    overflow:hidden;
    transition:0.4s;
    border:1px solid rgba(255,255,255,0.08);
    cursor:pointer;
    display:flex;
    flex-direction:column;
    height:100%;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color:#38bdf8;
    box-shadow:0 20px 40px rgba(56,189,248,0.2);
}

.project-top{
    height:200px;
    background:linear-gradient(135deg,#1e3a8a,#0ea5e9);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:80px;
}

.project-content{
    padding:30px;
    flex-grow:1;
    display:flex;
    flex-direction:column;
}

.project-content h3{
    margin-bottom:12px;
    color:#38bdf8;
    font-size:22px;
}

.project-content p{
    color:#cbd5e1;
    line-height:1.7;
    margin-bottom:20px;
    flex-grow:1;
}

/* PROJECT TAGS */

.project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:20px;
}

.tag{
    display:inline-block;
    background:rgba(56,189,248,0.1);
    color:#38bdf8;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

/* VIEW DETAILS BUTTON */

.view-btn{
    display:inline-block;
    padding:12px 24px;
    background:linear-gradient(135deg,#38bdf8,#0ea5e9);
    color:#03111f;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:0.3s;
    text-align:center;
}

.view-btn:hover{
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(56,189,248,0.3);
}

/* RESPONSIVE */

@media(max-width:900px){

    .page-header h1{
        font-size:38px;
    }

    .projects-grid{
        grid-template-columns:1fr;
    }

    .project-top{
        height:150px;
        font-size:60px;
    }

}

@media(max-width:600px){

    .page-header{
        padding:40px 4%;
    }

    .page-header h1{
        font-size:28px;
    }

    .page-header p{
        font-size:14px;
    }

    .project-content{
        padding:20px;
    }

}
