/* Block: Development Portfolio */

.development-portfolio-block {
    padding: 60px 20px;
    background-color: #fff;
    width: 100%;
}

.development-portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-subtitle {
    font-size: 14px;
    color: #46ad67;
    /* Green brand color */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.portfolio-title {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: #333;
    margin: 0 0 15px 0;
}

.portfolio-description {
    font-size: 16px;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card Styles */
.portfolio-card {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 66%;
    /* Aspect Ratio 3:2 approx */
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background-color: #f0f0f0;
}

.portfolio-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-card-bg {
    transform: scale(1.1);
    /* Zoom effect here too */
}

.portfolio-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.portfolio-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #fff;
    text-align: left;
}

.portfolio-year {
    display: block;
    font-size: 12px;
    color: #46ad67;
    margin-bottom: 5px;
    font-weight: 700;
}

.portfolio-card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    color: #fff;
    margin: 0;
    font-weight: 400;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-title {
        font-size: 32px;
    }
}