@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    width: 100%;
    background: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
                 'Apple Color Emoji', 'Segoe UI Emoji',
                 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* ================= TEXT ================= */
h1 {
    font-size: 48px;
    line-height: 60px;
}

h2 {
    font-size: 36px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

a {
    text-decoration: none;
    color: #333;
}

li {
    list-style: none;
}

/* ================= SECTION ================= */
.section-p1 {
    padding: 40px 80px;
}

.section-m1 {
    margin: 40px 0;
}

/* ================= BUTTON ================= */
button.normal {
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    background: #088178;
    color: white;
    cursor: pointer;
    font-weight: 600;
}

button.white {
    padding: 10px 20px;
    border: 1px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
}

/* ================= HEADER ================= */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 35px;
    background: #e3e6f2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo {
    width: 150px;
}

/* ================= NAVBAR ================= */
#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navbar li {
    list-style: none;
    position: relative;
}

#navbar li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    transition: 0.3s;
    white-space: nowrap;
}

#navbar li a:hover {
    color: #088178;
}

#navbar li a.active {
    color: #088178;
}

#navbar li a.active::after,
#navbar li a:hover::after {
    content: "";
    width: 30%;
    height: 2px;
    background: #088178;
    position: absolute;
    bottom: -6px;
    left: 0;
}

/* ================= HERO ================= */
#hero {
    background-image: url('/Style/image/7-1627962410-grecia.jpg');
    height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    background-color: #088178;
}

#hero h4 { color: white; margin-bottom: 10px; }
#hero h2 { color: white; }
#hero h1 { color: #33cc99; }
#hero p  { color: white; margin: 10px 0; }

#hero button {
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #088178;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    width: fit-content;
}

#hero button:hover {
    background-color: #065f5a;
}

/* ================= FEATURE ================= */
#feature {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 80px;
    background: #f9f9f9;
}

.fe-box {
    flex: 1 1 30%;
    text-align: center;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: white;
    transition: 0.3s;
}

.fe-box img {
    width: 60px;
    margin-bottom: 10px;
}

.fe-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ================= TOUR CARD ================= */
#product1 {
    text-align: center;
}

#product1 .pro-container {
    display: flex;
    justify-content: flex-start;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.pro {
    flex: 0 0 calc(25% - 20px);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    transition: 0.3s;
    background: white;
}

.pro img {
    width: 100%;
    border-radius: 10px;
}

.pro:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.des {
    text-align: left;
    padding: 10px 0;
}

    .des h5 {
        font-size: 17px;
        font-weight: 600;
        line-height: 1.4;
        margin: 8px 0;
        color: #333;
    }

    .des span {
        font-size: 14px;
        color: #777;
    }

    .des p {
        font-size: 14px !important;
        color: #555;
        margin: 4px 0 !important;
        line-height: 1.5;
    }

    .des h4 {
        color: #e53e3e;
        font-size: 18px;
        font-weight: 700;
        margin-top: 10px;
    }

/* ================= BANNER ================= */
#banner {
    height: 40vh;
    background: url('/Style/image/banner/b2.jpg');
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

/* ================= NEWSLETTER ================= */
#newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 80px;
    background: #041e42;
    color: white;
}

#newsletter input {
    height: 40px;
    padding: 10px;
    border: none;
    width: 250px;
}

#newsletter button {
    height: 40px;
    padding: 0 20px;
    background: #088178;
    border: none;
    color: white;
}

/* ================= FOOTER ================= */
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 80px;
    background: #f4f4f4;
}

footer .col {
    display: flex;
    flex-direction: column;
}

footer h4 {
    margin-bottom: 10px;
}

footer a {
    text-decoration: none;
    color: #333;
    margin-bottom: 5px;
}

footer a:hover {
    color: #088178;
}

footer .copyright {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* ================= TOUR DETAIL ================= */
#tour-detail {
    padding: 60px 80px;
}

.tour-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.tour-image { flex: 1; }

.main-img {
    width: 100%;
    border-radius: 10px;
}

.gallery {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.gallery img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
}

.tour-info { flex: 1; }

.tour-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.tour-meta p { margin: 5px 0; }

.price {
    color: #e60023;
    font-size: 30px;
    margin: 20px 0;
}

.btn-book {
    background: #ff5722;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.btn-book:hover { background: #e64a19; }

.tour-highlight {
    padding: 40px 80px;
    background: #f9f9f9;
}

.tour-highlight ul { margin-top: 20px; }
.tour-highlight li { margin-bottom: 8px; }

.tour-schedule { padding: 40px 80px; }

.day-box {
    border-left: 4px solid #088178;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* ================= LỊCH SỬ ĐẶT TOUR ================= */
.lichsu-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

    .lichsu-container h2 {
        color: #1a1a2e;
        margin-bottom: 28px;
        font-size: 28px;
        font-weight: 600;
        letter-spacing: -0.5px;
    }

        .lichsu-container h2 i {
            color: #088178;
            margin-right: 8px;
        }

/* --- Thống kê --- */
.thongke-row {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.thongke-card {
    flex: 1;
    min-width: 150px;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    transition: transform 0.2s;
}

    .thongke-card:hover {
        transform: translateY(-3px);
    }

    .thongke-card .so {
        font-size: 34px;
        font-weight: 600;
        line-height: 1;
    }

    .thongke-card .nhan {
        font-size: 13px;
        color: #666;
        margin-top: 6px;
        font-weight: 600;
    }

    .thongke-card.cho {
        background: #fffbeb;
        border-left: 5px solid #f59e0b;
    }

        .thongke-card.cho .so {
            color: #d97706;
        }

    .thongke-card.duyet {
        background: #ecfdf5;
        border-left: 5px solid #10b981;
    }

        .thongke-card.duyet .so {
            color: #059669;
        }

    .thongke-card.tuchoi {
        background: #fff1f2;
        border-left: 5px solid #f43f5e;
    }

        .thongke-card.tuchoi .so {
            color: #e11d48;
        }

    .thongke-card.total {
        background: #eff6ff;
        border-left: 5px solid #3b82f6;
    }

        .thongke-card.total .so {
            color: #2563eb;
        }

/* --- Filter --- */
.filter-row {
    margin-bottom: 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-filter {
    padding: 9px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    font-family: inherit;
}

    .btn-filter.all {
        border: none;
        background: #1a1a2e;
        color: #fff;
    }

    .btn-filter.cho {
        border: 2px solid #f59e0b;
        background: #fff;
        color: #d97706;
    }

    .btn-filter.duyet {
        border: 2px solid #10b981;
        background: #fff;
        color: #059669;
    }

    .btn-filter.tuchoi {
        border: 2px solid #f43f5e;
        background: #fff;
        color: #e11d48;
    }

    .btn-filter.active {
        background: #1a1a2e !important;
        color: #fff !important;
        border-color: #1a1a2e !important;
    }

    .btn-filter:hover {
        opacity: 0.85;
        transform: translateY(-1px);
    }

/* --- Empty --- */
.empty-msg {
    text-align: center;
    padding: 80px 0;
    color: #aaa;
}

    .empty-msg i {
        font-size: 64px;
        color: #ddd;
    }

    .empty-msg p {
        margin-top: 16px;
        font-size: 18px;
        color: #999;
    }

    .empty-msg a {
        color: #088178;
        font-weight: 600;
    }

/* --- DON ROW CARD: 1 card = 1 hàng ngang --- */
.don-row-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    margin-bottom: 22px;
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.25s, transform 0.25s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

    .don-row-card:hover {
        box-shadow: 0 12px 36px rgba(0,0,0,0.11);
        transform: translateY(-3px);
    }

/* Ảnh bên trái */
.don-row-img {
    position: relative;
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
}

    .don-row-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .don-row-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0,0,0,0.15), transparent);
        pointer-events: none;
    }

.don-row-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 1;
    letter-spacing: 0.2px;
}

/* Nội dung bên phải */
.don-row-body {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    background: #fff;
}

.don-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.don-row-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1.45;
    margin: 0;
    flex: 1;
    letter-spacing: -0.2px;
}

.don-row-price {
    font-size: 20px;
    font-weight: 600;
    color: #e53e3e;
    white-space: nowrap;
    background: #fdf0ee;
    padding: 4px 14px;
    border-radius: 8px;
}

/* Meta info */
.don-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 32px;
}

    .don-row-meta span {
        font-size: 13.5px;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 7px;
        font-weight: 600;
    }

    .don-row-meta i {
        color: #6366f1;
        width: 15px;
        font-size: 12px;
        flex-shrink: 0;
    }

/* Footer */
.don-row-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
}

.tt-badge {
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.tt-paid {
    background: #ecfdf5;
    color: #065f46;
}

.tt-unpaid {
    background: #fffbeb;
    color: #92400e;
}

.don-row-ghichu {
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.don-row-btn-sua {
    padding: 10px 26px;
    background: linear-gradient(135deg, #088178, #0aa89d);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(8,129,120,0.25);
    letter-spacing: 0.2px;
}

    .don-row-btn-sua:hover {
        background: linear-gradient(135deg, #065f5a, #088178);
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(8,129,120,0.35);
    }

/* Responsive mobile */
@media (max-width: 700px) {
    .don-row-card {
        flex-direction: column;
    }

    .don-row-img {
        width: 100%;
        min-width: unset;
        height: 210px;
    }

        .don-row-img::after {
            background: linear-gradient(to bottom, rgba(0,0,0,0.15), transparent);
        }

    .don-row-body {
        padding: 18px 20px;
    }

    .don-row-top {
        flex-direction: column;
        gap: 8px;
    }

    .don-row-price {
        font-size: 17px;
        align-self: flex-start;
    }

    .don-row-btn-sua {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .thongke-card .so {
        font-size: 28px;
    }
}
/* ================= MEGA MENU ================= */
.dropdown-mega,
.dropdown-mega * {
    box-sizing: border-box;
}
/*quan trong*/
.dropdown-mega {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 95vw;
    background: #fff;
    border-top: 3px solid #088178;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    flex-direction: row;
    max-height: 500px;
    overflow: hidden;
}

.has-dropdown.open > .dropdown-mega { display: flex; }
.has-dropdown { position: relative; }

.mega-left {
    width: 200px;
    min-width: 200px;
    background: #f5f5f5;
    border-right: 1px solid #eee;
    padding: 10px 0;
    flex-shrink: 0;
}

.mega-left-item {
    padding: 12px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    cursor: pointer;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid transparent;
    list-style: none !important;
    position: static !important;
    transition: 0.2s;
}

.mega-left-item:hover,
.mega-left-item.active {
    color: #088178 !important;
    background: #fff !important;
    border-left: 3px solid #088178 !important;
}

.mega-right {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
    max-height: 500px;
}

.mega-right-panel          { display: none !important; }
.mega-right-panel.active   { display: block !important; }

.mega-right-cols {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

.mega-col { min-width: 130px; flex: 1; }

.mega-group-title {
    color: #088178 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-bottom: 2px solid #cce7d0;
    padding-bottom: 6px;
    margin-bottom: 8px;
    display: block;
}

.mega-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-col ul li {
    padding: 0 !important;
    position: static !important;
    list-style: none !important;
}

.mega-col ul li a {
    display: block !important;
    padding: 5px 6px !important;
    color: #444 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    border-radius: 4px;
    transition: 0.15s;
}

.mega-col ul li a:hover {
    color: #088178 !important;
    background: #f0faf8 !important;
    padding-left: 10px !important;
}

#dropdown-nguoidung a:hover {
    background: #f0faf8 !important;
    color: #088178 !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
    .don-card           { flex-direction: column; }
    .don-card img       { width: 100%; height: 200px; }
    .section-p1         { padding: 20px; }
    #hero               { padding: 0 20px; }
    #feature            { padding: 20px; }
}