/* ==========================================================
   SMITECH PORTFOLIO
   FILE : portfolio.css
   PURPOSE : Premium Portfolio & Project Showcase
========================================================== */


/* ==========================================================
   PORTFOLIO HERO
========================================================== */

.portfolio-hero {
    padding: 100px 0 90px;
    background:
        radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.16), transparent 35%),
        linear-gradient(135deg, #0f172a 0%, #172554 55%, #1e3a8a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    right: -150px;
    top: -150px;
}

.portfolio-hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.portfolio-eyebrow,
.portfolio-section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 18px;
}

.portfolio-hero .portfolio-eyebrow {
    color: #93c5fd;
}

.portfolio-hero h1 {
    font-size: 58px;
    line-height: 1.15;
    margin: 0 0 25px;
    font-weight: 800;
}

.portfolio-hero h1 span {
    display: block;
    color: #60a5fa;
}

.portfolio-hero p {
    max-width: 720px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.portfolio-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.portfolio-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.portfolio-outline-btn:hover {
    background: #ffffff;
    color: #0f172a;
}


/* ==========================================================
   PORTFOLIO INTRO
========================================================== */

.portfolio-intro {
    padding: 85px 0 45px;
    background: #ffffff;
}

.portfolio-intro .section-title {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.portfolio-intro .section-title h2 {
    margin-bottom: 18px;
}

.portfolio-intro .section-title h2 span {
    color: #2563eb;
}

.portfolio-intro .section-title p {
    max-width: 760px;
    margin: auto;
    color: #64748b;
    line-height: 1.8;
}


/* ==========================================================
   PORTFOLIO WORK AREA
========================================================== */

.portfolio-work {
    padding: 40px 0 90px;
    background: #f8fafc;
}


/* ==========================================================
   FILTERS
========================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.portfolio-filter {
    border: 1px solid #dbe3ec;
    background: #ffffff;
    color: #475569;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.portfolio-filter:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.portfolio-filter.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}


/* ==========================================================
   PROJECT GRID
========================================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}


/* ==========================================================
   PROJECT CARD
========================================================== */

.portfolio-project {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}


/* ==========================================================
   PROJECT IMAGE / VISUAL
========================================================== */

.portfolio-project-image {
    height: 270px;
    background:
        linear-gradient(135deg, #0f172a, #1e3a8a);
    position: relative;
    overflow: hidden;
}

.portfolio-project-image::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.10);
    right: -70px;
    bottom: -80px;
}

.portfolio-project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-project-placeholder i {
    font-size: 65px;
    color: rgba(255,255,255,0.88);
}

.portfolio-project-category {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    color: #1e3a8a;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}


/* ==========================================================
   PROJECT CONTENT
========================================================== */

.portfolio-project-content {
    padding: 30px;
}

.portfolio-project-industry {
    display: block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.portfolio-project-content h3 {
    color: #0f172a;
    font-size: 25px;
    margin: 0 0 12px;
}

.portfolio-project-content p {
    color: #64748b;
    line-height: 1.75;
    font-size: 15px;
    margin-bottom: 20px;
}


/* ==========================================================
   PROJECT TAGS
========================================================== */

.portfolio-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.portfolio-project-tags span {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 11px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
}


/* ==========================================================
   PROJECT LINK
========================================================== */

.portfolio-project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.portfolio-project-link i {
    transition: 0.3s ease;
}

.portfolio-project-link:hover {
    color: #0f172a;
}

.portfolio-project-link:hover i {
    transform: translateX(5px);
}


/* ==========================================================
   APPROACH / PROCESS
========================================================== */

.portfolio-approach {
    padding: 90px 0;
    background: #ffffff;
}

.portfolio-approach .section-title {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.portfolio-approach .section-title h2 span {
    color: #2563eb;
}

.portfolio-approach .section-title p {
    color: #64748b;
    line-height: 1.8;
    max-width: 700px;
    margin: auto;
}

.portfolio-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-process-card {
    position: relative;
    padding: 30px 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: 0.3s ease;
}

.portfolio-process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.portfolio-process-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.portfolio-process-card > i {
    display: block;
    font-size: 28px;
    color: #2563eb;
    margin-bottom: 18px;
}

.portfolio-process-card h3 {
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-process-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================
   PORTFOLIO CTA
========================================================== */

.portfolio-cta {
    padding: 80px 0;
    background: #0f172a;
}

.portfolio-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.portfolio-cta-box .portfolio-section-label {
    color: #93c5fd;
}

.portfolio-cta-box h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.portfolio-cta-box h2 span {
    color: #60a5fa;
}

.portfolio-cta-box p {
    color: #cbd5e1;
    max-width: 680px;
    line-height: 1.8;
    margin: 0;
}

.portfolio-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 992px) {

    .portfolio-hero h1 {
        font-size: 46px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .portfolio-hero {
        padding: 70px 0;
    }

    .portfolio-hero h1 {
        font-size: 34px;
    }

    .portfolio-hero p {
        font-size: 16px;
    }

    .portfolio-hero-buttons {
        flex-direction: column;
    }

    .portfolio-hero-buttons .btn,
    .portfolio-outline-btn {
        width: 100%;
    }

    .portfolio-intro {
        padding: 60px 0 30px;
    }

    .portfolio-work {
        padding: 30px 0 60px;
    }

    .portfolio-filters {
        justify-content: flex-start;
    }

    .portfolio-filter {
        font-size: 13px;
        padding: 9px 14px;
    }

    .portfolio-project-image {
        height: 220px;
    }

    .portfolio-project-content {
        padding: 25px;
    }

    .portfolio-process {
        grid-template-columns: 1fr;
    }

    .portfolio-approach {
        padding: 65px 0;
    }

    .portfolio-cta {
        padding: 60px 0;
    }

    .portfolio-cta-box h2 {
        font-size: 29px;
    }

    .portfolio-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .portfolio-cta-actions .btn,
    .portfolio-cta-actions .portfolio-outline-btn {
        width: 100%;
    }

}