/* Projects Styles */
.projects-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-container .hero-section {
    text-align: center;
    margin-bottom: 50px;
}

.projects-container .hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.projects-container .hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 122, 24, 0.15), 0 2px 8px rgba(255, 122, 24, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
    gap: 15px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: var(--grad);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.project-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.project-category {
    background: rgba(255, 122, 24, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 122, 24, 0.2);
}

.project-status {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.project-status.github {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.project-description {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    z-index: 1;
    position: relative;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border: 1px solid var(--accent);
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.project-link:hover {
    background: var(--grad);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 24, 0.3);
}

/* Responsive styles */
@media (max-width: 768px) {
    .projects-container .hero-title {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 25px;
    }
    
    .project-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
    
    .project-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .projects-container {
        padding: 0 10px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-header {
        gap: 12px;
    }
    
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .project-meta {
        gap: 4px;
    }
    
    .project-category,
    .project-status {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .project-name {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
}
