/* ==================== PROJECTS.CSS ==================== */
/* Project card and showcase styles */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.project-card {
    background: rgba(21, 25, 52, 0.8);
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-strong);
    border-color: var(--color-secondary);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.project-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.project-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.project-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-deployed {
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}

.status-progress {
    background: rgba(245, 158, 11, 0.2);
    color: var(--color-warning);
    border: 1px solid var(--color-warning);
}

.project-details {
    margin: 20px 0;
}

.project-detail {
    display: flex;
    margin: 10px 0;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.detail-label {
    color: var(--color-secondary);
    font-weight: 600;
    min-width: 120px;
}

.detail-value {
    color: var(--text-primary);
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tech-badge {
    padding: 5px 12px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid var(--color-secondary);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--color-secondary);
    color: var(--bg-primary);
    transform: scale(1.05);
}

/* ==================== SHOWCASE SECTION ==================== */
/* Styles for featured projects showcase */

.showcase-section {
    padding: 80px 0;
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.showcase-item {
    background: rgba(21, 25, 52, 0.95);
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.showcase-item:hover::before {
    opacity: 0.08;
}

.showcase-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow-strong);
    border-color: var(--color-secondary);
}

.showcase-image {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%);
    position: relative;
}

.showcase-image .placeholder-content {
    text-align: center;
    z-index: 1;
}

.showcase-image .placeholder-icon {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--color-primary);
    letter-spacing: 3px;
}

.showcase-image .placeholder-content p {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0 5px 0;
}

.showcase-image .placeholder-content small {
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
}

.showcase-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.showcase-content h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.showcase-item:hover .showcase-content h3 {
    color: var(--color-secondary);
}

.showcase-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    background: var(--color-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-label {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-section {
        padding: 50px 0;
    }

    .showcase-image {
        height: 200px;
    }

    .showcase-content {
        padding: 25px;
    }

    .showcase-content h3 {
        font-size: 1.4rem;
    }

    .tech-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}