/* PROJECTS SECTION STYLES */

.projects-section-wrapper {
    margin-bottom: 4rem;
    /* mb-16 */
}

/* Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.125rem;
    /* text-lg */
    font-weight: 700;
    color: #0f172a;
    /* slate-900 */
    letter-spacing: -0.025em;
}

.view-all-link {
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 500;
    color: #94a3b8;
    /* slate-400 */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #1e293b;
    /* slate-800 */
}

.arrow-icon {
    transition: transform 0.2s;
    display: inline-block;
}

/* Grid Layout */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    /* gap-5 */
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Project Card */
.project-card {
    background-color: white;
    border-radius: 0.75rem;
    /* rounded-xl */
    padding: 1rem;
    border: 1px solid #f1f5f9;
    /* border-slate-100 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
    /* border-slate-200 */
    transform: translateY(-2px);
    /* Naik sedikit */
}

/* Image Container */
.project-image-container {
    background-color: #f8fafc;
    /* bg-slate-50 */
    border: 1px solid #f1f5f9;
    border-radius: 0.5rem;
    /* rounded-lg */
    height: 9rem;
    /* h-36 */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-image-text {
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 500;
    color: #cbd5e1;
    /* slate-300 */
}

/* Project Image */
.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 (when no image) */
.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.05);
    /* slate-900/5 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Info & Typography */
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
}

.project-title {
    font-weight: 700;
    color: #1e293b;
    /* slate-800 */
    font-size: 1rem;
    transition: color 0.2s;
}

/* Tech Stack Mini Tags */
.project-tech-mini {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.tech-tag-mini {
    font-size: 0.625rem;
    /* text-[10px] */
    font-weight: 600;
    color: #64748b;
    /* slate-500 */
    background-color: #f1f5f9;
    /* bg-slate-100 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;
}

.project-category {
    font-size: 0.625rem;
    /* text-[10px] */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    /* slate-400 */
    background-color: #f8fafc;
    /* bg-slate-50 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #f1f5f9;
}

.project-desc {
    font-size: 0.875rem;
    /* text-sm */
    color: #64748b;
    /* slate-500 */
    line-height: 1.625;
    /* Line clamp 2 baris */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}