/* =============================================
   Tour Detail — BEM
   Background: #F1F7FF
   Primary:    #27368B
   Text:       #444
   Border:     30px
   Button:     24px
   Card Shadow: 0 10px 30px rgba(0,0,0,.08)
   Font:       Manrope
   Container:  1660px
   Spacing:    80~120px between sections
   ============================================= */

/* --- Container --- */
.tour-detail {
    background: #f1f7ff;
}

.tour-detail__container {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 70px;
}

.tour-detail__container > section {
    margin-bottom: 30px;
}
.tour-detail__container > section:last-child {
    margin-bottom: 0;
}

/* =============================================
   Section 1 — Hero
   ============================================= */
.tour-hero {
    margin-bottom: 80px;
}

/* Gallery */
.tour-hero__gallery {
    position: relative;
    height: 100%;
    min-height: 486px;
    min-width: 0;
    overflow: hidden;
}

.tour-hero__gallery-main {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 25%;
    border-radius: 30px;
    overflow: hidden;
}

.tour-hero__gallery-main img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-hero__gallery-thumbs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc(25% - 15px);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tour-hero__gallery-thumbs img {
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Sidebar Card */
.tour-hero__sidebar {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tour-hero__sidebar-body {
    padding: 25px 30px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tour-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.tour-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 24px;
    background: #f1f7ff;
    color: #27368b;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.tour-hero__title {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 1.3;
    color: #27368b;
    margin-bottom: 16px;
}

.tour-hero__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tour-hero__meta-label {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #444;
}

.tour-hero__meta-value {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: #27368b;
    text-align: right;
}

.tour-hero__price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tour-hero__price-label {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #444;
}

.tour-hero__price-value {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: #27368b;
    text-align: right;
}

.tour-hero__desc {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    flex: 1;
}

.tour-hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    border: none;
    border-radius: 0;
    background: #27368b;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tour-hero__cta:hover {
    background: #1e2c74;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(39, 54, 139, 0.25);
    color: #fff;
}

.tour-hero__cta:active {
    transform: translateY(0);
    background: #162158;
}

/* =============================================
   Section 2 — Sticky Nav Tabs
   ============================================= */
.tour-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f1f7ff;
    margin-bottom: 50px;
}

.tour-nav__inner {
    display: flex;
    gap: 40px;
    overflow-x: auto;
}

.tour-nav__link {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    padding: 20px 24px;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tour-nav__link:hover {
    color: #27368b;
}

.tour-nav__link.active {
    color: #27368b;
}

.tour-nav__link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #27368b;
    border-radius: 3px 3px 0 0;
}

/* =============================================
   Section 3 — Highlight
   ============================================= */
.tour-highlight {
    scroll-margin-top: 100px;
}

.tour-highlight .row {
    min-height: 420px;
}

.tour-highlight__card {
    background: #fff;
    border-radius: 30px 0 0 30px;
    padding: 40px;
    height: 100%;
}

.tour-highlight__title {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0;
    color: #27368b;
    margin-bottom: 20px;
}

.tour-highlight__list {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.tour-highlight__list li {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    color: #444;
}

.tour-highlight__list li::marker {
    font-size: 12px;
    color: #444;
}

.tour-highlight__list li:last-child {
    border-bottom: none;
}

.tour-highlight__image {
    position: relative;
    height: 100%;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
}

.tour-highlight__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================
   Section 4 — Program
   ============================================= */
.tour-program {
    scroll-margin-top: 100px;
}

.tour-program__outer {
    background: #f5f9ff;
    padding-bottom: 40px;
}

.tour-program__heading {
    font-family: "Manrope", sans-serif;
    line-height: 32px;
    font-size: 30px;
    font-weight: 800;
    color: #2e3ea8;
    margin-bottom: 20px;
    padding-left: 200px;
    padding-top: 30px;
}

.tour-program__layout {
    display: flex;
    align-items: stretch;
}

.tour-program__image-col {
    width: 51%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.tour-program__main-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tour-program__main-image.active {
    opacity: 1;
}

.tour-program__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tour-program__content-col {
    width: 42%;
    background: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.tour-program__content {
    flex: 1;
    min-height: 0;
    position: relative;
}

.tour-program__panel {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tour-program__panel.active {
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 1;
}

.tour-program__day-title {
    font-family: "Manrope", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    padding-left: 50px;
    padding-top: 20px;
}

.tour-program__secondary-img {
    width: 100%;
    height: 40%;
    min-height: 0;
    object-fit: cover;
    margin-bottom: 24px;
    display: block;
}

.tour-program__activity-title {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    padding-left: 40px;
}

.tour-program__description {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #666;
    padding-left: 40px;
}

.tour-program__nav-col {
    width: 7%;
    flex-shrink: 0;
}

.tour-program__nav {
    background: #2e3ea8;
    padding: 30px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    position: sticky;
    top: 120px;
}

.tour-program__day-btn {
    display: block;
    width: 100%;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: #fff;
    opacity: 1;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tour-program__day-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.tour-program__day-btn.active {
    background: #fff;
    color: #2e3ea8;
    font-weight: 800;
    opacity: 1;
}

/* =============================================
   Section 5 — Benefit
   ============================================= */
.tour-benefit {
    scroll-margin-top: 100px;
}

.tour-benefit__box {
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    background: #fff;
    overflow: hidden;
}

.tour-benefit__col {
    padding: 40px;
}

.tour-benefit__title {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #27368b;
    margin-bottom: 20px;
}

.tour-benefit__list {
    list-style: disc;
    padding-left: 32px;
    margin: 0;
}

.tour-benefit__list li {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: #444;
    padding: 6px 0;
}

.tour-benefit__list li::marker {
    font-size: 12px;
    color: #444;
}

/* =============================================
   Section 6 — Activities
   ============================================= */
.tour-activities {
    scroll-margin-top: 100px;
}

.tour-activities__heading {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #27368b;
    text-align: center;
    margin-bottom: 20px;
}

.tour-activity-card {
    position: relative;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tour-activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.tour-activity-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.tour-activity-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-activity-card:hover .tour-activity-card__image img {
    transform: scale(1.08);
}

.tour-activity-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    transition: all 0.45s ease;
}

.tour-activity-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tour-activity-card__title {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4em;
    min-height: 1.4em;
    color: #27368b;
    margin: 0;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tour-activity-card__toggle {
    background: none;
    border: none;
    color: #27368b;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    transform: rotate(180deg);
}

.tour-activity-card:hover .tour-activity-card__toggle {
    transform: rotate(0deg);
}

.tour-activity-card__desc {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.45s ease;
}

.tour-activity-card:hover .tour-activity-card__desc {
    opacity: 1;
    max-height: 150px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tour-activity-card__desc p {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* =============================================
   Responsive
   ============================================= */
@media (min-width: 992px) {
    .tour-hero .col-lg-8 {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .tour-hero .col-lg-4 {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

@media (max-width: 1400px) {
    .tour-hero__gallery {
        min-height: 350px;
    }
    .tour-program__heading {
        padding-left: 150px;
    }
}

@media (min-width: 1400px) {
    .tour-hero__sidebar-body {
        padding: 20px 30px;
    }
}

@media (max-width: 1199px) {
    .tour-hero__sidebar-body {
        padding: 20px 30px;
    }
    .tour-hero__title {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .tour-detail__container {
        padding: 0 24px;
    }
    .tour-detail__container > section {
        margin-bottom: 30px;
    }
    .tour-hero__gallery {
        position: static;
        height: auto;
        min-height: 0;
        flex-direction: column;
    }
    .tour-hero__gallery-main {
        position: static;
        border-radius: 24px;
    }
    .tour-hero__gallery-main img {
        position: static;
        width: 100%;
        height: 380px;
        object-fit: cover;
    }
    .tour-hero__gallery-thumbs {
        position: static;
        width: 100%;
        flex-direction: row;
    }
    .tour-hero__gallery-thumbs img {
        flex: 1;
        aspect-ratio: 1;
        height: auto;
    }
    .tour-hero__sidebar {
        margin-top: 0;
    }
    .tour-hero__title {
        font-size: 20px;
    }
    .tour-nav {
        padding: 0 20px;
    }
    .tour-nav__inner {
        gap: 24px;
    }
    .tour-highlight__card {
        height: auto;
    }
    .tour-highlight__image {
        aspect-ratio: auto;
        height: auto;
        position: static;
    }
    .tour-highlight__image img {
        position: static;
        height: 300px;
    }
    .tour-program__layout {
        flex-direction: column;
    }
    .tour-program__image-col {
        width: 100%;
        border-radius: 24px;
        min-height: 350px;
        height: 100vh;
        position: relative;
    }
    .tour-program__main-image {
        position: absolute;
        inset: 0;
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    .tour-program__main-image.active {
        opacity: 1;
    }
    .tour-program__main-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 24px;
    }
    .tour-program__content-col {
        width: 100%;
        height: auto;
    }
    .tour-program__secondary-img {
        height: 300px;
    }
    .tour-program__nav-col {
        width: 100%;
    }
    .tour-program__nav {
        border-radius: 24px;
        flex-direction: row;
        overflow-x: auto;
        position: static;
    }
    .tour-program__day-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .tour-detail__container > section {
        margin-bottom: 30px;
    }
    .tour-hero__gallery {
        height: auto;
    }
    .tour-hero__gallery-thumbs img {
        flex: 1;
        aspect-ratio: 1;
        height: auto;
    }
    .tour-hero__sidebar-body {
        padding: 20px;
    }
    .tour-hero__price-value {
        font-size: 22px;
    }
    .tour-nav {
        overflow-x: auto;
    }
    .tour-nav__link {
        font-size: 14px;
        padding: 16px 0;
    }
    .tour-highlight__card {
        padding: 28px;
    }
    .tour-highlight__title {
        font-size: 26px;
    }
    .tour-program__outer {
        padding: 40px 0;
    }
    .tour-program__heading {
        font-size: 28px;
        margin-bottom: 24px;
    }
    .tour-program__image-col {
        min-height: 250px;
    }
    .tour-program__day-title {
        font-size: 22px;
    }
    .tour-program__panel.active {
        display: block;
        height: auto;
    }
    .tour-program__secondary-img {
        height: 200px;
        flex: none;
    }
    .tour-program__activity-title {
        font-size: 18px;
    }
    .tour-benefit__col {
        padding: 28px;
    }
    .tour-activities__heading {
        font-size: 26px;
    }
}

@media (max-width: 1600px) {
    .tour-program__heading {
        padding-left: 70px;
    }
}

/* =============================================
   Sticky Footer Bar — price + book
   ============================================= */
.tour-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #141e5b;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
    padding: 18px 100px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-sticky-bar.visible {
    transform: translateY(0);
}

.tour-sticky-bar__inner {
    max-width: 1660px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 48px;
}

.tour-sticky-bar__price {
    text-align: center;
    line-height: 1.5;
}

.tour-sticky-bar__price-line {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.tour-sticky-bar__price-line strong {
    font-weight: 800;
    color: #fff;
}

.tour-sticky-bar__consult {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

.tour-sticky-bar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 300px;
    flex-shrink: 0;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #141e5b;
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tour-sticky-bar__cta:hover {
    background: #fff;
    color: #141e5b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    padding-bottom: 100px;
}

@media (max-width: 1600px) {
    .tour-sticky-bar__price-line {
        margin: 0;
        font-family: "Manrope", sans-serif;
        font-size: 16px;
        font-weight: 400;
        color: #fff;
    }

    .tour-sticky-bar__price-line strong {
        font-weight: 700;
        color: #fff;
    }
}

@media (max-width: 991px) {
    .tour-sticky-bar {
        padding: 14px 20px;
    }
    .tour-sticky-bar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .tour-sticky-bar__price {
        text-align: center;
    }
    .tour-sticky-bar__price-line {
        font-size: 17px;
    }
    .tour-sticky-bar__consult {
        font-size: 15px;
    }
    .tour-sticky-bar__cta {
        width: 100%;
        height: 52px;
        font-size: 18px;
    }
    body {
        padding-bottom: 150px;
    }
}
