/*
Theme Name: Travil
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: Travel & Tour Booking Html Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

1. General styles
2. Typography
3. Helpers
4. Preloader
5. Go up button
6. Header and navigation
7. Hero Section
8. About us
9. Services
10. Fun facts
11. Projects
12. Pricing
13. Testimonial
14. CTA
15. Team
16. Video Banner
17. Shop
18. Marquee
19. Blog
20. Footer

Main Style file-> assets/css/main.css 
*/









/* ==========================================================================
   OPTIMIZED TOUR PACKAGE CARD & READABLE BOOK NOW BUTTON
   ========================================================================== */

/* 1. Tall / Double Height Photo Area so Full Flyer Poster is 100% Readable */
.tour-box-items .thumb,
.tour-single .thumb,
.tour-card-item .tour-image,
.tour-box-items-2 .tour-image,
.tour-box-items-6 .tour-image,
.tour-box-items-inner .thumb,
.amazing-tour-items .thumb,
.tour-wrapper-5 .tour-box-items-6 .tour-image {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1.35 !important;
    min-height: 400px !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    background-color: #0f172a !important;
}

.tour-box-items .thumb a,
.tour-single .thumb a,
.tour-card-item .tour-image a,
.tour-box-items-2 .tour-image a,
.tour-box-items-6 .tour-image a,
.tour-box-items-inner .thumb a,
.amazing-tour-items .thumb a,
.tour-wrapper-5 .tour-box-items-6 .tour-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1.35 !important;
}

.tour-box-items .thumb img,
.tour-single .thumb img,
.tour-card-item .tour-image img,
.tour-box-items-2 .tour-image img,
.tour-box-items-6 .tour-image img,
.tour-box-items-inner .thumb img,
.amazing-tour-items .thumb img,
.tour-wrapper-5 .tour-box-items-6 .tour-image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1.35 !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tour-box-items:hover .thumb img,
.tour-card-item:hover .tour-image img,
.tour-box-items-2:hover .tour-image img,
.tour-box-items-6:hover .tour-image img {
    transform: scale(1.03) !important;
}

/* 2. Card Container Polish */
.tour-box-items,
.tour-single,
.tour-card-item,
.tour-box-items-inner,
.amazing-tour-items,
.tour-wrapper-5 .tour-box-items-6 {
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

.tour-box-items:hover,
.tour-card-item:hover,
.amazing-tour-items:hover,
.tour-wrapper-5 .tour-box-items-6:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.tour-box-items .content,
.tour-card-item .tour-content,
.amazing-tour-items .content,
.tour-wrapper-5 .tour-box-items-6 .tour-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    padding: 20px !important;
}

/* 3. Compact, High-Visibility, Clearly Readable "Book Now" Button */
.tour-box-items .theme-btn,
.tour-single .theme-btn,
.tour-card-item .theme-btn,
.amazing-tour-items .theme-btn,
.tour-box-items .tour-content .theme-btn,
.package-book-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 18px !important;
    min-height: 44px !important;
    max-height: 46px !important;
    background-color: var(--primary-color, #4d40ca) !important;
    background: #4d40ca !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(77, 64, 202, 0.28) !important;
    transition: all 0.25s ease !important;
    gap: 8px !important;
    border: none !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.tour-box-items .theme-btn span,
.tour-single .theme-btn span,
.tour-card-item .theme-btn span,
.amazing-tour-items .theme-btn span,
.package-book-btn span {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-transform: capitalize !important;
}

.tour-box-items .theme-btn i,
.tour-single .theme-btn i,
.tour-card-item .theme-btn i,
.amazing-tour-items .theme-btn i,
.package-book-btn i {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    line-height: 28px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 6px !important;
    position: static !important;
    transition: all 0.2s ease !important;
}

.tour-box-items .theme-btn:hover,
.tour-single .theme-btn:hover,
.tour-card-item .theme-btn:hover,
.package-book-btn:hover {
    background-color: #3b30a8 !important;
    background: #3b30a8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(77, 64, 202, 0.4) !important;
}

.tour-box-items .theme-btn:hover i,
.tour-single .theme-btn:hover i,
.tour-card-item .theme-btn:hover i,
.package-book-btn:hover i {
    transform: translateX(3px) !important;
    background-color: #ffffff !important;
    color: #4d40ca !important;
}

/* 4. Mobile Screen Optimizations */
@media (max-width: 767.98px) {
    .tour-box-items .thumb,
    .tour-single .thumb,
    .tour-card-item .tour-image,
    .tour-box-items-2 .tour-image,
    .tour-box-items-6 .tour-image,
    .amazing-tour-items .thumb {
        aspect-ratio: 1 / 1.35 !important;
        min-height: 440px !important;
        width: 100% !important;
        border-top-left-radius: 16px !important;
        border-top-right-radius: 16px !important;
    }
    
    .tour-box-items .content,
    .tour-card-item .tour-content,
    .amazing-tour-items .content {
        padding: 16px !important;
    }
    
    .tour-box-items .content h4,
    .tour-card-item .tour-content h4 {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .tour-box-items .theme-btn,
    .tour-single .theme-btn,
    .tour-card-item .theme-btn,
    .amazing-tour-items .theme-btn {
        padding: 8px 14px !important;
        min-height: 40px !important;
        font-size: 14px !important;
    }

    .tour-box-items .theme-btn span,
    .tour-single .theme-btn span,
    .tour-card-item .theme-btn span {
        font-size: 14px !important;
    }

    .tour-box-items .theme-btn i,
    .tour-single .theme-btn i,
    .tour-card-item .theme-btn i {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        line-height: 24px !important;
        font-size: 11px !important;
    }
}

/* ==========================================================
   CHECKOUT PAGE POLISH - NO SCROLLBARS & MOBILE RESPONSIVE
   ========================================================== */
.payment-container-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

.payment-container-list .item {
    margin-bottom: 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
}

.payment-container-list .item:hover {
    border-color: #4d40ca !important;
    background: #f8faff !important;
}

#bank_details_expansion {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
}

.checkout-page.paymentPage {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

.checkout-page.paymentPage .row.g-4 {
    --bs-gutter-y: 1.25rem !important;
    --bs-gutter-x: 1.25rem !important;
}

.payment-choice-card {
    transition: all 0.2s ease-in-out !important;
}

.payment-choice-card:hover {
    transform: translateY(-2px);
}

.booking-submission-section .sidebar-widget-area {
    margin-top: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
}

.checkout-summary {
    border-top: 1px solid #edf2f7 !important;
    padding-top: 15px !important;
    margin-top: 15px !important;
}

@media (max-width: 991px) {
    .checkout-page.paymentPage {
        padding-top: 15px !important;
        padding-bottom: 30px !important;
    }
    .booking-submission-section {
        margin-top: 20px !important;
    }
}

@media (max-width: 768px) {
    .payment-choice-card {
        padding: 14px !important;
    }
    .payment-choice-card h4, .payment-choice-card .fs-4 {
        font-size: 1.25rem !important;
    }
    #bank_details_expansion {
        padding: 16px !important;
    }
    .sidebar-widget-area {
        padding: 15px !important;
    }
}

/* ==========================================================================
   MOBILE CHECKOUT ORDERING & ENLARGED CONFIRM BUTTON
   ========================================================================== */
.confirmBtn,
.payment-btn-group .theme-btn,
.payment-btn-group .confirmBtn {
    padding: 16px 28px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    border-radius: 12px !important;
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 20px rgba(77, 64, 202, 0.35) !important;
    background: linear-gradient(135deg, #4d40ca 0%, #3b30a8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.confirmBtn:hover,
.payment-btn-group .theme-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(77, 64, 202, 0.5) !important;
    color: #ffffff !important;
}

.bookingPayment {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    margin-top: 15px !important;
}

@media (max-width: 991px) {
    .checkout-page.paymentPage .row.g-4 {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .checkout-page.paymentPage .col-lg-8 {
        order: 1 !important;
        width: 100% !important;
    }
    
    .checkout-page.paymentPage .col-lg-4 {
        order: 2 !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
    
    .payment-section .side-bar {
        order: 3 !important;
        margin-top: 15px !important;
    }
    
    .confirmBtn,
    .payment-btn-group .theme-btn {
        font-size: 19px !important;
        min-height: 60px !important;
        padding: 18px 20px !important;
    }
}
