/* Residences Page - Full viewport, no scroll */
html, body {
    height: 100%;
    overflow: hidden;
}

/* Three Column Grid */
.residences-grid {
    display: flex;
    height: 100vh;
}

.residence-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.residence-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.residence-col:hover .residence-col-img {
    transform: scale(1.05);
}

.residence-col-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.55) 100%);
    transition: background 0.4s ease;
}

.residence-col:hover .residence-col-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.45) 100%);
}

.residence-col-content {
    position: absolute;
    bottom: 48px;
    left: 36px;
    right: 36px;
    z-index: 2;
}

.residence-col-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.residence-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: white;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.residence-col-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}

.residence-col-cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.residence-col:hover .residence-col-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Divider lines between columns */
.residence-col + .residence-col {
    border-left: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .residence-col-title {
        font-size: 1.8rem;
    }

    .residence-col-content {
        bottom: 36px;
        left: 24px;
        right: 24px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow: auto;
    }

    .residences-grid {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 72px);
    }

    .residence-col {
        min-height: 33.33vh;
    }

    .residence-col + .residence-col {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.15);
    }

    .residence-col-content {
        bottom: 24px;
        left: 24px;
    }

    .residence-col-title {
        font-size: 1.5rem;
    }

    .residence-col-cta {
        opacity: 1;
        transform: translateY(0);
    }
}
