/* Project Index Page Styles - Same as Blog Index */

/* Categories Filter Section */
.project-categories {
    padding: 80px 0;
}

.project-categories .section-title {
    color: #210059 !important;
}

/* Category Filter Cards - Same as Blog */
.category-filter-card {
    display: block;
    color: white;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(21, 162, 140, 0.3);
    transition: all 0.4s ease;
    text-decoration: none;
    height: 100%;
    border: 2px solid transparent;
    min-height: 140px;
}

.category-filter-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(21, 162, 140, 0.4);
    text-decoration: none;
    color: white;
}

.category-filter-card.active {
    border-color: #37ec7e;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(55, 236, 126, 0.5);
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 1.2rem;
}

.category-filter-card h6 {
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.project-count {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Project Showcase Cards - Exact Blog Design */
.project-showcase-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 400px;
}

.project-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #15a28c, #37ec7e);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-showcase-card:hover .project-image {
    transform: scale(1.1);
}

.project-image-placeholder {
    color: white;
    text-align: center;
    opacity: 0.8;
}

.project-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.project-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #210059;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #37ec7e;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.featured-badge i {
    margin-right: 5px;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(33, 0, 89, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-showcase-card:hover .project-overlay {
    opacity: 1;
}

.read-more-btn {
    background: white;
    color: #210059;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #37ec7e;
    color: white;
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-title a {
    color: #210059;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #15a28c;
}

.project-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.project-tags {
    margin-bottom: 1rem;
}

.project-tag {
    background: #f8f9fa;
    color: #666;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.read-more-link {
    color: #15a28c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #210059;
}

/* Fix text colors for better visibility */
.project-stats .section-title {
    color: #210059 !important;
}

.project-stats .about-stat-number {
    color: #15a28c !important;
    font-weight: 800;
}

.project-stats .about-stat-label {
    color: #666 !important;
    font-weight: 500;
}

.bg-light .section-title {
    color: #210059 !important;
}

.bg-light .text-muted {
    color: #666 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-showcase-card {
        height: auto;
    }
    
    .project-image-wrapper {
        height: 250px;
    }
    
    .project-content {
        height: auto;
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
