/* Homes Section Base */
.homes-section {
    position: relative;
    z-index: 20;
    background-color: #FCF9F1;
    color: #d58282;
    padding: 120px 5%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homes-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    /* Generous gap between columns */
}

/* Columns */
.homes-video-col {
    flex: 1;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homes-video-wrapper {
    position: relative;
    width: 70%;
    max-width: 400px;
    border: 4px solid #7DB8CC;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.homes-video {
    width: 100%;
    display: block;
    object-fit: cover;
}

.homes-play-btn {
    position: absolute;
    width: 64px;
    height: 64px;
    background-color: #7DB8CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.homes-video-wrapper:hover .homes-play-btn {
    transform: scale(1.05);
    background-color: #62a3ba;
}

.homes-content-col {
    flex: 1;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Ensure left alignment */
}

/* Typography */
.homes-title {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 3rem;
    color: #000000;
    font-weight: 100;
    /* Medium to light */
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.homes-desc {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 500px;
}

/* Links */
.homes-links {
    display: flex;
    gap: 2.5rem;
}

.homes-link {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    border-bottom: 2px solid #000000;
    padding-bottom: 6px;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.homes-link:hover {
    color: #333333;
    border-color: #333333;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .homes-section {
        height: auto;
        min-height: auto;
        padding: 40px 20px 56px;
    }

    .homes-container {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .homes-video-col,
    .homes-content-col {
        width: 100%;
    }

    .homes-video-col {
        height: auto;
    }

    .homes-video-wrapper {
        width: min(322px, 100%);
        max-width: 322px;
        aspect-ratio: 322 / 457;
        max-height: none;
        border-radius: 12px;
    }

    .homes-video {
        height: 100%;
        object-fit: cover;
        object-position: 100% 17%;
    }

    .homes-content-col {
        align-items: flex-start;
        padding: 0 0 24px 33px;
    }

    .homes-title {
        font-size: 1.75rem;
        line-height: 1.4;
        letter-spacing: 0;
        max-width: 340px;
    }

    .homes-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .homes-links {
        gap: 1rem;
    }
}
