﻿/* WRAPPER */
.article-wrapper {
    background: #f8fafc;
    min-height: 100vh;
}

/* HERO */
.article-hero {
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    padding: 80px 0;
}

/* CONTENT */
.article-container {
    max-width: 800px;
    margin-top: -40px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* BACK LINK */
.back-link {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
}

/* SECTION */
.article-section {
    margin-bottom: 50px;
}

/* SECTION TITLE */
.section-title {
    font-weight: 600;
    margin-bottom: 20px;
}

/* TEXT */
.article-text {
    font-size: 18px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 20px;
}

/* IMAGE */
.article-image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .article-image:hover {
        transform: scale(1.02);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }

/* CODE */
.code-wrapper {
    background: #0f172a;
    border-radius: 10px;
    padding: 15px;
    margin: 25px 0;
    overflow-x: auto;
}

    .code-wrapper pre {
        margin: 0;
        color: #e2e8f0;
        font-size: 14px;
        overflow-x:auto;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .article-container {
        padding: 20px;
    }

    .article-hero {
        padding: 50px 0;
    }
}

/* WRAPPER */
.project-wrapper {
    margin-top:20px;
    background: #f8fafc;
    min-height: 100vh;
}

/* HERO */
.project-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

    .project-hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.55);
    }

    .project-hero .container {
        position: relative;
        z-index: 2;
    }

/* CARD */
.content-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* NAV PILLS */
.nav-pills .nav-link {
    border-radius: 20px;
    padding: 8px 16px;
}

    .nav-pills .nav-link.active {
        background: #3b82f6;
    }

/*Article Area*/
/* GRID CARD */
.article-card-grid {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

    .article-card-grid:hover {
        transform: translateY(-8px);
    }

    /* IMAGE */
    .article-card-grid .article-imageP {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

        .article-card-grid .article-imageP img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.4s;
        }

    .article-card-grid:hover img {
        transform: scale(1.05);
    }

    /* BODY */
    .article-card-grid .article-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        height: calc(100% - 220px);
    }

/* FLEX */
.overview-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* IMAGE */
.overview-img {
    width: 260px;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

    .overview-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* CONTENT */
.overview-content {
    flex: 1;
}

/* BADGES */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 768px) {
    .overview-flex {
        flex-direction: column;
        align-items: flex-start;
    }

    .overview-img {
        width: 100%;
        height: 200px;
    }
}
.overview-img img {
    transition: 0.3s;
}

.overview-img:hover img {
    transform: scale(1.05);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

    .gallery-item img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: 0.4s;
    }

    /* zoom effect */
    .gallery-item:hover img {
        transform: scale(1.08);
    }

    /* overlay */
    .gallery-item .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: 0.3s;
        text-align: center;
        padding: 10px;
    }

    .gallery-item:hover .overlay {
        opacity: 1;
    }


.status-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    height: 100%;
}

    .status-card h5 {
        margin-bottom: 15px;
    }

    .status-card ul {
        padding-left: 18px;
    }

    .status-card li {
        margin-bottom: 8px;
    }

/* COLORS */
.completed h5 {
    color: #16a34a;
}

.progress1 h5 {
    color: #eab308;
}

.planned h5 {
    color: #ef4444;
}