/**
 * NextDay — Showcase Page Styles
 * Premium, minimal, vertically-scrolling showcase layout.
 *
 * @package NextDay
 */

/* ── Showcase List ─────────────────────────────────────────────────────────── */

.nd-showcase-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

@media (min-width: 768px) {
    .nd-showcase-list {
        gap: 6rem;
    }
}

/* ── Showcase Item ─────────────────────────────────────────────────────────── */

.nd-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Number ────────────────────────────────────────────────────────────────── */

.nd-showcase-item__number {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #B8BEC6;
    margin-bottom: 0.75rem;
    user-select: none;
}

@media (min-width: 768px) {
    .nd-showcase-item__number {
        font-size: 5.5rem;
        margin-bottom: 1rem;
    }
}

/* ── Title ─────────────────────────────────────────────────────────────────── */

.nd-showcase-item__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1.25rem;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .nd-showcase-item__title {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }
}

/* ── Image Wrap ────────────────────────────────────────────────────────────── */

.nd-showcase-item__image-wrap {
    width: 100%;
    max-width: 600px;        /* Unified standard width for all images */
    margin: 0 auto;          /* Center within the item */
    transition: transform 0.3s ease;
}

.nd-showcase-item__image-wrap:hover {
    transform: scale(1.02);
}

/* ── Clickable Link ────────────────────────────────────────────────────────── */

.nd-showcase-item__link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.nd-showcase-item__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 74, 198, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.nd-showcase-item__link:hover::after {
    background: rgba(0, 74, 198, 0.03);
}

/* ── Image ─────────────────────────────────────────────────────────────────── */

.nd-showcase-item__image {
    width: 100%;
    height: auto;            /* Preserve original aspect ratio */
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.nd-showcase-item__link:hover .nd-showcase-item__image {
    transform: scale(1.015);
}

/* ── Eye Icon + Tooltip on Addon Card ──────────────────────────────────────── */

.nd-addon-eye-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    color: #004ac6;
    margin-left: 0.375rem;
    vertical-align: middle;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nd-addon-eye-icon:hover {
    color: #1E3A8A;
    transform: scale(1.15);
}

.nd-addon-eye-icon .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

@media (min-width: 768px) {
    .nd-addon-eye-icon .material-symbols-outlined {
        font-size: 20px;
    }
}

/* ── Tooltip ───────────────────────────────────────────────────────────────── */

.nd-addon-eye-icon .nd-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #111827;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
}

.nd-addon-eye-icon .nd-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #111827;
}

.nd-addon-eye-icon:hover .nd-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Footer CTA ────────────────────────────────────────────────────────────── */

.nd-showcase-order-btn {
    min-width: min(100%, 16rem);
    line-height: 1.35;
    text-align: center;
}

@media (min-width: 768px) {
    .nd-showcase-order-btn {
        min-width: 20rem;
    }
}
