/**
 * Private Events & Corporate Gatherings — Figma node 1433:11459
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1433-11459
 * Mobile: hero meta — node 1530-25332; What the Venue Offers — node 1530-25891
 * Depends on landing-page-v5.css (nav, gallery, CTA, footer), landing-page-v4.css (practical block).
 */

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

/* ---- Hero ---- */
.pe-hero {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 24px 120px;
    overflow: hidden;
    text-align: center;
}

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

.pe-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pe-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0) 20%,
        #1a1a1a 100%
    );
}

.pe-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.pe-hero-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #c5a059;
    margin: 0;
}

.pe-hero-subtitle {
    font-family: "Philosopher", serif;
    font-size: 32px;
    line-height: 38px;
    color: #e6e6e6;
    margin: 0;
    max-width: 960px;
}

.pe-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
}

.pe-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #e6e6e6;
}

.pe-hero-meta-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    stroke: #dec89e;
}

.pe-hero-meta-item--seats svg {
    stroke: #dec89e;
}

.pe-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Recommended + partners: use landing-page-v5.css (.v5-recommended-*, .v5-partners-*) */

/* ---- Event experience cards ---- */
.pe-event-xp {
    padding: 80px 24px;
}

.pe-event-xp-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.pe-section-title-gold {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #c5a059;
    text-align: center;
    margin: 0;
}

.pe-event-xp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

.pe-xp-card {
    background: #2e2e2e;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pe-xp-card-media {
    aspect-ratio: 3 / 4;
    max-height: 440px;
    overflow: hidden;
}

.pe-xp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pe-xp-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pe-xp-card-body h3 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.pe-xp-card-body p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    margin: 0;
}

/* ---- What the venue offers ---- */
.pe-venue {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    padding: 80px 24px;
    overflow: hidden;
}

.pe-venue-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pe-venue-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
}

.pe-venue-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Softer, narrower overlay so the bar photo reads more; text stays on the darker left band */
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.94) 0%,
        rgba(26, 26, 26, 0.72) 28%,
        rgba(26, 26, 26, 0.35) 48%,
        rgba(26, 26, 26, 0.08) 68%,
        rgba(26, 26, 26, 0) 85%
    );
}

.pe-venue-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.pe-venue-copy {
    max-width: 588px;
}

.pe-venue-title {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 64px;
    line-height: 72px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 24px;
}

.pe-venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 16px;
}

.pe-venue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 27px;
    color: #fff;
}

.pe-venue-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #c5a059;
}

.pe-venue-capacity {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #c5a059;
    margin: 0;
}

/* ---- Event packages ---- */
.pe-packages {
    padding: 80px 24px;
}

.pe-packages-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.pe-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    align-items: center;
}

.pe-package {
    background: #252525;
    border: 2px solid #333;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.pe-package--featured {
    background: #c5a059;
    border-color: #c5a059;
    padding-top: 64px;
    padding-bottom: 64px;
    justify-content: center;
}

.pe-package h3 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    width: 100%;
}

.pe-package:not(.pe-package--featured) h3 {
    color: #c5a059;
}

.pe-package--featured h3 {
    color: #1a1a1a;
}

.pe-package ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.pe-package li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #e6e6e6;
}

.pe-package--featured li {
    color: #1a1a1a;
}

.pe-package li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pe-package:not(.pe-package--featured) li svg {
    color: #c5a059;
}

.pe-package--featured li svg {
    color: #1a1a1a;
}

/* ---- Inquiry (background matches index5 v5-contact-section) ---- */
.pe-inquiry-wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 80px 120px;
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.pe-inquiry-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pe-inquiry-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0) 47%,
        #1a1a1a 92%
    );
}

.pe-inquiry-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    flex: 0 1 auto;
    align-self: center;
    box-sizing: border-box;
    margin: 0;
    background: #1a1a1a;
    border: 1px solid #a6a6a6;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.pe-inquiry-head {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pe-inquiry-head h2 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: 32px;
    line-height: 40px;
    color: #c5a059;
    margin: 0;
}

.pe-inquiry-head p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #808080;
    margin: 0;
}

.pe-inquiry-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pe-form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.pe-form-row > * {
    flex: 1 1 200px;
}

.pe-form-row > .pe-field--full {
    flex: 1 1 100%;
}

.pe-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #2e2e2e;
    border-radius: 8px;
    padding: 12px;
    min-height: 72px;
    box-sizing: border-box;
}

.pe-field label {
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #e6e6e6;
}

.pe-field input,
.pe-field select,
.pe-field textarea {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #e6e6e6;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    padding: 0;
}

.pe-field input::placeholder,
.pe-field textarea::placeholder {
    color: #808080;
}

.pe-field input:-webkit-autofill,
.pe-field input:-webkit-autofill:hover,
.pe-field input:-webkit-autofill:focus,
.pe-field input:-webkit-autofill:active,
.pe-field textarea:-webkit-autofill,
.pe-field textarea:-webkit-autofill:hover,
.pe-field textarea:-webkit-autofill:focus,
.pe-field textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #2e2e2e inset !important;
    box-shadow: 0 0 0 1000px #2e2e2e inset !important;
    -webkit-text-fill-color: #e6e6e6 !important;
    caret-color: #e6e6e6;
    transition: background-color 99999s ease-out;
}

.pe-field--select {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pe-field--select label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.pe-field--select-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    /* Padding lives on <select> so the full row (including chevron zone) opens the dropdown */
    padding-right: 0;
}

.pe-field--select-inner span {
    font-family: "Mulish", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #e6e6e6;
}

/* SVG chevron: absolute so the <select> extends beneath it and clicks pass through */
.pe-field--select > svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pe-field--select:focus-within > svg {
    transform: translateY(-50%) rotate(180deg);
    color: #c5a059 !important;
}

.pe-field--select select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: #808080;
    color-scheme: dark;
    width: 100%;
    border: none;
    outline: none;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    transition: color 0.2s;
    padding-right: 40px;
    box-sizing: border-box;
}

.pe-field--select select.has-value {
    color: #e6e6e6;
}

.pe-field--select select:focus {
    outline: none;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.4);
}

.pe-field--select select option {
    background-color: #1a1a1a;
    color: #e6e6e6;
    padding: 10px 12px;
}

.pe-field--select select option:checked {
    background-color: #2a2418;
    color: #dec89e;
}

/* Remove spinner arrows on number inputs */
.pe-field input[type="number"]::-webkit-inner-spin-button,
.pe-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.pe-field input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Private Events + Creative Workshop: hide native calendar glyph (field remains usable) */
.pe-page .pe-field input[type="date"]::-webkit-calendar-picker-indicator,
.cw-page .pe-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
}

/* Inline field validation error */
.pe-field-error {
    display: none;
    font-family: "Mulish", sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #e8786a;
    margin-top: 2px;
}

.pe-field-error.is-visible {
    display: block;
}

.pe-field--textarea {
    min-height: 160px;
}

.pe-field-textarea-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.pe-field-textarea-head span:last-child {
    font-size: 14px;
    color: #a6a6a6;
}

.pe-inquiry-form .v5-hero-btn-filled,
.pe-inquiry-form .ap-artist-submit {
    align-self: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.pe-form-done {
    display: none;
    text-align: center;
    font-family: "Mulish", sans-serif;
    color: #dec89e;
    margin: 0;
}

.pe-form-done.is-visible {
    display: block;
}

@media (max-width: 1200px) {
    .pe-inquiry-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1100px) {
    .pe-event-xp-grid,
    .pe-packages-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .pe-package--featured {
        order: -1;
    }
}

@media (max-width: 900px) {
    .pe-venue-grid {
        grid-template-columns: 1fr;
    }

    .pe-venue-bg::after {
        background: linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.92) 0%,
            rgba(26, 26, 26, 0.55) 42%,
            rgba(26, 26, 26, 0.2) 68%,
            rgba(26, 26, 26, 0) 100%
        );
    }

    .pe-venue-bg img {
        object-position: center 40%;
    }
}

@media (max-width: 768px) {
    .pe-hero-title {
        font-size: 40px;
        line-height: 48px;
    }

    .pe-hero-subtitle {
        font-size: 22px;
        line-height: 30px;
    }

    .pe-section-title-gold {
        font-size: 40px;
        line-height: 48px;
    }

    .pe-hero {
        padding-top: 140px;
    }

    /* Private Events only (`body.pe-page`): hero strip + stacked meta — Figma 1530-25332 */
    .pe-page .pe-hero {
        min-height: auto;
        padding: 0 0 40px;
        flex-direction: column;
        align-items: stretch;
    }

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

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

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

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

    .pe-page .pe-hero-subtitle {
        font-size: 18px;
        line-height: 28px;
    }

    .pe-page .pe-hero-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .pe-page .pe-hero-meta-item {
        font-size: 14px;
        line-height: 20px;
    }

    .pe-page .pe-hero-meta-item svg {
        width: 20px;
        height: 20px;
    }

    .pe-page .pe-hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .pe-page .pe-hero-ctas .v5-hero-btn-outline,
    .pe-page .pe-hero-ctas .v5-hero-btn-filled {
        font-size: 16px;
        line-height: 24px;
        padding: 8px 16px;
    }

    /* What the Venue Offers — Figma 1530-25891 */
    .pe-venue {
        min-height: auto;
        padding: 40px 16px;
        align-items: stretch;
    }

    .pe-venue-copy {
        max-width: 100%;
        width: 100%;
    }

    .pe-venue-title {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
        margin-bottom: 24px;
    }

    .pe-venue-grid {
        gap: 16px;
        margin-bottom: 16px;
    }

    .pe-venue-item {
        font-size: 14px;
        line-height: 20px;
        align-items: flex-start;
        gap: 10px;
    }

    .pe-venue-item svg {
        width: 20px;
        height: 20px;
    }

    .pe-venue-capacity {
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

    .pe-venue-bg::after {
        background: linear-gradient(
            180deg,
            rgba(26, 26, 26, 0.35) 0%,
            rgba(26, 26, 26, 0.82) 38%,
            rgba(26, 26, 26, 0.94) 100%
        );
    }

    .pe-venue-bg img {
        object-position: center 40%;
    }

    .pe-inquiry-wrap {
        padding: 60px 20px;
        min-height: 0;
    }
}
