/* Simple Project Cards - Lightweight Alternative */

/* Feature Card Modern Container */
.feature-card-modern {
    position: relative;
    height: 100%;
    margin-bottom: 1.5rem;
}

/* Simplified Portfolio Wrap */
.portfolio-wrap.style-feature {
    display: block;
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    text-decoration: none;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-wrap.style-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
}

/* Simplified Portfolio Thumb */
.portfolio-wrap.style-feature .portfolio-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.portfolio-wrap.style-feature .portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-wrap.style-feature:hover .portfolio-thumb img {
    transform: scale(1.02);
}

/* Simplified Overlay */
.portfolio-wrap.style-feature .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-wrap.style-feature:hover .portfolio-overlay {
    opacity: 1;
}

/* Simplified Icon */
.portfolio-wrap.style-feature .portfolio-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    transition: transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-wrap.style-feature:hover .portfolio-icon {
    transform: scale(1.1);
}

/* Simplified Details */
.portfolio-wrap.style-feature .portfolio-details {
    padding: 20px;
    position: relative;
}

/* Portfolio Meta Row */
.portfolio-wrap.style-feature .portfolio-meta-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 8px;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Category Badge */
.portfolio-wrap.style-feature .category-badge {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: fit-content;
}

.portfolio-wrap.style-feature:hover .category-badge {
    background: #3b82f6;
    color: #ffffff;
}

/* Portfolio Title */
.portfolio-wrap.style-feature .portfolio-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.portfolio-wrap.style-feature:hover .portfolio-title {
    color: #3b82f6;
}

/* Grid Spacing */
.project-area-4 .row.gx-4 {
    --bs-gutter-x: 1.5rem;
}

.project-area-4 .col-lg-4,
.project-area-4 .col-md-6 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .portfolio-wrap.style-feature .portfolio-thumb {
        height: 180px;
    }
    
    .portfolio-wrap.style-feature .portfolio-details {
        padding: 16px;
    }
    
    .portfolio-wrap.style-feature .portfolio-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .portfolio-wrap.style-feature .portfolio-thumb {
        height: 160px;
    }
    
    .portfolio-wrap.style-feature .portfolio-details {
        padding: 14px;
    }
    
    .project-area-4 .col-lg-4,
    .project-area-4 .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .portfolio-wrap.style-feature,
    .portfolio-wrap.style-feature .portfolio-thumb img,
    .portfolio-wrap.style-feature .portfolio-overlay,
    .portfolio-wrap.style-feature .portfolio-icon,
    .portfolio-wrap.style-feature .portfolio-meta .category-badge,
    .portfolio-wrap.style-feature .portfolio-title,
    .portfolio-wrap.style-feature .portfolio-arrow {
        transition: none;
    }
    
    .portfolio-wrap.style-feature:hover {
        transform: none;
    }
    
    .portfolio-wrap.style-feature:hover .portfolio-thumb img {
        transform: none;
    }
    
    .portfolio-wrap.style-feature:hover .portfolio-icon {
        transform: none;
    }
}