@charset "UTF-8";
/* CSS Document */

/* Preserve logo aspect ratio */
header #logo img.logo_normal,
header #logo img.logo_sticky {
    width: auto;
    height: 34px;
}

/* Center top-level nav items on desktop */
@media only screen and (min-width: 992px) {
    header #logo img.logo_normal,
    header #logo img.logo_sticky { height: 48px; }
    .main-menu > ul { 
        display: flex; 
        justify-content: flex-end; 
        align-items: center;
        width: 100%;
    }
    nav.col-9 { display: flex; align-items: center; justify-content: flex-end; }
}

/* Ensure mobile logo inside off-canvas keeps ratio */
#header_menu img { 
    width: auto; 
    height: 34px; 
    max-width: 100%; 
}

/* Make videos match responsive photo behavior */
.gallery-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
}

/* Uniform gallery image thumbnails to match video thumbnails */
.img_container_gallery img.img-fluid {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center center;
}

/* Responsive text wrapping for Revolution Slider titles */
/* Desktop and tablet - keep text on one line */
@media only screen and (min-width: 769px) {
    .tp-caption.NotGeneric-Title {
        white-space: nowrap !important;
        max-width: none !important;
    }
}

/* Tablet - allow wrapping but with proper spacing */
@media only screen and (max-width: 768px) and (min-width: 481px) {
    .tp-caption.NotGeneric-Title {
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    
    /* Adjust subtitle position to avoid collision */
    .tp-caption.NotGeneric-SubTitle {
        margin-top: 15px !important;
    }
}

/* Mobile - allow wrapping with more spacing */
@media only screen and (max-width: 480px) {
    .tp-caption.NotGeneric-Title {
        white-space: normal !important;
        word-wrap: break-word;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    
    /* Adjust subtitle position to avoid collision */
    .tp-caption.NotGeneric-SubTitle {
        margin-top: 20px !important;
    }
}

/* Uniform video placeholder to match image cards */
.video-container {
    position: relative;
    width: 100%;
    /* 3:2 aspect ratio -> 66.666% */
    padding-top: 66.6667%;
    overflow: hidden;
    background: #000;
}
.video-container > video.gallery-video,
.video-container > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price container for tour cards - vertical layout */
.short_info .price_container {
    float: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.short_info .price_container .price {
    float: none;
    margin-bottom: 2px;
}

.short_info .price_container .normal_price_list {
    display: block;
    text-decoration: line-through;
    font-size: 14px;
    color: #999;
    margin-top: 0;
    margin-bottom: 0;
}

/* Keep contact details inside the original sidebar and footer columns. */
.box_style_2 a,
.box_style_4 a,
#email_footer {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Match card sizes without clipping longer titles or changing the v1 layout. */
#top-tours-row > [class*="col-"] {
    display: flex;
}

#top-tours-row .tour_container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#top-tours-row .img_container {
    flex-shrink: 0;
    aspect-ratio: 800 / 533;
}

#top-tours-row .img_container a {
    display: block;
    height: 100%;
}

#top-tours-row .img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#top-tours-row .tour_title {
    flex: 1;
}

#top-tours-row .tour_title h3 {
    min-height: 2.4em;
}

.strip_all_tour_list .img_list {
    height: 220px;
}

.strip_all_tour_list .img_list img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price_list .price-placeholder {
    visibility: hidden;
}

@media only screen and (min-width: 768px) {
    .strip_all_tour_list .price_list {
        font-size: clamp(26px, 2.75vw, 38px);
    }
}

@media only screen and (max-width: 767px) {
    .strip_all_tour_list .tour_list_desc h3 {
        min-height: 2.4em;
    }

    .strip_all_tour_list .tour_list_desc p {
        min-height: 4.2em;
    }
}

/* Floating Facebook Messenger inquiry button */
.messenger-chat {
    position: fixed;
    right: 25px;
    bottom: 88px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #0866ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(8, 102, 255, 0.3);
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.messenger-chat:hover,
.messenger-chat:focus {
    background: #0756d6;
    color: #fff;
    box-shadow: 0 8px 24px rgba(8, 102, 255, 0.4);
    transform: translateY(-2px);
}

.messenger-chat i {
    font-size: 22px;
}

@media only screen and (max-width: 480px) {
    .messenger-chat {
        right: 23px;
        bottom: 86px;
        width: 50px;
        min-height: 50px;
        justify-content: center;
        padding: 0;
    }

    .messenger-chat span {
        display: none;
    }
}

