.portfolio {
    background-color: var(--color-background);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.portfolio__item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.portfolio__item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio__image {
    position: relative;
    overflow: hidden;
}

.portfolio__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: var(--transition-base);
}

.portfolio__item:hover .portfolio__image img {
    transform: scale(1.1);
}

.portfolio__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 102, 204, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-lg);
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.overlay__content {
    color: var(--color-white);
}

.overlay__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.overlay__description {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.overlay__tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
}
