/* ========================================
   Showcase — horizontal scroll gallery
   ======================================== */

.showcase {
    padding: 60px 0 40px;
    background-color: var(--white);
    overflow: hidden;
}

.showcase__grid-mobile {
    display: none;
}

.showcase__masonry-mobile {
    display: none;
}

.showcase__mobile-track {
    display: none;
}

.showcase__header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 24px;
}

.showcase__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-accent);
    margin-bottom: 8px;
}

.showcase__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 500;
    color: var(--dark-brown);
}

.showcase__subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-gray);
    margin-top: 10px;
    font-style: italic;
}

/* Scroll container */
.showcase__scroll-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 16px;

    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.showcase__track::-webkit-scrollbar {
    display: none;
}

.showcase__item {
    flex: 0 0 auto;
    width: 80%;
    max-width: 700px;
    height: 420px;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
}

.showcase__item img,
.showcase__item video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.showcase__item--portrait {
    width: auto;
    max-width: none;
}

.showcase__item--portrait img,
.showcase__item--portrait video {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.showcase__item:hover img,
.showcase__item:hover video {
    transform: scale(1.02);
}

/* Arrow buttons */
.showcase__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: 0 2px 12px rgba(61, 46, 35, 0.12);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.showcase__arrow:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.showcase__arrow--left {
    left: 8px;
}

.showcase__arrow--right {
    right: 8px;
}

.showcase__arrow svg {
    width: 20px;
    height: 20px;
    stroke: var(--dark-brown);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Scroll hint dots */
.showcase__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.showcase__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--shell);
    transition: background 0.3s ease;
}

.showcase__dot--active {
    background: var(--gold-accent);
}

@media (max-width: 768px) {
    .showcase {
        padding: 40px 0 24px;
    }

    .showcase__scroll-wrap {
        display: none;
    }

    .showcase__dots {
        display: none;
    }

    .showcase__grid-mobile {
        display: none;
    }

    .showcase__mobile-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 16px;
    }

    .showcase__mobile-track::-webkit-scrollbar {
        display: none;
    }

    .showcase__mobile-slide {
        flex: 0 0 75%;
        scroll-snap-align: center;
        border-radius: 12px;
        overflow: hidden;
    }

    .showcase__mobile-slide video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }

    .showcase__mobile-slide--stack {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .showcase__mobile-slide--stack img {
        width: 100%;
        flex: 1;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    .showcase__arrow {
        display: none;
    }

    .showcase__track {
        padding: 0 16px 12px;
        gap: 12px;
    }
}
