/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --border: #e9edf3;
    --shadow-sm: 0 4px 18px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 35px rgba(15, 23, 42, 0.10);
    --radius: 18px;
}


/* =========================================================
   GENERAL
========================================================= */

html {
    scroll-behavior: smooth;
}



a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
}


/* =========================================================
   BOOTSTRAP OVERRIDES
========================================================= */

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background: var(--gradient);
    border: 0;
    color: var(--light);
    box-shadow: 0 8px 20px rgba(255, 107, 53, .22);
    transition: all .25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(
        135deg,
        var(--secondary),
        var(--primary)
    );
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 53, .30);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tour-breadcrumb {
    padding: 18px 0;
    font-size: 14px;
}

.tour-breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.tour-breadcrumb a:hover {
    color: var(--secondary);
}


/* =========================================================
   HERO
========================================================= */

.tour-hero {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.tour-image-wrapper {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #eef2f7;
}

.tour-main-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.tour-hero:hover .tour-main-image {
    transform: scale(1.025);
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            #f1f5f9,
            #e2e8f0
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 70px;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.tour-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            rgba(15, 23, 42, .30),
            transparent 35%
        );
}


/* =========================================================
   IMAGE BADGES
========================================================= */

.tour-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;

    background: var(--gradient);
    color: var(--light);

    padding: 8px 16px;
    border-radius: 50px;

    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 6px 18px rgba(255, 107, 53, .25);
}

.featured-badge {
    background: var(--light);
    color: var(--primary);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.tour-summary {
    height: 100%;
    padding: 15px 42px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tour-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.tour-title {
    color: var(--dark);
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.025em;
    margin-bottom: 16px;
}

.tour-location {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

.tour-location i {
    color: var(--primary);
}


/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 25px;
}

.quick-info-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    transition: all .25s ease;
}

.quick-info-item:hover {
    border-color: rgba(255, 107, 53, .25);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quick-info-item i {
    color: var(--primary);
    margin-right: 7px;
}

.quick-label {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 600;
}

.quick-value {
    display: block;
    color: var(--dark);
    font-weight: 750;
}


/* =========================================================
   PRICE
========================================================= */

.price-box {
    background:
        linear-gradient(
            135deg,
            rgba(255, 107, 53, .08),
            rgba(255, 159, 67, .04)
        );

    border: 1px solid rgba(255, 107, 53, .14);
    border-radius: 14px;
    padding: 20px;
    margin-top: 25px;
}

.price-label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.current-price {
    color: var(--primary);
    font-size: 36px;
    font-weight: 850;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 17px;
    margin-left: 8px;
}

.discount {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    margin-left: 8px;
}


/* =========================================================
   CONTENT CARD
========================================================= */

.content-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    display: flex;
    align-items: center;
    color: var(--dark);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 22px;
}

.section-title i {
    color: var(--primary) !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.description-content {
    color: var(--text);
    font-size: 16px;
    line-height: 1.85;
}

.description-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px auto;
}

.description-content a {
    color: var(--primary);
    font-weight: 600;
}

.description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.description-content td,
.description-content th {
    border: 1px solid var(--border);
    padding: 11px;
}

.description-content th {
    background: var(--bg-soft);
    color: var(--dark);
}

.description-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    background: var(--bg-soft);
    margin: 22px 0;
    border-radius: 0 10px 10px 0;
}

.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4 {
    color: var(--dark);
    font-weight: 800;
    margin-top: 28px;
    margin-bottom: 12px;
}


/* =========================================================
   BOOKING CARD
========================================================= */

.booking-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 27px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 20px;
}

.booking-card h3 {
    color: var(--dark);
    font-weight: 800;
}

.booking-input {
    border: 1px solid #dce2ea;
    border-radius: 9px;
    padding: 11px 13px;
    color: var(--dark);
    transition: all .2s ease;
}

.booking-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .10);
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-btn {
    background: #25D366;
    border: 0;
    color: #fff;
    transition: all .25s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   RELATED TOURS
========================================================= */

.related-card {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.related-image {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform .45s ease;
}

.related-card:hover .related-image {
    transform: scale(1.04);
}

.related-image-wrap {
    overflow: hidden;
}

.related-placeholder {
    height: 210px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 45px;
}


/* =========================================================
   FORM LABEL
========================================================= */

.form-label {
    color: var(--dark);
}





/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .tour-image-wrapper {
        height: 400px;
    }

    .tour-summary {
        padding: 32px;
    }

    .tour-title {
        font-size: 31px;
    }

    .booking-card {
        position: static;
    }
}


@media (max-width: 575px) {

    .tour-breadcrumb {
        padding: 14px 0;
        font-size: 13px;
    }

    .tour-image-wrapper {
        height: 280px;
    }

    .tour-summary {
        padding: 24px 20px;
    }

    .tour-title {
        font-size: 26px;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 22px 18px;
    }

    .booking-card {
        padding: 20px 18px;
    }

    .current-price {
        font-size: 30px;
    }

    .section-title {
        font-size: 21px;
    }
}



/* =========================================================
   DYNAMIC TOUR PAGE HEADER
========================================================= */

/* =========================================================
   DYNAMIC TOUR PAGE HEADER
========================================================= */

.tour-page-header {
    background: var(--light);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 22px 0 30px;
    margin-bottom: 24px;
    margin-top: 180px;
}

.tour-breadcrumb {
    font-size: 14px;
}

.tour-breadcrumb .breadcrumb {
    margin: 0;
}

.tour-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.tour-breadcrumb a:hover {
    color: var(--secondary);
}

.tour-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.page-header-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--light);
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.20);
}

.page-header-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.page-title {
    color: var(--dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    margin: 0;
}

.page-location {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 8px;
}

.page-location i {
    color: var(--primary);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tour-page-header {
        padding: 18px 0 24px;
    }

    .page-header-content {
        align-items: flex-start;
    }

    .page-header-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        font-size: 19px;
        border-radius: 13px;
    }

    .page-title {
        font-size: 26px;
    }

    .page-header-label {
        font-size: 11px;
    }

    .page-location {
        font-size: 14px;
    }

}

/* =========================================================
   TOUR PAGE HEADER - RESPONSIVE
========================================================= */

.tour-page-header {
    background: var(--light);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);

    padding: 45px 0 30px;

    margin-top: 180px;
    margin-bottom: 24px;

    width: 100%;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .tour-page-header {
        margin-top: 180px;
        padding: 45px 0 30px;
    }

}


/* =========================================================
   DESKTOP / LAPTOP
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .tour-page-header {
        margin-top: 175px;
        padding: 40px 0 28px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .tour-page-header {
        margin-top: 135px;
        padding: 35px 0 26px;
        margin-bottom: 20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .tour-page-header {
        margin-top: 100px;
        padding: 28px 0 22px;
        margin-bottom: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .tour-page-header {
        margin-top: 110px;
        padding: 24px 0 20px;
        margin-bottom: 16px;
    }

}