.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 300px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.project-inner {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.project-title {
    font-size: 1.4rem;
    color: var(--foreground);
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    width: 100%;
}

.project-image {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: var(--background);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.project-content {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-card.expanded {
    width: 800px;
}

.project-card.expanded .project-image {
    width: calc(100% + 50px);
    height: 250px;
    margin: 1.5rem -25px;
    border-radius: 0;
}

.project-card.expanded .project-content {
    max-height: 800px;
    opacity: 1;
    width: 100%;
}

.project-details {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.project-status {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.project-description {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.project-skills li {
    background: var(--secondary);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
}

.expand-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: rotate(0deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.project-card.expanded .expand-button {
    transform: rotate(180deg);
}

/* Hover Effects */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-skills li:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
