/* ==========================================================================
   Portfolio & Portfolio Details Styling
   ========================================================================== */

/* Main Wrapper with Patterned Light Background */
/* .portfolio-wrapper {
    position: relative;
    padding: 90px 0 80px;
    margin: 0;
    background-color: #f8f9fc;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(253, 126, 20, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(255, 228, 104, 0.15) 0%, transparent 40%),
        radial-gradient(circle, rgba(39, 38, 48, 0.07) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
    background-position: 0 0, 0 0, 0 0;
} */
.portfolio-wrapper {
    position: relative;
    padding: 90px 0 80px;
    margin: 0;
    background-color: #f8f9fc;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(253, 126, 20, 0.07) 0%, transparent 40%),
        linear-gradient(to right, rgba(39, 38, 48, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(39, 38, 48, 0.06) 1px, transparent 1px);
    background-size: 100% 100%, 36px 36px, 36px 36px;
    background-position: 0 0, 0 0, 0 0;
}
.title-underline {
    width: 60px;
    height: 3px;
    background: var(--bs-orange);
    border-radius: 2px;
}

/* Portfolio Card Container */
.portfolio-card {
    background-color: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

/* Image Box & Overlay Animation */
.portfolio-img-box {
    position: relative;
    overflow: hidden;
    height: 240px;
    background-color: #272630;
}

.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-box img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39, 38, 48, 0.92) 0%, rgba(39, 38, 48, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.category-badge {
    background-color: var(--bs-orange);
    color: #ffffff;
    font-size: 0.75rem;
    align-self: flex-start;
    padding: 0.4em 0.8em;
    border-radius: 4px;
}

.category-badge-lg {
    background-color: var(--bs-orange);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 0.5em 1em;
    border-radius: 6px;
}

/* Project View Button */
.btn-view-project {
    background-color: #ffffff;
    color: var(--bs-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    align-self: flex-start;
    transition: all 0.25s ease;
}

.btn-view-project:hover {
    background-color: var(--bs-orange);
    color: #ffffff;
}

/* Details Info Card */
.project-info-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Gallery Hover Effect */
.gallery-item-box {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(253, 126, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-box:hover img {
    transform: scale(1.06);
}

.gallery-item-box:hover .gallery-hover-overlay {
    opacity: 1;
}

/* Submit Button Override (Matching standard brand orange gradient) */
.btn-submit {
    background: linear-gradient(135deg, var(--bs-orange) 0%, #e65100 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(253, 126, 20, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e65100 0%, var(--bs-orange) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(253, 126, 20, 0.45);
}