/**
 * Venue Rental — Figma node 1444:5048
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1444-5048
 * Mobile: hero — node 1579-28446; Rental Format — node 1579-28991
 * Depends on landing-page-v5.css, landing-page-v4.css, private-event.css, artist-performances.css.
 */

.vr-main {
    background: #1a1a1a;
}

/* ---- Hero CTA: no SVG (gold pill, text only) ---- */
.vr-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 800px;
    background: #c5a059;
    color: #1a1a1a;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
}

.vr-hero-cta:hover {
    filter: brightness(1.06);
}

/* ---- A Unique Creative Space ---- */
.vr-creative {
    position: relative;
    isolation: isolate;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 80px 120px;
    overflow: hidden;
}

.vr-creative-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.vr-creative-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lớp phủ nhẹ: giữ ảnh nền đọc được hơn (gradient, không phủ kín màu đen) */
.vr-creative-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.82) 0%,
        rgba(26, 26, 26, 0.45) 38%,
        rgba(26, 26, 26, 0.2) 62%,
        rgba(26, 26, 26, 0.06) 100%
    );
}

.vr-creative-inner {
    position: relative;
    z-index: 1;
    max-width: 588px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vr-creative-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.vr-creative-body {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
}

.vr-creative-body + .vr-creative-body {
    margin-top: 0;
}

/* Tiêu đề vàng cho block The Space */
.vr-section-title-gold {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #c5a059;
    text-align: center;
    margin: 0;
}

/* ---- The Space ---- */
.vr-space {
    background: #1f1f1f;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.vr-space-intro {
    text-align: center;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vr-space-intro .vr-section-title-gold {
    margin-bottom: 0;
}

.vr-space-lead {
    font-family: "Philosopher", serif;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 36px;
    color: #e6e6e6;
    margin: 0;
}

.vr-space-block {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.vr-space-subtitle {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 36px;
    line-height: 44px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    text-align: center;
}

.vr-space-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.vr-space-row--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 752px;
    margin: 0 auto;
}

/* The Space cards: hover / focus giống .v5-service-card (landing index5) */
.vr-space-card {
    position: relative;
    min-height: 400px;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.vr-space-card:focus {
    outline: none;
}

.vr-space-card:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 3px;
}

.vr-space-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.vr-space-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vr-space-card:hover .vr-space-card-bg img,
.vr-space-card:focus-within .vr-space-card-bg img {
    transform: scale(1.05);
}

.vr-space-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: background 0.5s ease;
    pointer-events: none;
}

.vr-space-card:hover .vr-space-card-overlay,
.vr-space-card:focus-within .vr-space-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}

.vr-space-card-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vr-space-card:hover .vr-space-card-content,
.vr-space-card:focus-within .vr-space-card-content {
    transform: translateY(-30px);
}

.vr-space-num {
    font-family: "Philosopher", serif;
    font-size: 32px;
    line-height: 38px;
    color: #c5a059;
    font-weight: 400;
    margin: 0;
}

.vr-space-label {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 44px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    text-align: center;
}

.vr-space-desc {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease 0.1s, max-height 0.5s ease;
}

.vr-space-card:hover .vr-space-desc,
.vr-space-card:focus-within .vr-space-desc {
    opacity: 1;
    max-height: 240px;
}

/* ---- Rental format ---- */
.vr-rental-format {
    position: relative;
    isolation: isolate;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 80px 120px;
    overflow: hidden;
}

.vr-rental-format-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Phóng to vùng góc dưới phải của ảnh (anchor bottom right) */
.vr-rental-format-bg img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
    transform: scale(1.28);
    transform-origin: bottom right;
}

.vr-rental-format-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.78) 0%,
        rgba(26, 26, 26, 0.38) 42%,
        rgba(26, 26, 26, 0.12) 100%
    );
}

.vr-rental-format-inner {
    position: relative;
    z-index: 1;
    max-width: 588px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vr-rental-format-inner h2 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.vr-rental-format-inner p {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #a6a6a6;
    margin: 0;
}

.vr-rental-format-inner .vr-gold {
    font-family: "Philosopher", serif;
    font-size: 24px;
    line-height: 36px;
    color: #c5a059;
}

.vr-rental-format-inner em {
    font-style: italic;
    color: #a6a6a6;
}

/* ---- Form submit: đảm bảo hiển thị & click (override UA / thứ tự CSS) ---- */
.vr-page .pe-inquiry-form button.ap-artist-submit {
    box-sizing: border-box;
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 28px;
    -webkit-appearance: none;
    appearance: none;
    background: #c5a059;
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    border-radius: 800px;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-transform: capitalize;
}

.vr-page .pe-inquiry-form button.ap-artist-submit:hover {
    filter: brightness(1.06);
}

.vr-page .pe-inquiry-form button.ap-artist-submit:focus-visible {
    outline: 2px solid #e6e6e6;
    outline-offset: 3px;
}

/* ---- Practical: external link arrow (CSS, no SVG) ---- */
.vr-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vr-ext-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #808080;
    border-right: 2px solid #808080;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.practical-cta.vr-practical-cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---- Inquiry: native select, no SVG chevron ---- */
.vr-page .pe-field--select select {
    padding-right: 40px;
}

.vr-page .pe-field--select .pe-field--select-inner::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #a6a6a6;
    border-bottom: 2px solid #a6a6a6;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.vr-page .pe-field--select .pe-field--select-inner {
    position: relative;
    padding-right: 0;
}

@media (max-width: 1024px) {
    .vr-creative,
    .vr-space {
        padding-left: 24px;
        padding-right: 24px;
    }

    .vr-rental-format {
        padding-left: 24px;
        padding-right: 24px;
    }

    .vr-space-row {
        grid-template-columns: 1fr;
    }

    .vr-space-row--two {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

/* ==========================================================================
   Mobile — Figma: hero 1579-28446, Rental Format 1579-28991
   ========================================================================== */
@media screen and (max-width: 768px) {
    .vr-creative-bg::after {
        background: rgba(26, 26, 26, 0.42);
    }

    /* ---- Hero: image strip + copy block (same structure as Artist Performances) ---- */
    .vr-page .pe-hero {
        min-height: auto;
        padding: 0 0 40px;
        flex-direction: column;
        align-items: stretch;
    }

    .vr-page .pe-hero-bg {
        position: relative;
        height: 210px;
        flex-shrink: 0;
    }

    .vr-page .pe-hero-bg img {
        position: absolute;
        inset: 0;
    }

    .vr-page .pe-hero-inner {
        padding: 0 16px 48px;
        margin-top: -40px;
        gap: 16px;
        background-color: #1a1a1a;
    }

    .vr-page .pe-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .vr-page .pe-hero-subtitle {
        font-size: 18px;
        line-height: 28px;
        max-width: 100%;
    }

    .vr-page .pe-hero-ctas {
        margin-top: 4px;
    }

    .vr-page .vr-hero-cta {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 20px;
        width: 100%;
        max-width: 320px;
    }

    /* ---- Rental Format: full-bleed image + overlapping copy block ---- */
    .vr-page .vr-rental-format {
        min-height: 0;
        padding: 0 0 48px;
        flex-direction: column;
        align-items: stretch;
    }

    .vr-page .vr-rental-format-bg {
        position: relative;
        height: 240px;
        flex-shrink: 0;
        width: 100%;
    }

    .vr-page .vr-rental-format-bg img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: cover;
        object-position: center center;
    }

    .vr-page .vr-rental-format-bg::after {
        background: linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.15) 0%,
            rgba(26, 26, 26, 0.55) 45%,
            rgba(26, 26, 26, 0.92) 100%
        );
    }

    .vr-page .vr-rental-format-inner {
        max-width: none;
        width: 100%;
        margin-top: -40px;
        padding: 0 16px 8px;
        gap: 16px;
        align-self: stretch;
        text-align: center;
        background-color: #1a1a1a;
    }

    .vr-page .vr-rental-format-inner h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .vr-page .vr-rental-format-inner p {
        font-size: 16px;
        line-height: 26px;
    }

    .vr-page .vr-rental-format-inner .vr-gold {
        font-size: 20px;
        line-height: 30px;
    }
}
