:root {
    --container-max: 1400px;
    --pad-x: clamp(15px, 3.2vw, 40px);
    --section-space: 60px;
}

@media screen and (max-width: 1024px) {
    :root { --section-space: 45px; }
}

@media screen and (max-width: 767px) {
    :root { --section-space: 40px; }
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.tour_detail {
    background-image: url("../photos/tour-background.jpg");
    position: relative;
    width: 100%;
    height: clamp(180px, 22vw, 320px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour_d {
    position: absolute;
    inset: 0;
    background: rgba(8, 41, 78, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--pad-x);
}

.tour_d h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(20px, 4vw + 8px, 56px);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-align: center;
    letter-spacing: -1px;
    padding: 0 20px;
    line-height: 1.15;
}



.kutch-container {
    width: 100%;
    max-width: var(--container-max);
    margin: var(--section-space) auto;
    display: flex;
    align-items: flex-start;
    gap: clamp(20px, 3vw, 48px);
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0 var(--pad-x);
}

.kutch-main {
    flex: 1 1 45%;
    min-width: 320px;
    max-width: 100%;
}

.kutch-head {
    margin-bottom: clamp(24px, 4vw, 44px);
}

.kutch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.kutch-meta span {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    background: #FFFAF2;
    color: #082A4D;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
}

.kutch-meta span i {
    margin-top: 2px;
    flex-shrink: 0;
}

.kutch-meta i {
    color: #FEB73E;
}

.kutch-head h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    color: #082A4D;
    font-size: clamp(19px, 1.8vw + 15px, 34px);
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.kutch-head p {
    color: #666;
    /* font-size: clamp(13.5px, 0.3vw + 13px, 18px); */
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

.kutch-price {
    color: #072A4E;
    font-size: 20px;
    font-weight: 700;
    margin: clamp(22px, 4vw, 44px) 0 clamp(14px, 2vw, 22px);
}

.kutch-price span {
    color: #999;
    font-size: 18px;
    font-weight: 400;
}

.kutch-btns {
    display: flex;
    gap: 12px;
    max-width: 360px;
}

@media screen and (max-width: 480px) {
    .kutch-btns {
        max-width: 100%;
    }
}

.kutch-btns a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: 10px;
    /* font-size: clamp(11px, 0.3vw + 11px, 14px); */
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn-wa {
    background: #25d366;
    color: #fff;
}

.btn-wa:hover {
    background: #1eb659;
}

.btn-call {
    background: #082A4D;
    color: #fff;
}

.btn-call:hover {
    background: #FEB73E;
    color: #082A4D;
}

/* ===================== TIMELINE ===================== */

.timeline {
    --tl-pad: clamp(32px, 6vw, 52px);
    position: relative;
    padding-left: var(--tl-pad);
}

.timeline::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    transform: translateX(-50%);
    background-image: repeating-linear-gradient(
        to bottom,
        #FEB73E 0 8px,
        transparent 8px 16px
    );
}



.tl-item {
    position: relative;
    padding-bottom: clamp(28px, 4vw, 48px);
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--tl-pad) + 13px);
    top: 4px;
    width: clamp(18px, 2vw, 28px);
    height: clamp(18px, 2vw, 28px);
    border-radius: 50%;
    background: #fff;
    border: 2px solid #FEB73E;
    transform: translateX(-50%);
}

.tl-item .day {
   
    font-size: 18px;
    color: #d3831c;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: block;
}

.tl-item h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    color: #082A4D;
    font-size: 20px;
    font-weight:700;
    margin:0 0 8px;
}

.tl-item p {
    color: #666;
    /* font-size: clamp(13px, 0.2vw + 13px, 18px); */
    line-height: 1.7;
    max-width: 600px;
    margin: 0;
}

/* ===================== PHOTOS ===================== */

.services {
    flex: 1 1 45%;
    min-width: 320px;
    max-width: 620px;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 1.6vw, 20px);
    position: sticky;
    top: 100px;
    align-content: start;
    box-sizing: border-box;
}

.services a {
    display: block;
}

.t_card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: zoom-in;
}

.t_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.t_card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 2.7;
    object-fit: cover;
}

/* ===================== LIGHTBOX ===================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 12, 20, .9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    object-fit: contain;
}

.lightbox__close {
    position: absolute;
    top: clamp(10px, 1.5vw, 25px);
    right: clamp(10px, 2vw, 35px);
    width: clamp(30px, 4vw, 44px);
    height: clamp(30px, 4vw, 44px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    font-size: clamp(16px, 2vw, 28px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox__close:hover {
    background: #FEB73E;
    color: #082A4D;
}


/* ==========================================================
   STRUCTURAL BREAKPOINTS — matches sitewide scale exactly
   (1024 / 991 / 767 / 480 / 320). Only layout/structure
   changes live here; sizing is handled by clamp() above.
========================================================== */

@media screen and (max-width: 1024px) {
    .kutch-container {
        /* flex-direction: column; */
    }

    .kutch-main {
        flex-basis: auto;
        min-width: 0;
        width: 100%;
    }

    .services {
        flex-basis: auto;
        min-width: 0;
        max-width: 840px;
        width: 100%;
        margin: 0 auto;
        position: static;
    }
}

@media screen and (max-width: 991px) {
    .services {
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .kutch-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 480px) {
    .timeline {
        --tl-pad: clamp(28px, 8vw, 40px);
    }

    .t_card img {
        aspect-ratio: 16 / 11;
    }
}

@media screen and (max-width: 320px) {
    .kutch-container {
        gap: 18px;
    }

    .kutch-btns {
        gap: 8px;
    }

    .kutch-btns a {
        padding: 9px 5px;
    }
}

/* Slider hidden on desktop */
.kutch-mobile-slider {
    display: none;
}

/* 1024px and below */
@media screen and (max-width: 1024px) {

    .kutch-container {
        display: block;
    }

    .kutch-main {
        width: 100%;
        min-width: 0;
    }

    /* Hide desktop cards */
    .services {
        display: none;
    }

    /* Show slider above Day 1 */
    .kutch-mobile-slider {
        display: block;
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 40px;
    }

    .kutch-slider-track {
        display: flex;
        width: 100%;
        transition: transform 0.45s ease;
    }

    .kutch-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
    }

    .kutch-slide:hover {
        transform: none;
    }

    .kutch-slide img {
        width: 100%;
        height: clamp(300px, 48vw, 500px);
        aspect-ratio: auto;
        object-fit: cover;
        border-radius: 18px;
    }

    .kutch-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 50%;
        background: #ffffff;
        color: #082A4D;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 5;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
        transition: 0.3s ease;
    }

    .kutch-slider-btn:hover {
        background: #FEB73E;
        color: #082A4D;
    }

    .kutch-prev {
        left: 15px;
    }

    .kutch-next {
        right: 15px;
    }

    .kutch-slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .kutch-slider-dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #d6d6d6;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .kutch-slider-dot.active {
        width: 24px;
        border-radius: 10px;
        background: #FEB73E;
    }
}

@media screen and (max-width: 767px) {

    .kutch-mobile-slider {
        margin-bottom: 32px;
    }

    .kutch-slide img {
        height: clamp(220px, 60vw, 380px);
        border-radius: 14px;
    }

    .kutch-slider-btn {
        width: 38px;
        height: 38px;
    }

    .kutch-prev {
        left: 10px;
    }

    .kutch-next {
        right: 10px;
    }
}

@media screen and (max-width: 480px) {

    .kutch-mobile-slider {
        margin-bottom: 28px;
    }

    .kutch-slide img {
        height: 230px;
        border-radius: 12px;
    }

    .kutch-slider-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .kutch-prev {
        left: 8px;
    }

    .kutch-next {
        right: 8px;
    }
}

@media screen and (max-width: 320px) {

    .kutch-slide img {
        height: 190px;
    }

    .kutch-slider-btn {
        width: 30px;
        height: 30px;
    }
}