/* Block Developments Styles */

.developments-block {
    width: 100%;
    background-color: #fff;
    padding-bottom: 0;
}

.developments-header {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.developments-subtitle {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 400;
}

.developments-title-small {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin: 0;
}

/* List & Cards */
.developments-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.development-card {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height like the design seems to suggest, or maybe 600px */
    max-height: 800px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Ensure zoomed image doesn't overflow */
}

/* Background Image Element for Zoom Effect */
.development-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Smooth zoom */
    z-index: 0;
}

/* Hover Effect */
.development-card:hover .development-bg {
    transform: scale(1.1);
}

.development-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Slight overlay for text readability */
    z-index: 1;
}

.development-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.development-title {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
}

.development-button {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.development-button:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.development-link-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* Responsive */
@media (max-width: 768px) {
    .developments-header {
        padding: 40px 20px;
    }

    .development-card {
        height: 50vh;
        min-height: 400px;
    }

    .development-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
}