/**
 * Artist Performances — Figma node 1442:3853
 * https://www.figma.com/design/RgNVpZ3TrlxEWXWB9QrQjD/The-House-of-Legends?node-id=1442-3853
 * Depends on landing-page-v5.css, private-event.css.
 */

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

/* ---- Hero (title + subtitle only, Figma) ---- */
.ap-page .pe-hero-title {
    text-wrap: balance;
}

.ap-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    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;
}

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

/* ---- Types of performances ---- */
.ap-types {
    background: #1a1a1a;
    padding: 80px 120px;
    box-sizing: border-box;
}

.ap-types-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.ap-section-title-gold-center {
    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;
}

.ap-types-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.ap-types-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
}

@media (max-width: 900px) {
    .ap-types {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ap-types-row {
        grid-template-columns: 1fr;
    }
}

.ap-type-card {
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 0;
}

.ap-type-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ap-type-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-type-card-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        #1a1a1a 0%,
        rgba(26, 26, 26, 0.7) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.ap-type-card--no-photo .ap-type-card-bg {
    background: #1a1a1a;
}

.ap-type-card--no-photo .ap-type-card-bg::after {
    /* Same legibility treatment as photo cards (image is dark; gradient lifts text) */
    display: block;
}

.ap-type-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    text-align: center;
}

.ap-type-card-body svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.ap-type-card-body h3 {
    font-family: "Philosopher", serif;
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

/* ---- Performance models ---- */
.ap-models {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 80px 120px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .ap-models {
        padding: 80px 24px;
        justify-content: center;
    }
}

.ap-models-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ap-models-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.ap-models-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        #1a1a1a 0%,
        rgba(26, 26, 26, 0.92) 45%,
        rgba(26, 26, 26, 0) 75%
    );
}

@media (max-width: 900px) {
    .ap-models-bg::after {
        background: rgba(26, 26, 26, 0.88);
    }
}

.ap-models-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 690px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ap-models-intro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ap-models-intro h2 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #c5a059;
    margin: 0;
}

.ap-models-intro p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.ap-models-intro p.ap-models-lead {
    color: #a6a6a6;
}

.ap-models-intro p.ap-models-body {
    color: #e6e6e6;
}

.ap-models-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .ap-models-cards {
        grid-template-columns: 1fr;
    }
}

.ap-model-card {
    background: #1a1a1a;
    border: 2px solid #2e2e2e;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ap-model-card h3 {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #c5a059;
    margin: 0;
}

.ap-model-card p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #a6a6a6;
    margin: 0;
}

/* ---- Ideal For (Figma #252525 cards on #1a1a1a) ---- */
.ap-ideal {
    background: #1a1a1a;
    padding: 80px 120px;
    box-sizing: border-box;
}

.ap-ideal-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

@media (max-width: 900px) {
    .ap-ideal {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ap-ideal-grid {
        grid-template-columns: 1fr;
    }
}

.ap-ideal-card {
    background: #252525;
    border-radius: 16px;
    padding: 34px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.ap-ideal-card svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ap-ideal-card p {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin: 0;
}

/* ---- Full-bleed band ---- */
.ap-band {
    position: relative;
    height: 440px;
    min-height: 440px;
    max-height: 440px;
    overflow: hidden;
}

.ap-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

/* ---- The Venue ---- */
.ap-venue {
    position: relative;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 120px;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .ap-venue {
        flex-direction: column;
        padding: 80px 24px;
        gap: 48px;
    }
}

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

.ap-venue-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-venue-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(26, 26, 26, 0) 0%,
        #1a1a1a 78%
    );
}

@media (max-width: 1100px) {
    .ap-venue-bg::after {
        background: rgba(26, 26, 26, 0.92);
    }
}

.ap-venue-copy {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    max-width: 588px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ap-venue-copy h2 {
    font-family: "Decophile", "Playfair Display", serif;
    font-size: clamp(36px, 4vw, 64px);
    line-height: 1.12;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

.ap-venue-copy > p {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #e6e6e6;
    margin: 0;
}

.ap-venue-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ap-venue-item {
    position: relative;
    padding-left: 24px;
}

.ap-venue-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5a059;
}

.ap-venue-item h3 {
    font-family: "Mulish", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #fff;
    margin: 0 0 8px;
}

.ap-venue-item p {
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #a6a6a6;
    margin: 0;
}

.ap-venue-media {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* Venue carousel (same interaction pattern as dinner-theater Signature Cocktails) */
.ap-venue-carousel-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ap-venue-carousel {
    width: 100%;
    max-width: min(960px, 100%);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.ap-venue-carousel-viewport {
    container-type: inline-size;
    container-name: ap-venue;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.ap-venue-carousel-track {
    display: flex;
    gap: 16px;
    width: max-content;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.ap-venue-slide {
    flex: 0 0 calc((100cqw - 32px) / 3);
    min-width: 0;
}

.ap-venue-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 223 / 400;
    max-height: min(400px, 50vh);
    object-fit: cover;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .ap-venue-carousel-track {
        transition: none;
    }
}

.ap-venue-dots {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
}

.ap-venue-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    padding: 0;
    border: 1px solid #555;
    background: #3a3a3a;
    cursor: pointer;
    transition: width 0.35s ease, border-radius 0.35s ease, background 0.25s ease, border-color 0.25s ease;
}

.ap-venue-dot.is-active {
    width: 28px;
    border-radius: 6px;
    background: #c5a059;
    border-color: #c5a059;
}

.ap-venue-dot:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 2px;
}

@media (max-width: 1100px) {
    .ap-venue-carousel-wrap {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Featured video (replaces map) ---- */
.ap-video-section {
    background: #1a1a1a;
    padding: 80px 120px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .ap-video-section {
        padding: 60px 24px;
    }
}

.ap-video-inner {
    width: 1348px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.ap-video-frame {
    position: relative;
    width: 100%;
    max-width: 1348px;
    aspect-ratio: 242 / 135;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    box-sizing: border-box;
}

.ap-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.ap-video-blocker {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: default;
    background: transparent;
}

/* ---- Artist proposal submit ---- */
.ap-artist-submit {
    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-transform: capitalize;
}

/* ---- Ideal show format ---- */
.ap-format {
    background: #1a1a1a;
    padding: 80px 24px;
}

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

.ap-format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    align-items: start;
}

.ap-format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.ap-format-icon-wrap {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid #333;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-format-item h3 {
    font-family: "Philosopher", serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #fff;
    margin: 0;
}

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

/* ==========================================================================
   Mobile — Figma: hero 1530-26642, models 1538-27078, Ideal For 1530-26707,
   venue carousel 1538-27148, video + Ideal Show Format 1538-27183
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* ---- Hero: image strip + copy block (same structure as Private Events) ---- */
    .ap-page .pe-hero {
        min-height: auto;
        padding: 0 0 40px;
        flex-direction: column;
        align-items: stretch;
    }

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

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

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

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

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

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

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

    /* ---- Types of performances ---- */
    .ap-types {
        padding: 40px 16px;
    }

    .ap-types-inner {
        gap: 32px;
    }

    .ap-type-card {
        min-height: 280px;
    }

    .ap-type-card--no-photo .ap-type-card-bg img {
        object-position: center 22%;
    }

    /* ---- Performance Models: brighter bg, copy left-aligned ---- */
    .ap-models {
        min-height: 0;
        padding: 40px 16px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .ap-models-bg img {
        object-position: center 28%;
        filter: brightness(1.14) saturate(1.02);
    }

    .ap-models-bg::after {
        background: rgba(26, 26, 26, 0.52);
    }

    .ap-models-inner {
        max-width: none;
        gap: 24px;
        align-items: flex-start;
        text-align: left;
    }

    .ap-models-intro {
        gap: 12px;
        align-items: flex-start;
        text-align: left;
    }

    .ap-models-intro h2 {
        font-size: 32px;
        line-height: 40px;
        text-align: left;
    }

    .ap-models-intro p {
        font-size: 14px;
        line-height: 22px;
        text-align: left;
    }

    .ap-models-cards {
        gap: 12px;
        width: 100%;
    }

    .ap-model-card {
        padding: 20px 16px;
        gap: 12px;
        align-items: flex-start;
        text-align: left;
    }

    .ap-model-card h3 {
        font-size: 15px;
        line-height: 22px;
        text-align: left;
    }

    .ap-model-card p {
        font-size: 14px;
        line-height: 22px;
        text-align: left;
    }

    /* ---- Ideal For: 2×3 grid, tighter cards ---- */
    .ap-ideal {
        padding: 40px 16px;
    }

    .ap-ideal-inner {
        gap: 28px;
    }

    .ap-ideal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ap-ideal-card {
        padding: 20px 12px;
        border-radius: 12px;
        gap: 12px;
    }

    .ap-ideal-card p {
        font-size: 14px;
        line-height: 20px;
    }

    /* ---- Featured video + Ideal Show Format: see shared block at end of file (Host an Event Figma 1579:29569) ---- */

    /* ---- The Venue: copy padded; carousel edge-to-edge (~full screen width) ---- */
    .ap-venue {
        padding: 40px 0;
        gap: 32px;
    }

    .ap-venue-copy {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .ap-venue-media {
        width: 100%;
        align-self: stretch;
    }

    .ap-venue-copy h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .ap-venue-copy > p {
        font-size: 14px;
        line-height: 22px;
    }

    .ap-venue-item h3 {
        font-size: 16px;
        line-height: 24px;
    }

    .ap-venue-item p {
        font-size: 14px;
        line-height: 22px;
    }

    .ap-venue-carousel-wrap {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .ap-venue-carousel {
        width: 100%;
        max-width: none;
        gap: 16px;
    }

    .ap-venue-carousel-viewport {
        width: 100%;
        border-radius: 0;
    }

    .ap-venue-carousel-track .ap-venue-slide {
        /* 100cqw = width of .ap-venue-carousel-viewport (now ~full screen) */
        flex: 0 0 100cqw;
        min-width: 0;
        overflow: hidden;
        border-radius: 4px;
    }

    .ap-venue-slide img {
        display: block;
        width: 100%;
        height: auto;
        max-height: min(620px, 82vh);
        aspect-ratio: 223 / 400;
        object-fit: cover;
        transform: scale(1.08);
        transform-origin: center center;
        border-radius: 4px;
    }

    .ap-venue-dots {
        margin-top: 8px;
        /* Full-bleed carousel; align dots with .ap-venue-copy horizontal padding */
        padding-inline: 16px;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   Video + Ideal Show Format — mobile matches Host an Event (Figma 1579:29569)
   Artist Performances (.ap-page) and Venue Rental (.vr-page)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .ap-page .ap-video-section,
    .vr-page .ap-video-section {
        padding: 40px 16px 0;
        box-sizing: border-box;
    }

    .ap-page .ap-video-frame,
    .vr-page .ap-video-frame {
        aspect-ratio: 1348 / 752;
        border-radius: 0;
    }

    .ap-page .ap-format,
    .vr-page .ap-format {
        padding: 32px 16px 40px;
        box-sizing: border-box;
    }

    .ap-page .ap-format-inner,
    .vr-page .ap-format-inner {
        gap: 32px;
    }

    .ap-page .ap-format .ap-section-title-gold-center,
    .vr-page .ap-format .ap-section-title-gold-center {
        font-size: 32px;
        line-height: 40px;
    }

    .ap-page .ap-format-grid,
    .vr-page .ap-format-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        width: 100%;
        align-items: start;
    }

    .ap-page .ap-format-item:first-child,
    .vr-page .ap-format-item:first-child {
        grid-column: 1 / -1;
    }

    .ap-page .ap-format-item,
    .vr-page .ap-format-item {
        gap: 10px;
    }

    .ap-page .ap-format-icon-wrap,
    .vr-page .ap-format-icon-wrap {
        width: 64px;
        height: 64px;
        border-width: 2px;
        border-color: #2e2e2e;
    }

    .ap-page .ap-format-icon-wrap svg,
    .vr-page .ap-format-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .ap-page .ap-format-item h3,
    .vr-page .ap-format-item h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .ap-page .ap-format-item p,
    .vr-page .ap-format-item p {
        font-size: 14px;
        line-height: 20px;
    }
}
