/* ============================================ */
/* PAST TOURS PAGE STYLES                        */
/* Requires: main.css                            */
/* Mobile-first — base styles are for mobile,   */
/* breakpoints add tablet/desktop enhancements. */
/* Breakpoints: 768px | 1024px                   */
/* ============================================ */


/* ============================================ */
/* MOTION NARRATIVE (MN) SECTION                 */
/* ============================================ */
.mn-section-container {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    height: 100vh;
    position: relative;
    width: 100%;
    opacity: 1;
}

.mn-sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mn-header {
    font-family: var(--label-font);
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-on-primary);
    line-height: 0.95;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    position: absolute;
    bottom: clamp(80px, 14vh, 160px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    opacity: 1;
    pointer-events: none;
    white-space: nowrap;
}

.mn-header span {
    font-family: var(--accent-font);
    font-size: var(--text-title-accent);
    color: var(--accent-color);
    margin: 11px 0 0;
}

.mn-desc {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    color: var(--bodyfont-light-bg);
    margin: 0 auto;
    text-align: center;
    max-width: 700px;
    padding: 0 0 50px;
}

.mn-bar {
    display: flex;
    margin-top: 150px;
    height: 95vh;
    width: 100vw;
    will-change: transform;
}

/* ── Panels ── */
.mn-panel {
    flex: 0 0 20vw;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.mn-panel:last-child { border-right: none; }

.mn-panel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.mn-panel:hover .mn-panel-bg { transform: scale(1.04); }

.mn-panel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.3)  50%,
        rgba(0, 0, 0, 0.05) 65%,
        rgba(244, 244, 244, 1) 100%
    );
}

.mn-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px;
    color: #fff;
}

.mn-panel-num {
    font-family: var(--label-font);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 4px;
    display: none;
}

.mn-panel-title {
    font-family: var(--label-font);
    font-size: var(--text-med);
    line-height: 1.3;
    color: var(--secondary-color);
}

.mn-panel-sub {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-top: 3px;
    color: var(--secondary-color);
}


/* ============================================ */
/* MN MODAL                                      */
/* ============================================ */
.mn-modal-wrap {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mn-modal-wrap.open {
    opacity: 1;
    pointer-events: all;
}

.mn-modal {
    background: #111;
    width: 100vw;
    max-height: 90vh;
    position: relative;
    padding: 80px 60px;
    color: var(--text-on-primary);
    border: none;
    overflow: hidden;
}

/* 2-column layout — desktop default */
.mn-modal-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.mn-content-left {
    position: relative;
    z-index: 2;
}

.mn-modal-num-large {
    position: absolute;
    font-family: var(--label-font);
    left: -40px;
    top: 10%;
    transform: translateY(-50%);
    font-size: 240px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(136, 160, 77, 0.3);
    z-index: -1;
    pointer-events: none;
}

.mn-modal-hero-label {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.mn-modal-hero-title {
    font-family: var(--label-font);
    font-size: var(--text-title);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 30px;
}

.mn-modal-desc {
    font-family: var(--main-font);
    font-size: var(--text-sm);
    color: var(--bodyfont-dark-bg);
    line-height: 1.6;
    margin-bottom: 40px;
}

.mn-modal-stats {
    display: flex;
    gap: 40px;
}

.mn-stat-card .num {
    font-family: var(--label-font);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.mn-stat-card .lbl {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bodyfont-light-bg);
    margin-top: 6px;
}

.mn-modal-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-sm);
}

.mn-close {
    position: absolute;
    top: 0;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.mn-close:hover { opacity: 1; }


/* ── Modal animations ── */
.mn-modal-num-large,
.mn-modal-hero-label,
.mn-modal-hero-title,
.mn-modal-desc,
.mn-stat-card,
.mn-modal-image-wrap {
    opacity: 0;
    transform: translateY(20px);
}

.mn-modal-wrap.open .mn-modal-num-large {
    animation: mnSlideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.mn-modal-wrap.open .mn-modal-hero-label { animation: mnFadeUp 0.6s ease-out 0.3s forwards; }
.mn-modal-wrap.open .mn-modal-hero-title { animation: mnFadeUp 0.6s ease-out 0.4s forwards; }
.mn-modal-wrap.open .mn-modal-desc       { animation: mnFadeUp 0.6s ease-out 0.5s forwards; }

.mn-modal-wrap.open .mn-stat-card:nth-child(1) { animation: mnFadeUp 0.5s ease-out 0.6s forwards; }
.mn-modal-wrap.open .mn-stat-card:nth-child(2) { animation: mnFadeUp 0.5s ease-out 0.7s forwards; }
.mn-modal-wrap.open .mn-stat-card:nth-child(3) { animation: mnFadeUp 0.5s ease-out 0.8s forwards; }

.mn-modal-wrap.open .mn-modal-image-wrap {
    animation: mnImageReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes mnFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes mnSlideInLeft {
    from { opacity: 0; transform: translate(-100px, -50%); }
    to   { opacity: 1; transform: translate(-40px,  -50%); }
}

@keyframes mnImageReveal {
    from { opacity: 0; transform: scale(0.9) translateX(30px); }
    to   { opacity: 1; transform: scale(1)   translateX(0); }
}

/* Mobile overrides for MN section */
@media (max-width: 768px) {
    .mn-section-container {
        height: auto;
        min-height: unset;
        margin-top: 60px;
    }

    .mn-sticky-content {
        position: relative;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .mn-header {
        position: relative;
        bottom: unset;
        left: unset;
        transform: none;
        white-space: normal;
        text-align: center;
        justify-content: center;
        padding: 32px 16px 50px;
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        color: #111;
        text-shadow: none;
    }

    .mn-bar {
        width: 100%;
        height: 400px;
        margin-top: 0;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        will-change: unset;
        transform: none !important;
    }

    .mn-bar::-webkit-scrollbar { display: none; }

    .mn-panel {
        flex: 0 0 45vw;
        height: 100%;
        scroll-snap-align: start;
        border-right: 0.5px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
    }

    .mn-panel:last-child { border-right: none; }

    .mn-modal {
        padding: 60px 24px 40px;
        overflow-y: auto;
        max-height: 100vh;
    }

    .mn-modal-body {
        display: flex;
        flex-direction: column-reverse;
        gap: 32px;
    }

    .mn-modal-num-large {
        font-size: 120px;
        left: 10px;
        top: 5%;
    }

    .mn-modal-hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .mn-modal-image-wrap {
        aspect-ratio: 16 / 9;
        width: 100%;
    }

    .mn-modal-stats {
        gap: 16px;
        justify-content: space-between;
    }

    .mn-stat-card {
        flex: 1;
        min-width: 80px;
    }
}


/* ============================================ */
/* PAST TOURS TIMELINE / CARD GRID               */
/* ============================================ */
.tl-section {
    background: #ffffff;
    padding: 60px 0 40px;
    overflow: hidden;
}

.tl-header {
    text-align: center;
    padding: 0 24px 40px;
}

.tl-heading {
    font-family: var(--label-font);
    font-size: var(--text-sub-title);
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
}

.tl-accent {
    color: var(--accent-color);
    font-family: var(--accent-font);
    font-size: var(--text-title-accent);
}

.tl-subheading {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    color: var(--bodyfont-light-bg);
    margin: 0;
}

/* Mobile: 2 columns */
.tl-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 20px;
    width: 100%;
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
    .tl-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .tl-img-card {
        display: block;
    }
}

/* ── Cards ── */
.tl-card {
    background: #ffffff;
    border-left: 3px solid #f4f4f4;
    padding: 24px 20px;
    position: relative;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.tl-card:first-child { border-left-color: var(--accent-color); }

.tl-card:hover {
    border-left-color: var(--accent-color);
    background: #f4f4f4;
    color: #111;
}

.tl-card-label {
    font-family: var(--label-font);
    font-size: var(--text-sm);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.tl-card-title {
    font-family: var(--label-font);
    font-size: var(--text-med);
    color: var(--secondary-color);
    margin: 0 0 20px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Lists ── */
.tl-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    color: var(--bodyfont-light-bg);
    transition: color 0.3s ease;
}

.tl-list:hover { color: var(--secondary-color); }

.tl-list li {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    padding: 5px 0;
    border-bottom: 1px solid #f4f4f4;
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1.35;
}

.tl-list li:last-child { border-bottom: none; }

.tl-list-light li { font-size: var(--text-xs); }

.tl-year {
    font-family: var(--label-font);
    font-size: var(--text-xs);
    color: var(--accent-color);
    letter-spacing: 0.05em;
    flex: 0 0 32px;
}

/* ── Dark card variant ── */
.tl-card-dark {
    background: #0d0d0d;
    border-left-color: var(--accent-color);
}

/* ── Image cards (hidden on mobile, shown at 1024px+) ── */
.tl-img-card {
    flex: 0 0 340px;
    padding: 0;
    border-left: none;
    overflow: hidden;
    display: none;
}

.tl-img-frame {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

.tl-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.tl-img-card:hover .tl-img-frame img { transform: scale(1.04); }

.tl-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    padding: 32px 20px 20px;
}

.tl-img-overlay span {
    font-family: var(--label-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-primary);
}

.tl-img-fallback {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    min-height: 380px;
}


/* ============================================ */
/* CUSTOMER REVIEWS SECTION                      */
/* ============================================ */
.rv-section {
    background: #f4f4f4;
    padding: 80px 0;
}

.rv-header {
    text-align: center;
    padding: 0 24px 50px;
}

.rv-heading {
    font-family: var(--label-font);
    font-size: var(--text-sub-title);
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
}

.rv-accent {
    color: var(--accent-color);
    font-family: var(--accent-font);
}

.rv-subheading {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    color: var(--bodyfont-light-bg);
    margin: 0;
}

/* Mobile: single column */
.rv-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 640px) {
    .rv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rv-grid { grid-template-columns: repeat(3, 1fr); }
}

.rv-card {
    background: #fff;
    border-left: 3px solid transparent;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
}

.rv-card:hover {
    border-left-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 1;
}

/* Featured (dark) card */
.rv-card-featured {
    background: #111;
    border-left-color: var(--accent-color);
}

.rv-card-featured .rv-quote,
.rv-card-featured .rv-author-name { color: var(--text-on-primary); }

.rv-card-featured .rv-author-meta { color: var(--accent-color); }

.rv-card-featured:hover { background: #111; }

.rv-stars {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.rv-quote {
    font-family: var(--main-font);
    font-size: var(--text-base-new);
    line-height: 1.7;
    color: var(--bodyfont-light-bg);
    margin: 0;
    flex: 1;
}

.rv-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.rv-card-featured .rv-author { border-top-color: rgba(255, 255, 255, 0.1); }

.rv-author-name {
    font-family: var(--label-font);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.rv-author-meta {
    font-family: var(--main-font);
    font-size: var(--text-xs);
    color: var(--accent-color);
    letter-spacing: 0.05em;
}
