@font-face {
    font-family: "vazirmatn";
    src: url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "vazirmatn";
    src: url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display:swap;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'vazirmatn';
    background: #f0f2f5;
    padding: 32px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.single-project{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 25px 45px -12px rgba(0,0,0,0.25);
    min-height: 90vh;
}
.project-details {
    flex: 1;
    padding: 48px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.project-title {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 32px;
    border-right: 4px solid #0521c0;
    padding-right: 18px;
}
.details-list {
    list-style: none;
}

.details-list li {
    display: flex;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f6;
}
.details-list li:last-child {
    border-bottom: none;
}
.detail-label {
    width: 130px;
    color: #334155;
    font-size: 16px;
}
.detail-value {
    color: #0f172a;
    font-size: 16px;
    font-weight: 500;
}
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skill-tag {
    background: #f1f5f9;
    padding: 5px 8px;
    border-radius: 40px;
    font-size: 12px;
    color: #1e293b;
    font-weight: 500;
}
.project-media {
    flex: 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.project-media img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.website-link {
    color: #0521c0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.website-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}
@media(max-width:900px){
    body{
        padding: 16px;
    }
    .single-project{
        flex-direction: column;
        min-height: auto;
        border-radius: 24px;
    }
    .project-media{
        order: -1;
        padding: 20px;
    }
    .detail-label{
        width: 110px;
        font-size: 14px;
    }
    .project-title{
        font-size: 18px;
        font-weight: bold;
    }
}