/* /public_html/assets/css/showcase.css */
html,
body {
    background-color: #15100b;
    background-image:
        linear-gradient(180deg, rgba(22, 15, 10, 0.14), rgba(22, 15, 10, 0.24)),
        url("/assets/images/header_background.png");
    background-position: center top;
    background-repeat: repeat;
    background-size: 720px auto;
}

.page--showcase .site-main {
    background: transparent;
}

.showcase-page {
    width: min(100%, 1320px);
    margin: 0 auto;
    padding: 30px 18px 44px;
    box-sizing: border-box;
}

.showcase-hero,
.showcase-form-view,
.showcase-empty {
    border: 1px solid rgba(212, 166, 58, 0.22);
    background:
        linear-gradient(180deg, rgba(48, 34, 27, 0.88), rgba(20, 15, 13, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 34px rgba(0, 0, 0, 0.18);
}

.showcase-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    padding: 30px 32px;
    border-radius: 22px;
}

.showcase-eyebrow {
    margin: 0 0 8px;
    color: #f7d66f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.showcase-hero h1,
.showcase-form-header h2,
.showcase-empty h2 {
    margin: 0 0 10px;
    color: #fff8ea;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.15rem, 4vw, 4rem);
    line-height: 1;
}

.showcase-hero p,
.showcase-form-header p,
.showcase-empty p {
    max-width: 760px;
    margin: 0;
    color: rgba(247, 233, 205, 0.88);
    font-size: 1rem;
    line-height: 1.6;
}

.showcase-submit-button,
.showcase-back-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.showcase-submit-button {
    min-width: 180px;
    padding: 0 22px;
    border: 0;
    background: transparent url("/assets/images/red_button.png") center center / 100% 100% no-repeat;
    color: #f8eedb;
    font-size: 1.14rem;
}

.showcase-back-button {
    min-width: 156px;
    border: 1px solid rgba(212, 166, 58, 0.24);
    border-radius: 12px;
    background: rgba(19, 14, 11, 0.58);
    color: rgba(247, 233, 205, 0.92);
    padding: 0 18px;
    font-size: 1.05rem;
}

.showcase-alert {
    margin: 0 0 18px;
    border-radius: 16px;
    padding: 15px 18px;
    color: #fff8ea;
    line-height: 1.5;
}

.showcase-alert--success {
    border: 1px solid rgba(124, 159, 84, 0.34);
    background: rgba(43, 78, 35, 0.72);
}

.showcase-alert--error {
    border: 1px solid rgba(171, 46, 35, 0.42);
    background: rgba(78, 24, 20, 0.72);
}

.showcase-views {
    position: relative;
    overflow: hidden;
}

.showcase-gallery-view,
.showcase-form-view {
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.showcase-gallery-view.is-exiting {
    opacity: 0;
    transform: translateX(-24px);
}

.showcase-form-view {
    border-radius: 22px;
    padding: 28px 30px 30px;
}

.showcase-form-view.is-entering {
    opacity: 0;
    transform: translateX(24px);
}

.showcase-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.showcase-pagination__pages {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: center;
}

.showcase-pagination__link,
.showcase-pagination__page,
.showcase-pagination__gap {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 166, 58, 0.24);
    border-radius: 10px;
    background: rgba(25, 18, 13, 0.70);
    color: #fff8ea;
    padding: 0 14px;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.showcase-pagination__page {
    min-width: 40px;
    padding: 0 10px;
}

.showcase-pagination__page--active {
    background: linear-gradient(180deg, rgba(171, 46, 35, 0.98), rgba(122, 29, 24, 0.98));
    color: #f8efdc;
}

.showcase-pagination__link--disabled {
    opacity: 0.42;
    pointer-events: none;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.showcase-card {
    overflow: hidden;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(48, 34, 27, 0.90), rgba(20, 15, 13, 0.96));
    border: 1px solid rgba(212, 166, 58, 0.20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 30px rgba(0, 0, 0, 0.18);
}

.showcase-card__carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(12, 9, 7, 0.85);
}

.showcase-card__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    transition: opacity 180ms ease;
}

.showcase-card__image--active {
    opacity: 1;
}

.showcase-card__empty-image {
    min-height: 100%;
    display: grid;
    place-items: center;
    color: rgba(247, 233, 205, 0.72);
    font-family: Georgia, "Times New Roman", serif;
}

.showcase-card__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(212, 166, 58, 0.30);
    border-radius: 50%;
    background: rgba(18, 13, 10, 0.76);
    color: #fff8ea;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    transform: translateY(-50%);
}

.showcase-card__arrow--prev {
    left: 12px;
}

.showcase-card__arrow--next {
    right: 12px;
}

.showcase-card__body {
    padding: 22px 24px 24px;
}

.showcase-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: #f7d66f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.showcase-card__title {
    margin: 0 0 8px;
    color: #fff8ea;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.7rem, 2.8vw, 2.65rem);
    line-height: 1;
}

.showcase-card__subtitle {
    margin: 0 0 12px;
    color: rgba(247, 233, 205, 0.88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.18rem;
    line-height: 1.35;
}

.showcase-card__description {
    margin: 0;
    color: rgba(247, 233, 205, 0.84);
    line-height: 1.65;
}

.showcase-empty {
    padding: 30px 32px;
    border-radius: 22px;
    text-align: center;
}

.showcase-empty p {
    margin-left: auto;
    margin-right: auto;
}

.showcase-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.showcase-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.showcase-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.showcase-field:nth-child(4),
.showcase-field:nth-child(5),
.showcase-field:nth-child(6),
.showcase-field:nth-child(7) {
    grid-column: 1 / -1;
}

.showcase-field span {
    color: #f7d66f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.showcase-field input,
.showcase-field textarea {
    width: 100%;
    border: 1px solid rgba(212, 166, 58, 0.24);
    border-radius: 12px;
    background: rgba(18, 13, 10, 0.72);
    color: #fff8ea;
    box-sizing: border-box;
    font: inherit;
}

.showcase-field input {
    min-height: 46px;
    padding: 0 13px;
}

.showcase-field textarea {
    padding: 13px;
    resize: vertical;
}

.showcase-field input[type="file"] {
    min-height: 48px;
    padding: 10px 12px;
}

.showcase-field input:focus,
.showcase-field textarea:focus {
    outline: none;
    border-color: rgba(212, 166, 58, 0.54);
    box-shadow: 0 0 0 3px rgba(212, 166, 58, 0.12);
}

.showcase-field small {
    color: rgba(247, 233, 205, 0.72);
    line-height: 1.45;
}

.showcase-form__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

@media (max-width: 900px) {
    html,
    body {
        background-size: 560px auto;
    }

    .showcase-page {
        width: min(100% - 24px, 760px);
        padding: 20px 0 34px;
    }

    .showcase-hero,
    .showcase-form-header {
        flex-direction: column;
        align-items: stretch;
    }

    .showcase-hero {
        padding: 24px 22px;
        border-radius: 18px;
    }

    .showcase-submit-button,
    .showcase-back-button {
        align-self: center;
        width: min(100%, 246px);
    }

    .showcase-grid,
    .showcase-form {
        grid-template-columns: 1fr;
    }

    .showcase-card,
    .showcase-form-view,
    .showcase-empty {
        border-radius: 18px;
    }

    .showcase-card__body {
        padding: 20px 20px 22px;
    }

    .showcase-card__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.7rem;
    }

    .showcase-form-view {
        padding: 24px 20px 26px;
    }

    .showcase-form__actions {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .showcase-page {
        width: min(100% - 20px, 760px);
    }

    .showcase-hero h1,
    .showcase-form-header h2,
    .showcase-empty h2 {
        font-size: 2.24rem;
    }

    .showcase-pagination {
        gap: 8px;
    }

    .showcase-pagination__link,
    .showcase-pagination__page,
    .showcase-pagination__gap {
        min-height: 36px;
        font-size: 0.92rem;
    }

    .showcase-card__title {
        font-size: 1.85rem;
    }

    .showcase-card__subtitle {
        font-size: 1.05rem;
    }
}


/* 2026-05-04: submission flow polish */
.showcase-alert--inline {
    margin: 0 0 18px !important;
}

.showcase-submit-button:disabled {
    opacity: 0.68 !important;
    cursor: wait !important;
}

.showcase-form-view[hidden],
.showcase-gallery-view[hidden] {
    display: none !important;
}
