/* Projects app styles */

/* Card hover effects */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Status badges */
.status-badge {
    font-size: 0.85em;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-now {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.status-backburner {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
}

.status-someday {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

/* Category badges */
.category-badge {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Project header */
.project-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 50px 50px;
}

/* Progress bars */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
}

.progress-bar-custom {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    border-radius: 10px;
    transition: width 0.8s ease;
}

/* Technology tags */
.tech-tag {
    background: rgba(108, 117, 125, 0.1);
    color: #495057;
    border: 1px solid rgba(108, 117, 125, 0.2);
    border-radius: 15px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    margin: 0.2rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(108, 117, 125, 0.2);
    transform: translateY(-1px);
}

/* Links styling */
.project-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid #007bff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-state-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

/* Grid layout */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Filters */
.filter-tabs {
    background: white;
    border-radius: 15px;
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.filter-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-tab.active {
    background: #007bff;
    color: white;
}

.filter-tab:hover:not(.active) {
    background: rgba(0, 123, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-header {
        padding: 2rem 0;
        border-radius: 0 0 25px 25px;
    }

    .filter-tabs {
        padding: 0.3rem;
    }

    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Animation for project cards */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: slideInUp 0.6s ease-out;
}

.project-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.project-card:nth-child(3n) {
    animation-delay: 0.2s;
}

/* Detailed project view */
.project-detail-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.project-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.project-meta {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Documentation sections */
.doc-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #007bff;
}

.doc-section h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

/* Code blocks */
.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Timeline for project history */
.project-timeline {
    position: relative;
    padding-left: 2rem;
}

.project-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #007bff, #6610f2);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.2rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Project description styling */
.project-description {
    line-height: 1.6;
    font-size: 1.05rem;
}

.project-description p {
    margin-bottom: 1rem;
}