200* FastTracks Testimonial Snapshots — Luxury Orbital Widget */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500&display=swap');

/* ── Root & Reset ─────────────────────────────────────────── */
.ft-snap-wrapper {
    --ft-gold:     #C9A84C;
    --ft-gold-lt:  #F5EDD5;
    --ft-gold-dk:  #8B6914;
    --ft-dark:     #1D2B3A;
    --ft-surface:  #F8F7F4;
    --ft-card-bg:  #FFFFFF;
    --ft-border:   rgba(201, 168, 76, 0.30);
    --ft-text:     #1D2B3A;
    --ft-muted:    rgba(29, 43, 58, 0.50);
    --ft-shadow:   rgba(201, 168, 76, 0.18);

    font-family: 'Tajawal', sans-serif;
    position: relative;
    width: 100%;
    padding: 24px 0 16px;
    overflow: hidden;
    direction: rtl;
    background: transparent;
}

/* ── Section Header ───────────────────────────────────────── */
.ft-snap-header {
    text-align: center;
    margin-bottom: 28px;
}

.ft-snap-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ft-dark);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.ft-snap-heading em {
    color: var(--ft-gold);
    font-style: italic;
}

.ft-snap-subheading {
    font-size: 0.9rem;
    color: var(--ft-muted);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* ── Scene Container ──────────────────────────────────────── */
.ft-snap-scene {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ambient glow */
.ft-snap-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

/* ── Stage: orbital track ─────────────────────────────────── */
.ft-snap-stage {
    position: relative;
    width: 100%;
    height: 200px;
    perspective: 1400px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Cards ────────────────────────────────────────────────── */
.ft-snap-card {
    position: absolute;
    width: 350px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.72s cubic-bezier(0.34, 1.35, 0.64, 1),
        opacity   0.5s ease,
        filter    0.5s ease,
        z-index   0s;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    border: 1px solid rgba(201, 168, 76, 0.22);
    background: #f5f2ec;
    box-shadow:
        0 3px 18px rgba(29, 43, 58, 0.09),
        0 1px 4px rgba(29, 43, 58, 0.05);
}

.ft-snap-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.ft-snap-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.6s ease;
}

.ft-snap-card:hover .ft-snap-img {
    transform: scale(1.04);
}

.ft-snap-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f0e8, #ede8db);
    color: var(--ft-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 12px;
}

/* Card overlay — completely removed, images shown clean */
.ft-snap-overlay {
    display: none;
}

.ft-snap-card.active .ft-snap-overlay,
.ft-snap-card:hover .ft-snap-overlay {
    display: none;
}

.ft-snap-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--ft-gold);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.4);
    padding: 3px 8px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.ft-snap-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ft-snap-icon svg {
    width: 12px;
    height: 12px;
}

/* ── Active card shine border ─────────────────────────────── */
.ft-snap-card.active {
    border-color: rgba(201, 168, 76, 0.65);
    box-shadow:
        0 8px 32px rgba(29, 43, 58, 0.14),
        0 0 0 1.5px rgba(201, 168, 76, 0.45),
        0 4px 20px rgba(201, 168, 76, 0.15);
}

/* Gold shimmer line on top of active card */
.ft-snap-card.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.8), transparent);
    z-index: 10;
}

/* ── Navigation Arrows ────────────────────────────────────── */
.ft-snap-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.35);
    background: #FFFFFF;
    color: var(--ft-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    padding: 0;
}

.ft-snap-nav:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.6);
    transform: translateY(-50%) scale(1.08);
}

.ft-snap-nav svg {
    width: 16px;
    height: 16px;
}

.ft-snap-prev { left: 4px; }
.ft-snap-next { right: 4px; }

/* ── Dots ─────────────────────────────────────────────────── */
.ft-snap-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.ft-snap-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.ft-snap-dot.active {
    background: var(--ft-gold);
    width: 18px;
    border-radius: 3px;
}

.ft-snap-dot:hover:not(.active) {
    background: rgba(201, 168, 76, 0.5);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .ft-snap-stage {
        height: 120px;
    }

    .ft-snap-card {
        width: clamp(200px, 70vw, 280px);
        height: 120px;
    }

    .ft-snap-nav {
        width: 28px;
        height: 28px;
    }

    .ft-snap-nav svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .ft-snap-stage {
        height: 110px;
    }

    .ft-snap-card {
        width: clamp(180px, 80vw, 260px);
        height: 110px;
    }
}

/* ── Entrance animation ───────────────────────────────────── */
@keyframes ft-card-enter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.92);
    }
    to {
        opacity: 1;
    }
}

.ft-snap-card {
    animation: ft-card-enter 0.6s ease backwards;
}

/* ── Lightbox / Popup ─────────────────────────────────────── */
.ft-snap-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.ft-snap-lightbox.is-open {
    display: flex;
}

/* Backdrop */
.ft-snap-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(29, 43, 58, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: ft-lb-fade-in 0.25s ease forwards;
}

/* Modal box */
.ft-snap-lightbox-box {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 900px);
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(29, 43, 58, 0.40),
        0 0 0 1px rgba(201, 168, 76, 0.35);
    animation: ft-lb-scale-in 0.30s cubic-bezier(0.34, 1.35, 0.64, 1) forwards;
    background: #fff;
}

/* Gold shimmer line on top */
.ft-snap-lightbox-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.9), transparent);
    z-index: 10;
}

/* Image inside lightbox */
.ft-snap-lightbox-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    object-position: top;
}

/* Close button */
.ft-snap-lightbox-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(29, 43, 58, 0.65);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    padding: 0;
    line-height: 1;
}

.ft-snap-lightbox-close:hover {
    background: rgba(201, 168, 76, 0.75);
    border-color: rgba(201, 168, 76, 0.8);
    transform: scale(1.1);
}

.ft-snap-lightbox-close svg {
    width: 16px;
    height: 16px;
}

/* Zoom cursor on active card */
.ft-snap-card.active {
    cursor: zoom-in;
}

/* Animations */
@keyframes ft-lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ft-lb-scale-in {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes ft-lb-scale-out {
    from { opacity: 1; transform: scale(1); }
    to   { opacity: 0; transform: scale(0.88); }
}

.ft-snap-lightbox.is-closing .ft-snap-lightbox-backdrop {
    animation: ft-lb-fade-in 0.2s ease reverse forwards;
}

.ft-snap-lightbox.is-closing .ft-snap-lightbox-box {
    animation: ft-lb-scale-out 0.2s ease forwards;
}
