/* Villa Hadas · Building our dream home — full-width showcase video.

   Sits below the 4×3 tile grid on the /villa/building page. Renders as
   a 16/9 poster with a large circular play button; clicking swaps to
   native <video controls>. Sized to match design PDF p.18. */

.villa-build-showcase-section {
    padding-block-start: clamp(24px, 4vw, 56px);
    padding-block-end: clamp(48px, 8vw, 96px);
}

.villa-build-showcase {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 9;
    background: var(--villa-cream-warm);
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 20px 40px rgba(27, 51, 90, 0.08);
}

.villa-build-showcase > video,
.villa-build-showcase > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.villa-build-showcase__play {
    position: absolute;
    inset: 50% 50% auto auto;
    transform: translate(50%, -50%);
    width: clamp(72px, 8vw, 112px);
    height: clamp(72px, 8vw, 112px);
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    z-index: 2;
    transition:
        transform var(--dur-base) var(--ease-out),
        color var(--dur-base) var(--ease-out),
        opacity var(--dur-base) var(--ease-out);
    filter: drop-shadow(0 4px 22px rgba(0, 0, 0, 0.35));
}

.villa-build-showcase__play svg {
    width: 100%;
    height: 100%;
    display: block;
}

.villa-build-showcase__play:hover,
.villa-build-showcase__play:focus-visible {
    transform: translate(50%, -50%) scale(1.05);
    color: #FFF;
    outline: none;
}

.villa-build-showcase.is-playing .villa-build-showcase__play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 720px) {
    .villa-build-showcase { aspect-ratio: 4 / 3; }
}
