/*
CTC Separate Stylesheet
Updated: 2025-10-10 20:31:23
*/
.right-tour-head .tour-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 2px solid #ccc;
    padding: 20px;
    font-size: 14px;
    background-color: #fff;
}
.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img{
    object-fit: fill !important;
}
.single-tour .tour-meta strong {
    color: #fa3e3e;
    font-size: 17px;
}

/* Tour Gallery Slider Styles */
.tour-gallery-slider {
    margin: 40px 0;
}

.tour-gallery-slider h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    border-left: 4px solid #ff6b6b;
    padding-left: 15px;
}

.gallery-container {
    display: flex;
    gap: 00px;
    height: 500px;
}

/* Thumbnail Gallery - Left Side */
.thumbnail-gallery {
    width: 155px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding-right: 10px;
}

.thumbnail-gallery::-webkit-scrollbar {
    width: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.thumbnail-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover::after {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: #ff6b6b;
}

.thumbnail-item.active::after {
    opacity: 0;
}

.thumbnail-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* Main Gallery - Right Side */
.main-gallery {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gallery-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Image Caption */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 30px 20px 20px;
    font-size: 1rem;
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: #ff6b6b;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Gallery Counter */
.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    z-index: 10;
}

.current-slide {
    font-weight: bold;
    color: #ff6b6b;
}

.tour-content-header {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

.hotline-contact a {
    text-decoration: none;
    color: red;
    font-weight: 500;
}

.hotline-contact span {
    color: #3c91e0;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column-reverse !important;
        height: auto;
    }

    .thumbnail-gallery {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        padding-bottom: 10px;
        gap: 0px;
    }

    .thumbnail-item {
        min-width: 35px;
        flex-shrink: 0;
        width: 50px;
    }

    .thumbnail-item img {
        height: 35px;
    }

    .main-gallery {
        height: 400px;
        width: 100% !important;
    }
    .gallery-container{
        height:250px;
        width: 100% !important;
        overflow: hidden;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-slide {
        left: 10px;
    }

    .next-slide {
        right: 10px;
    }

    .gallery-counter {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .tour-content-header{
        grid-template-columns: 1fr;
    }
    .right-tour-head {
        width: 100% !important;
        overflow: hidden;
    }
    .footer-widget-area-inner  p {
        margin: 0px;
        padding: 0px;
        line-height: 20px !important;
    }
    .footer-widget-area-inner .widget-area .widget {
        margin: 0px !important;
        padding: 0px;
    }
    .tour-title{
        padding:15px 15px !important;
    }
    .related-tours-grid,.video-single{
        grid-template-columns: 1fr !important;
    }
    .main-tour{
        grid-template-columns:1fr !important;
    }
    .tour-sidebar{
        display: none;
    }
    .tour-image{
        height:auto  !important;
    }
}

.gallery-counter {
    display: none;
}

.main-tour {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.related-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.related-tour-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-tour-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.related-tour-item a {
    text-decoration: none;
}

.related-tour-item h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
    min-height: 40px;
    line-height: 1.4;
}

.tour-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.tour-image {
    width: 100%;
    height: 185px;
    overflow: hidden;
    position: relative;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tour-item:hover .tour-image img {
    transform: scale(1.1);
}

.tour-content {
    padding: 15px;
}

.tour-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #333;
    min-height: 40px;
    line-height: 1.4;
}

.tour-meta {
    font-size: 13px;
}

.tour-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tour-meta-row:last-child {
    border-bottom: none;
}

.tour-meta-row .label {
    color: #666;
}

.tour-meta-row .value {
    color: #333;
    font-weight: 500;
}

.tour-meta-row .price {
    color: #E74C3C;
    font-weight: bold;
    font-size: 16px;
}

.tour-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.tour-title {
    background: linear-gradient(90deg, #4A90E2, #4A90E2);
    color: white;
    padding: 15px 60px;
    display: inline-block;
    border-radius: 30px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
}

.tour-title:before, .tour-title:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #4A90E2;
    border-radius: 50%;
}

.tour-title:before {
    left: -50px;
}

.tour-title:after {
    right: -50px;
}

.tour-description h2 {
    text-align: center;
    text-transform: uppercase;
    position: relative;
    width: 310px !important;
    display: block;
    line-height: 62px;
    background: #ff3031;
    margin: 0 auto 5px;
    color: #fff;
}

.tour-description h2::before,.tour-description h2::after {
    content: '';
}

.tour-description h2::before {
    background-image: url(image/single-tour-bg.png);
    width: 135px;
    height: 90px;
    position: absolute;
    left: -128px;
    background-repeat: no-repeat;
    background-size: cover;
    top: -10px;
}

.tour-description h2::after {
    background-image: url(image/single-tour-bg.png);
    width: 135px;
    height: 90px;
    position: absolute;
    right: -128px;
    background-repeat: no-repeat;
    background-size: cover;
    top: -10px;
    background-position-x: -138px;
}
.tour-content h2:after, .tour-content h2:before {
    display: none !important;
}
.tour-content h4,.tour-content h2 {
    display: block;
    width: 100% !important;
    border-bottom: 1px solid #269fe5;
    color: #0f93d7;
    background: none !important;
    text-align: left !important;
    line-height: 30px;
    font-size: 20px;
}

.tour-categories {
    display: flex;
    gap: 20px;
}

.tour-category-sidebar {
    flex: 3;
}
.tour-category-list {
    flex: 7;
}
.tour-list .tour-item {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr 2fr;
    border-radius: 0px;
}

.tour-list .tour-image {
    flex-basis: 40%;
    overflow: hidden;
    display: flex;
    height: 100%;
    border-radius: 0px;
}

.tour-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-item .tour-details {
    padding: 10px 20px;
}

.single-tour div#primary {
    margin-top: 10px;
}
.diem-tham-quan ul li:before {
    content: counter(item-counter);
    position: absolute;
    top: -2px;
    left: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 19px;
    color: #fff;
    background: #0098DB none;
    border-radius: 50%;
}
.diem-tham-quan ul li {
    counter-increment: item-counter;
    position: relative;
    padding: 0 0 0 37px;
    font-size: 14px;
    line-height: 19px;
    margin: 10px 0 0;
}

.diem-tham-quan ul {
    list-style: none;
    margin: 0;
    padding: 0px 10px 10px;
}

.diem-tham-quan {
    background-color: #fff;
    counter-reset: item-counter;
    border: 1px solid #ccc;
}

.diem-tham-quan h3 {
    background: #ff3535;
    color: #fff;
    padding: 10px;
}
.video-single {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}
ul#primary-menu li {
    padding: 0px 8px;
}
.home li#menu-item-40 .sub-menu li {
    padding: 0px;
}
.effect-wow{
  animation-name: vietdu;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
@media (max-width: 768px) {
    .tour-categories {
        flex-direction: column;
    }

    .tour-category-sidebar,
    .tour-category-list {
        flex: 1 1 100%;
    }
}
@keyframes vietdu {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    10%, 20% {
        -webkit-transform: scale(0.9) rotate(-3deg);
        -ms-transform: scale(0.9) rotate(-3deg);
        transform: scale(0.9) rotate(-3deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale(1.1) rotate(3deg);
        -ms-transform: scale(1.1) rotate(3deg);
        transform: scale(1.1) rotate(3deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale(1.1) rotate(-3deg);
        -ms-transform: scale(1.1) rotate(-3deg);
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        -webkit-transform: scale(1) rotate(0);
        -ms-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0);
    }
  }
  @keyframes vietdu-pulse {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
  }