/* ============================
   TONE MÀU CHÍNH
   Xanh lá (#009431) – Vàng du lịch (#ffb800)
   ============================ */

body {
    background: #ffffff;
    font-family: "Segoe UI", sans-serif;
    color: #333;
}

section {
    padding: 30px 0;
}

.section-title {
    font-weight: 800;
    text-align: center;
    margin-bottom: 35px;
    color: #009431;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ============================
   BANNER
============================ */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edit-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.edit-icon {
    width: 70px;
    height: 70px;
    opacity: 0.85;
    cursor: pointer;
    transition: 0.25s;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.edit-icon:hover {
    opacity: 1;
}

.carousel-caption h2 {
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 30;
}

/* ============================
   FEATURE OVERLAP
============================ */
/* ============================
   WRAPPER CHỨA BANNER + FEATURE
============================ */
.banner-feature-wrapper {
    position: relative;
    margin-bottom: 140px; /* chừa chỗ cho phần bên dưới */
}

/* ============================
   BANNER
============================ */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

/* ============================
   FEATURE OVERLAP – ĐÈ 50%
============================ */
.feature-overlap {
    position: absolute;
    bottom: -90px;          /* đẩy xuống nửa dưới */
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
}

/* CARD */
.feature-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
    transition: 0.35s;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.16);
}

/* ============================
   BLOG
   ============================ */

.blog-section {
    padding: 60px 0;
}

/* Card */
.blog-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Ảnh */
.blog-thumb {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

/* Mô tả 2 dòng */
.blog-desc {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;

    display: -webkit-box;
    -webkit-line-clamp: 2;   
    line-clamp: 2;/* 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;        /* Giữ đều chiều cao */
}



/* ============================
   TOUR CARD
   ============================ */
.tour-card {
    height: 420px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: 0.35s;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9fbe9;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);
}

.tour-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Badge làm đẹp hơn */
.badge {
    padding: 7px 12px !important;
    font-size: 0.8rem;
    border-radius: 8px !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ============================
   CONTENT TRONG TOUR CARD
   ============================ */
.tour-title {
    font-size: 17px;
    font-weight: 800;
    color: #004d1f;
}

.tour-desc {
    font-size: 14px;
    color: #666;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* CHỈ 2 DÒNG */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ============================
   BUTTON XEM CHI TIẾT
   ============================ */
.btn-view {
    background: linear-gradient(135deg, #ffb800, #ff9900);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    border: none;
    transition: 0.3s;
}

.btn-view:hover {
    background: linear-gradient(135deg, #ffa200, #ff8c00);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

/* ============================
   TIN TỨC
   ============================ */

#mediaCarousel img {
    border: 4px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

#mediaCarousel p {
    font-size: 15px;
}

#mediaCarousel .btn {
    background: #d40000;
    border-radius: 6px;
    transition: 0.3s;
}

#mediaCarousel .btn:hover {
    background: #b30000;
    transform: translateY(-2px);
}

/* ============================
   VÉ MÁY BAY
   ============================ */

section[style*="background:#e0ffea"] {
    border-top: 3px solid #009431;
    border-bottom: 3px solid #009431;
}

section[style*="background:#e0ffea"] h4 {
    color: #006622;
}

section[style*="background:#e0ffea"] ul li {
    font-size: 16px;
    margin-bottom: 6px;
}

/* Button đặt vé */
section[style*="background:#e0ffea"] .btn {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #00a63d, #007c2d) !important;
    border-radius: 10px;
    padding: 10px 20px;
}

section[style*='background:#e0ffea'] .btn:hover {
    background: linear-gradient(135deg, #009432, #00691f) !important;
    transform: translateY(-2px);
}

/* ============================
   ẢNH NHỎ
   ============================ */
.photo-box img {
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.25s;
}

.photo-box img:hover {
    transform: scale(1.05);
}

.flash-sale {
    border-radius: 8px;
    border: none;
}


/* Photo Gallery */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 260px;
}

/* Ảnh fill toàn khung */
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;  /* mượt khi zoom */
}

/* CHỈ phóng to ảnh */
.photo-card:hover img {
    transform: scale(1.08);   /* zoom vừa phải – có thể tăng lên 1.12 */
}

/* Overlay */
.overlay-text {
    position: absolute;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    pointer-events: none;     /* để không cản hover ảnh */
}

.top-overlay .overlay-text { top: 0; }
.bottom-overlay .overlay-text { bottom: 0; }




/* ============================
   FIX CARD TRÁI + PHẢI
============================ */
.tour-big {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);

    height: 380px;                  /* FIX QUAN TRỌNG: card 2 bên luôn bằng nhau */
    display: flex;
    flex-direction: column;
}

/* Ảnh card */
.tour-big-img {
    height: 55%;                    /* Giảm từ 70% để nội dung bên dưới không tràn */
    width: 100%;
    object-fit: cover;
}

/* Nội dung */
.tour-big-content {
    padding: 15px;
    flex: 1;

    display: flex;
    flex-direction: column;
}

/* Đoạn mô tả */
.tour-big-content p {
    flex: 1;                        /* Đẩy nút xuống + auto co giãn */
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    line-clamp: 2;         /* Rút gọn 2 dòng chống tràn */
    -webkit-box-orient: vertical;
}

/* Nút xem chi tiết */
.btn-view {
    width: auto;
    white-space: nowrap;
}


/* ==== RIGHT TALL TOUR ==== */
.tour-vertical {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.tour-vertical-img {
    height: 60%;
    width: 100%;
    object-fit: cover;
}

.tour-vertical-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* ==== SMALL 3 CARDS BELOW ==== */
.tour-small {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    padding: 10px;
    height: 250px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.tour-small img {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    object-fit: cover;
}
.tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;        /* QUAN TRỌNG – chặn ảnh tràn */
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.tour-card img {
    width: 100%;
    height: 250px;            /* Chiều cao ổn định */
    object-fit: cover;        /* Không méo hình, cắt đẹp */
    display: block;
}
.tour-card .btn-view {
    margin-top: auto;    /* CHỐT HẠ */
}
.tour-card .card-body,
.tour-card .tour-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* FLight*/
/* ===== FLIGHT SERVICE SECTION ===== */
.flight-service-section {
    width: 100%;
    padding: 60px 0;
    background: #ffffff;
}

.flight-service-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: #eaf3ec;              /* nền sáng */
    border-radius: 40px;
    overflow: hidden;
}

/* LEFT SIDE */
.flight-service-left {
    background: #084c47;              /* xanh đậm */
    color: white;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flight-service-left h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.flight-service-left p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.flight-btn {
    display: inline-block;
    background: white;
    color: #084c47;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: 0.2s;
}

.flight-btn:hover {
    background: #dff0e3;
}

/* RIGHT SIDE */
.flight-service-right {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.airline-logos {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.airline-logos img {
    width: 150px;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: 0.2s;
}

.airline-logos img:hover {
    transform: scale(1.05);
}

/*Chọn*/
/* =========================
   CHOOSE TOUR SECTION
========================= */

.choose-tour-section {
    background: #f7f7f7;
}

/* LEFT IMAGE */
.choose-tour-image {
    height: 520px;
    overflow: hidden;
}

.choose-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT CONTENT */
.choose-tour-content {
    background: #eaf3ec;
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choose-subtitle {
    
    color: #ff5722;
    font-size: 20px;
    margin-bottom: 10px;
}

.choose-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.choose-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 600px;
}

.more-link {
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

/* BOX ICONS */
.choose-boxes {
    display: flex;
    gap: 30px;
   /* margin-top: 40px;*/
}

.choose-box {
    background: white;
    border-radius: 16px;
    padding: 25px;
    width: 160px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.choose-box:hover {
    transform: translateY(-6px);
}

.choose-box img {
    width: 55px;
    margin-bottom: 12px;
}

.choose-box h5 {
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .choose-tour-content {
        padding: 50px 30px;
    }

    .choose-boxes {
        flex-wrap: wrap;
        justify-content: center;
    }

    .choose-tour-image {
        height: 350px;
    }
}

/* Footer */
.footer {
    background: #009431;
    padding: 40px 0;
    color: white;
}

.footer a {
    color: #ffd66b;
}
