/* Portfolio Page - Pure B&W */

.portfolio-page {
    background: var(--white);
    padding-top: 80px;
    min-height: 100vh;
}

.portfolio-header {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.portfolio-header h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.portfolio-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.portfolio-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.portfolio-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--gray-200);
}

.portfolio-item:last-child {
    border-bottom: none;
}

.portfolio-item.reverse {
    grid-template-columns: 1fr 280px;
}

.portfolio-item.reverse .portfolio-item-image {
    order: 2;
}

.portfolio-item.reverse .portfolio-item-content {
    order: 1;
}

.portfolio-item-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--gray-200);
}

.portfolio-item-image.gradient-bg {
    aspect-ratio: 1;
    background: var(--gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item-image .placeholder-text {
    font-size: 2rem;
    color: var(--white);
    font-weight: 600;
}

.portfolio-item-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.portfolio-item-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.portfolio-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: all 0.2s ease;
    border-radius: 980px;
}

.portfolio-btn:hover {
    background: var(--white);
    color: var(--blue);
    box-shadow: inset 0 0 0 2px var(--blue);
}

/* Responsive */
@media (max-width: 968px) {
    .portfolio-item,
    .portfolio-item.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-item.reverse .portfolio-item-image,
    .portfolio-item.reverse .portfolio-item-content {
        order: initial;
    }
}
