
/* Projects Specific Styles */
.projects-content {
    margin: 3rem 0;
}

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

.project-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img {
    font-size: 4rem;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.project-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Project Detail Pages */
.project-details {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-details h2 {
    color: #007cba;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.project-details .project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-item {
    text-align: center;
}

.meta-item strong {
    display: block;
    color: #007cba;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-features {
    margin: 2rem 0;
}

.project-features h3 {
    color: #333;
    margin-bottom: 1rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.feature-item h4 {
    color: #007cba;
    margin-bottom: 0.5rem;
}

.github-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.github-link {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.github-link h3 {
    margin-bottom: 1rem;
}

.github-link .btn.secondary {
    background: white;
    color: #007cba;
}

.github-link .btn.secondary:hover {
    background: rgba(255,255,255,0.9);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

.error {
    text-align: center;
    padding: 2rem;
    color: #d32f2f;
    background: #ffebee;
    border-radius: 8px;
    margin: 1rem 0;
}

.back-link {
    display: inline-block;
    margin: 2rem 0;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #007cba;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.back-link:hover {
    background: #e9ecef;
}

/* Recent Projects Preview */
.recent-projects {
    margin: 3rem 0;
    text-align: center;
}

.recent-projects h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.project-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-preview .project-card {
    text-align: left;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-preview .project-card h4 {
    color: #007cba;
    margin-bottom: 1rem;
}

.project-preview .project-card a {
    color: #007cba;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-details {
        margin: 1rem;
        padding: 1rem;
    }
    
    .project-details .project-meta {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}
