﻿

.tour-detail {
    max-width: 1200px;
    margin: 40px auto;
    color: #333;
}

/* HEADER */
.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex-wrap: wrap;
}

    .tour-header h1 {
        font-size: 30px;
        margin: 0 0 8px 0;
        font-weight:bold;
    }

.lang-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

    .lang-tags .tag {
        background: #e7f1ff;
        padding: 2px 8px;
        border-radius: 8px;
        font-size: 12px;
        color: #007bff;
    }
.meta span {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
}

.rating {
    color: #f39c12;
    font-weight: 600;
    margin-top: 5px;
}

.right {
    text-align: right;
}
.tour-price {
   font-size: 50px; /* Tăng từ 25px lên 50px (x2) */
}

    .tour-price .current {
        color: #e74c3c;
        font-weight: bold;
    }

    .tour-price .old {
        text-decoration: line-through;
        color: #999;
        font-size: 26px; /* Tăng từ 13px lên 26px (x2) */
    }
.btn-book {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-book:hover {
        background: #1e8449;
    }

/* BODY */
.tour-body {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.left-side {
    flex: 3;
}

.right-side {
    flex: 1;
    margin-left: auto; /* Đẩy sang phải */
    text-align: right;
}

/* SLIDER */
.photo-gallery {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
}

    .photo-gallery h3 {
        font-size: 28px;
        font-weight: bold;
    }

/* --- Slider wrapper --- */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* --- Swipe container --- */
.slides.swipe-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0; /* Bỏ gap để tính toán chính xác */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.slides.swipe-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* --- Slide items --- */
.slides.swipe-scroll .slide-item {
    flex: 0 0 100%;
    min-width: 100%;
    height: 450px;
    width: 100%;
    border-radius: 10px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
}

.slides.swipe-scroll .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Video slide */
.slides.swipe-scroll .slide-item .video-slide {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slides.swipe-scroll .slide-item .video-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Prev / Next buttons --- */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    background: rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.slide-btn:hover:not(:disabled) {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

    .slide-btn.prev {
        left: 10px;
    }

    .slide-btn.next {
        right: 10px;
    }

/* --- Dots --- */
.dots {
    text-align: center;
    margin-top: 10px;
}

    .dots span {
        width: 10px;
        height: 10px;
        display: inline-block;
        margin: 0 3px;
        cursor: pointer;
        border-radius: 50%;
        background: #ccc;
    }

        .dots span.active {
            background: #F25912;
        }



/* SECTIONS */
.section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
    margin-top: 25px;
}

    .section h3 {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        color: #222;
    }
    .highlight-section{

    }
    .highlight-section ul {
        list-style: none;
   
    }

        .highlight-section li {
            position: relative;
            list-style: none;
            margin-bottom: 10px;
            padding-left: 35px; /* chừa khoảng cho icon tròn */
        }

            .highlight-section li::before {
/*                content: "✔";*/
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                background: #F25912;
                color: #fff;
                font-size: 12px;
                display: none;
                align-items: center;
                justify-content: center;
                width: 22px;
                height: 22px;
                border-radius: 50%;
                box-shadow: 0 0 0 2px #fff inset; /* tùy chọn: viền trong trắng nhẹ */
            }
/* RIGHT SIDE */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.guide-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

    .guide-info img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

.btn-chat {
    background: #2980b9;
    color: #fff;
    border: none;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
}

.review {
    display: flex;
    gap: 14px;
    padding: 12px 10px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.avatar-circle {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.review-box {
    flex: 1;
}

.review-header strong {
    font-size: 16px;
    color: #333;
}

.review-text {
    margin: 8px 0 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    position: relative;
    padding-left: 20px;
}

    .review-text::before {
        content: "❝";
        position: absolute;
        left: 0;
        top: 0;
        font-size: 20px;
        color: #f39c12;
        opacity: 0.7;
    }


/* MODAL */
.modal {
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    object-fit: contain;
}

.modal .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
/* Popup overlay */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

/* Modal khuyến mãi */
.promo-modal {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    max-width: 400px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

    .promo-modal img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
/* Nút đóng */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
}
/* RESPONSIVE */
@media (max-width: 992px) {
    .tour-body {
        flex-direction: column;
    }

    .right-side {
        position: static;
    }
}

@media (max-width: 600px) {
    .tour-price {
        font-size: 36px; /* Responsive cho mobile */
    }
    
    .tour-price .old {
        font-size: 18px;
    }
    
    .slides.swipe-scroll img,
    .slides.swipe-scroll .slide-item {
        height: 280px;
    }
    
    .slides.swipe-scroll .video-slide {
        height: 280px;
    }
    
    .btn-book {
        width: 100%;
        margin-top: 8px;
    }
    .slides.swipe-scroll img {
     
        height: 50%;
        width: 100%;
        
    }
    .left-side,
    .right-side {
        flex: unset; /* huỷ flex */
        width: 100%; /* full width */
        margin: 0;
        text-align: left; /* hoặc center tuỳ UI */
    }
}

.no-gallery {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}
