/* =========================================
PORTFOLIO V3
========================================= */

.portfolio-v3 {

    padding: 100px 0;

    background: #ffffff;
}

/* HEADER */

.portfolio-top {

    max-width: 700px;

    margin: auto auto 60px;
}

.mini-badge {

    display: inline-flex;

    padding: 8px 16px;

    border-radius: 999px;

    background: #fef2f2;

    border: 1px solid #fecaca;

    color: #b91c1c;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 18px;
}

.portfolio-top h2 {

    font-size: clamp(2rem,4vw,3rem);

    font-weight: 700;

    color: #1c1917;

    line-height: 1.2;
}

.portfolio-top p {

    margin-top: 18px;

    color: #78716c;

    line-height: 1.8;

    font-size: 0.95rem;
}

/* GRID */

.portfolio-grid {

    display: grid;

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

    gap: 28px;
}

/* CARD */

.portfolio-card {

    display: block;

    text-decoration: none;

    background: white;

    border: 1px solid #e7e5e4;

    border-radius: 24px;

    overflow: hidden;

    transition: 0.35s ease;
}

.portfolio-card:hover {

    transform: translateY(-6px);

    box-shadow:
            0 20px 40px rgba(0,0,0,0.06);
}

/* IMAGE */

.portfolio-image {

    padding: 12px;

    background: #fafaf9;
}

.portfolio-image img {

    width: 100%;

    display: block;

    border-radius: 14px;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

/* CONTENT */

.portfolio-content {

    padding: 22px;
}

.portfolio-content span {

    display: inline-block;

    margin-bottom: 14px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    color: #b91c1c;
}

.portfolio-content h3 {

    font-size: 1.2rem;

    font-weight: 700;

    color: #1c1917;

    margin-bottom: 12px;

    line-height: 1.4;
}

.portfolio-content p {

    font-size: 0.93rem;

    line-height: 1.8;

    color: #57534e;
}

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

.portfolio-actions {

    margin-top: 22px;
}

.live-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 12px 18px;

    border-radius: 14px;

    background: #7c2d12;

    color: white;

    text-decoration: none;

    font-size: 0.92rem;

    font-weight: 600;

    transition: 0.3s ease;
}

.live-btn:hover {

    background: #991b1b;

    transform: translateY(-2px);

    color: white;
}

.live-btn i {

    font-size: 0.9rem;
}

/* MOBILE */

@media(max-width: 991px){

    .portfolio-grid {

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

}

@media(max-width: 768px){

    .portfolio-grid {

        grid-template-columns: 1fr;
    }

}

/* =========================================================
   PORTFOLIO CTA
========================================================= */

.portfolio-cta {

    margin-top: 90px;
}

.portfolio-cta-box {

    position: relative;

    overflow: hidden;

    padding: 60px 30px;

    border-radius: 34px;

    background:
            linear-gradient(
                    135deg,
                    #fff7f2,
                    #fff1eb
            );

    border:
            1px solid rgba(124,45,18,0.10);

    box-shadow:
            0 20px 45px rgba(124,45,18,0.08);
}

/* glow */
.portfolio-cta-box::before {

    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 260px;
    height: 260px;

    background:
            radial-gradient(
                    circle,
                    rgba(185,28,28,0.15),
                    transparent 70%
            );
}

.portfolio-cta h3 {

    margin-top: 18px;

    color: #3b2416;

    font-size: 38px;

    font-weight: 700;

    line-height: 1.3;
}

.portfolio-cta p {

    max-width: 700px;

    margin:
            18px auto 32px;

    color: #6b4c3b;

    font-size: 16px;

    line-height: 1.8;
}

.portfolio-order-btn {

    border: none;

    border-radius: 16px;

    padding: 15px 32px;

    background:
            linear-gradient(
                    135deg,
                    #7c2d12,
                    #b91c1c
            );

    color: white;

    font-weight: 600;

    font-size: 15px;

    transition: 0.25s ease;

    box-shadow:
            0 12px 30px rgba(185,28,28,0.22);
}

.portfolio-order-btn:hover {

    transform: translateY(-3px);

    color: white;

    box-shadow:
            0 18px 40px rgba(185,28,28,0.30);
}

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

@media (max-width: 768px) {

    .portfolio-cta {

        margin-top: 70px;
    }

    .portfolio-cta-box {

        padding: 42px 22px;

        border-radius: 26px;
    }

    .portfolio-cta h3 {

        font-size: 28px;
    }

    .portfolio-order-btn {

        width: 100%;
    }
}

/* =========================
   PORTFOLIO ORDER NAV
========================= */

.portfolio-order-nav{
    padding: 40px 0 20px;
}

.order-nav-box{
    background:
            linear-gradient(
                    145deg,
                    rgba(255,255,255,0.04),
                    rgba(255,255,255,0.02)
            );
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.order-nav-box::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(
                    circle at top right,
                    rgba(255,140,0,0.12),
                    transparent 45%
            );
    pointer-events: none;
}

.order-nav-content{
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.order-nav-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,140,0,0.12);
    border: 1px solid rgba(255,140,0,0.18);
    font-size: 13px;
    color: #2B2B2B;
    margin-bottom: 18px;
}

.order-nav-content h2{
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #2B2B2B;
    font-weight: 700;
}

.order-nav-content p{
    color: #1f2937;
    line-height: 1.8;
    font-size: 15px;
}

.order-nav-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.order-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-btn{
    background: #ff8c00;
    color: #fff;
}

.primary-btn:hover{
    transform: translateY(-2px);
    background: #ff9d24;
}

/* MOBILE */
@media(max-width: 768px){

    .order-nav-box{
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .order-nav-content h2{
        font-size: 26px;
    }

    .order-nav-actions{
        width: 100%;
    }

    .order-btn{
        width: 100%;
        justify-content: center;
    }

}