/* ─── Bestemming Tiles ───────────────────────────────────────────────────────
   Right-aligned horizontal strip of small destination tiles.
   Each tile: 180×101px image + uppercase name + decorative underline.
   Matches Figma node 616:12465.
   ─────────────────────────────────────────────────────────────────────────── */

/* ── Strip wrapper ───────────────────────────────────────────────────────── */

.bt-tiles {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

/* ── Single tile ─────────────────────────────────────────────────────────── */

.bt-tile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 180px;
    flex-shrink: 0;
    text-decoration: none !important;
}

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

.bt-tile__image-wrap {
    position: relative;
    width: 180px;
    height: 101px;
    border-radius: 6px;
    overflow: hidden;
    background: #d9d9d9;
}

.bt-tile__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(54, 73, 64, 0.5);
    border-radius: 6px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.bt-tile.is-active .bt-tile__image-wrap::after {
    opacity: 0;
}

.bt-tile__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Name ────────────────────────────────────────────────────────────────── */

.bt-tile__naam {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #ffffff;
    display: block;
}

/* ── Progress bar underline ──────────────────────────────────────────────── */

.bt-tile__line {
    position: relative;
    height: 1.5px;
    width: 100%;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.bt-tile__line-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background-color: #ffffff;
}

/* Active tile: animate the fill from 0 → 100 % over 10 s */
.bt-tile.is-active .bt-tile__line-fill {
    animation: bt-progress 10s linear forwards;
}

@keyframes bt-progress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .bt-tiles {
        gap: 16px;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bt-tiles::-webkit-scrollbar {
        display: none;
    }

    .bt-tile,
    .bt-tile__image-wrap {
        width: 140px;
    }

    .bt-tile__image-wrap {
        height: 79px;
    }
}

@media (max-width: 480px) {
    .bt-tiles {
        gap: 12px;
    }

    .bt-tile,
    .bt-tile__image-wrap {
        width: 110px;
    }

    .bt-tile__image-wrap {
        height: 62px;
    }

    .bt-tile__naam {
        font-size: 10px;
        letter-spacing: 1.6px;
    }
}
