.projects-header {
    background: linear-gradient(135deg, #3f3f42 0%, #751616 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.projects-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.projects-section {
    padding: 80px 20px;
}

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

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.project-content p {
    color: #777;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 15px 0 20px 0;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 12px;
}

.project-links .btn-primary,
.project-links .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.project-links .btn-primary {
    background: #667eea;
    color: white;
}

.project-links .btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-header h1 {
        font-size: 2rem;
    }
}