/* Projects Page Styles */

.projects-page-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: #fdfdfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-title {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.projects-subtitle {
    font-size: 20px;
    color: #64748b;
    font-weight: 400;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Card */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

/* Project Image */
.project-image-wrapper {
    width: 100%;
    height: 240px;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 48px;
    font-weight: 700;
    color: white;
}

/* Project Content */
.project-content {
    padding: 24px;
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Tech Stack Badges */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.project-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.project-link-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.project-link-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.project-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Empty State */
.empty-projects {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 640px) {
    .projects-page-section {
        padding: 100px 0 60px;
    }

    .projects-title {
        font-size: 36px;
    }

    .projects-subtitle {
        font-size: 16px;
    }

    .projects-header {
        margin-bottom: 40px;
    }

    .project-image-wrapper {
        height: 200px;
    }

    .project-content {
        padding: 20px;
    }

    .project-title {
        font-size: 20px;
    }
}