/* Projects page styles moved from styles.css */

/* Wide Project Card Redesign */
.project-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.project-card-wide {
    display: flex;
    flex-direction: row;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth);
    min-height: 250px;
}

.project-card-wide:hover {
    transform: translateY(-4px);
    border-color: var(--text-muted);
    background: var(--bg-card-hover);
}

.project-image-container {
    width: 35%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.project-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.project-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-content .card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-content .card-text {
    flex-grow: 0;
    margin-bottom: var(--space-sm);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .project-card-wide {
        flex-direction: column;
    }

    .project-image-container {
        width: 100%;
        height: 200px;
        /* Fixed height for mobile cover */
    }
}