/* --- STYLES CHUNG --- */
.scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
    -ms-overflow-style: none;  
}
.scroll-container::-webkit-scrollbar {
    display: none; 
}

.scroll-container > .d-flex {
    min-width: 100%;
}

/* --- STYLES CHO PHẦN ĐỊA ĐIỂM --- */
.destination-card {
    flex-grow: 1 !important;
    flex-basis: 0 !important;
    min-width: 140px; 
    scroll-snap-align: start; 
    transition: all 0.25s ease;
    text-decoration: none !important;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05) !important;
}

.dest-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.dest-title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.dest-subtitle {
    font-size: 12px;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- STYLES CHO PHẦN TRẢI NGHIỆM KHÔNG THỂ BỎ LỠ --- */
.section-title {
    font-size: 24px;
    color: #1c2930;
    margin-bottom: 20px;
}

.experience-category-box {
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.bg-purple-light { background-color: #f5f0ff; }
.bg-orange-light { background-color: #fff4ed; }

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.category-title {
    font-size: 18px;
    color: #1c2930;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.category-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: white;
    font-size: 12px;
}
.icon-purple { background-color: #7b4cf6; }
.icon-orange { background-color: #ff6b00; }

.view-all-link {
    font-size: 14px;
    color: #1c2930;
    text-decoration: none;
}
.view-all-link:hover { text-decoration: underline; }

.tour-card {
    flex-grow: 1 !important;
    flex-basis: 0 !important;
    min-width: 200px; 
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    border: 1px solid #f0f0f0;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tour-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
}

.tour-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.tour-title {
    font-size: 14px;
    color: #1c2930;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-rating {
    font-size: 12px;
    color: #f5a623;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.rating-count {
    color: #687176;
}

.tour-tag {
    font-size: 11px;
    color: #d97706; 
    margin-bottom: 8px;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
    width: fit-content;
}

.tour-price {
    font-size: 16px;
    color: #1c2930;
    margin-top: auto; 
}

/* --- TỪ HERO --- */
/* Spacing System & Variables */
:root {
    --hotel-primary: #0f294d;
    --hotel-accent-orange: #ff5b35;
    --hotel-accent-orange-hover: #e04b27;
    --hotel-text-dark: #222222;
    --hotel-text-muted: #666666;
    --hotel-border-light: #ececec;
    --hotel-bg-light: #f8f9fa;
    --hotel-transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --hotel-shadow-soft: 0 12px 40px rgba(15, 41, 77, 0.08);
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){
    -webkit-box-shadow: -10px 0 0 #ff5b35 !important;
    box-shadow: -10px 0 0 #ff5b35 !important;
}

.hotel-hero-section {
    background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    min-height: 520px;
    padding-top: 100px;
    padding-bottom: 140px;
    border-bottom: none;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 41, 77, 0.82) 0%, rgba(15, 41, 77, 0.45) 100%);
    z-index: 1;
}

.hotel-badge-accent {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 100px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Outfit', 'DM Sans', system-ui, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.hotel-search-section {
    margin-top: -175px;
    padding-bottom: 40px;
}

.search-box-wrapper {
    background: #ffffff !important;
    border: 1px solid var(--hotel-border-light) !important;
    box-shadow: var(--hotel-shadow-soft) !important;
    border-radius: 24px !important;
    transition: var(--hotel-transition-smooth);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .hotel-hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 100px;
    }
    .hotel-search-section {
        margin-top: -60px;
    }
    .search-box-wrapper {
        border-radius: 20px !important;
        padding: 16px !important;
    }
}

/* --- TỪ FEATURED HOTELS --- */
.hotel-name-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- TỪ WHY CHOOSE US --- */
.feature-box {
    transition: var(--hotel-transition);
    border: 1px solid transparent !important;
}
.feature-box:hover {
    transform: translateY(-4px);
    background-color: #fff !important;
    border-color: var(--hotel-border-hover) !important;
    box-shadow: var(--hotel-shadow-lg) !important;
}
.bg-accent-light { 
    background-color: var(--hotel-primary-subtle) !important; 
    transition: var(--hotel-transition);
}
.text-accent {
    color: var(--hotel-primary) !important;
}
.feature-box:hover .bg-accent-light {
    background-color: var(--hotel-accent-subtle) !important;
}
.feature-box:hover .text-accent {
    color: var(--hotel-accent) !important;
}

/* --- TỪ REVIEWS --- */
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
}
.italic-desc {
    font-style: italic;
    line-height: 1.6;
}

/* --- TỪ POPULAR DESTINATIONS --- */
.dest-card:hover .transition-img {
    transform: scale(1.1);
}
.dest-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* --- TỪ HOTEL COLLECTIONS --- */
.text-primary-hover:hover {
    color: var(--hotel-accent) !important;
}

/* --- TỪ INLINE TRONG INDEX & FAQ --- */
.tour-location { font-size: 13px; color: #687176; }
.tour-title { font-size: 15px; }
.tour-badge-gray { background-color: #f5f5f5; color: #687176; font-weight: normal; border-radius: 4px; padding: 4px 6px; }
.tour-status { font-size: 14px; color: #687176; }
.tour-price { font-size: 18px !important; margin-top: auto; }
.tour-price-prefix { font-size: 13px; font-weight: normal; color: #687176; margin-right: 4px; }
.tour-price-currency { font-size: 14px; text-decoration: underline; }

.faq-section { background-color: transparent; }
.faq-container { max-width: 900px; }
.faq-title { font-size: 22px; color: #333; }
.faq-box { border: 1px solid #eaeaea; border-radius: 12px; padding: 0; background-color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.faq-accordion-item { border-bottom: 1px solid #eaeaea; background: transparent; }
.faq-accordion-item:last-child { border: none; }
.faq-accordion-button { font-family: inherit; font-size: 15px; font-weight: 500; color: #333; background: transparent; box-shadow: none; }
.faq-last-btn { border-bottom-left-radius: 12px !important; border-bottom-right-radius: 12px !important; }
.faq-accordion-body { line-height: 1.6; }

/* --- BENTO GRID DESTINATIONS STYLES --- */
.favorite-destinations-bento-wrapper {
    margin-top: 48px;
}

.bento-section {
    margin-bottom: 56px;
}

.bento-section-header .section-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a2b49;
    letter-spacing: -0.01em;
}

.bento-section-header .section-subtitle {
    font-size: 15px;
    color: #687176;
    margin-top: 4px;
}

.bento-grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 210px;
    gap: 16px;
}

/* Card General Styling */
.bento-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #1a2b49;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.bento-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-bg {
    transform: scale(1.05);
}

.bento-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.bento-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.bento-card-subtitle {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Domestic Section (8 Items Bento Geometry) */
.bento-grid-count-8 .bento-item-1 {
    grid-column: 1 / span 7;
    grid-row: 1 / span 1;
}

.bento-grid-count-8 .bento-item-2 {
    grid-column: 8 / span 5;
    grid-row: 1 / span 2;
}

.bento-grid-count-8 .bento-item-3 {
    grid-column: 1 / span 3;
    grid-row: 2 / span 1;
}

.bento-grid-count-8 .bento-item-4 {
    grid-column: 4 / span 4;
    grid-row: 2 / span 1;
}

.bento-grid-count-8 .bento-item-5 {
    grid-column: 1 / span 5;
    grid-row: 3 / span 2;
}

.bento-grid-count-8 .bento-item-6 {
    grid-column: 6 / span 7;
    grid-row: 3 / span 1;
}

.bento-grid-count-8 .bento-item-7 {
    grid-column: 6 / span 3;
    grid-row: 4 / span 1;
}

.bento-grid-count-8 .bento-item-8 {
    grid-column: 9 / span 4;
    grid-row: 4 / span 1;
}

/* International Section (6 Items Bento Geometry) */
.bento-grid-count-6 .bento-item-1 {
    grid-column: 1 / span 8;
    grid-row: 1 / span 1;
}

.bento-grid-count-6 .bento-item-2 {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
}

.bento-grid-count-6 .bento-item-3 {
    grid-column: 1 / span 4;
    grid-row: 2 / span 1;
}

.bento-grid-count-6 .bento-item-4 {
    grid-column: 5 / span 4;
    grid-row: 2 / span 1;
}

.bento-grid-count-6 .bento-item-5 {
    grid-column: 1 / span 6;
    grid-row: 3 / span 1;
}

.bento-grid-count-6 .bento-item-6 {
    grid-column: 7 / span 6;
    grid-row: 3 / span 1;
}

/* Global Mobile Overflow Containment */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.hotel-homepage-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Responsive Grid Fallbacks */
@media (max-width: 991px) {
    .bento-grid-layout {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 200px !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .bento-grid-layout .bento-card {
        grid-column: auto / span 1 !important;
        grid-row: auto / span 1 !important;
    }
}

@media (max-width: 575px) {
    .bento-grid-layout {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 180px !important;
    }

    .bento-grid-layout .bento-card {
        grid-column: auto / span 1 !important;
        grid-row: auto / span 1 !important;
    }
}


