/* ============================================================
   TOUR INDEX PAGE — RESPONSIVE OVERRIDES
   ------------------------------------------------------------
   Loaded ONLY on tour index page (/tour).
   Desktop unaffected. All rules in max-width media queries.
   Existing CSS files (tour.css, venue.css, event.css, etc.)
   are NOT modified — this file overrides via specificity.
   ------------------------------------------------------------
   Breakpoints:
     lg-tablet  : <=1200px
     tablet     : <=992px
     sm-tablet  : <=768px
     mobile     : <=600px
     sm-mobile  : <=480px
     xs-mobile  : <=375px
   ============================================================ */


/* ============================================================
   SECTION 0: UNIVERSAL GUARDS (mobile/tablet)
   ============================================================ */
@media (max-width: 992px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}


/* ============================================================
   SECTION 1: HERO SECTION (tour-specific)
   ============================================================ */
@media (max-width: 992px) {
    section.hero-section {
        height: auto !important;
        min-height: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .hero-bg-wrap {
        height: 280px !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }

    .hero-bg {
        height: 280px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero-section .hero-container {
        padding-top: 300px !important;
        padding-bottom: 24px !important;
        bottom: auto !important;
        position: static !important;
    }

    .hero-text-tour {
        left: 30px !important;
        top: -10px !important;
        width: auto !important;
        max-width: 420px !important;
        height: auto !important;
        padding: 14px 22px !important;
    }

    .hero-line1-tour {
        font-size: 28px !important;
        top: 8px !important;
    }

    .hero-line2-tour {
        font-size: 34px !important;
        top: 8px !important;
        left: 20px !important;
    }

    .search-wrapper-car {
        margin-top: 0 !important;
    }

    section.hero-section .search-box {
        padding: 85px 22px 26px !important;
        width: 100% !important;
    }

    .stats-row {
        margin-top: 32px !important;
    }
}

@media (max-width: 768px) {
    .hero-bg-wrap {
        height: 240px !important;
        border-radius: 0 !important;
    }

    .hero-bg {
        height: 240px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero-section .hero-container {
        padding-top: 256px !important;
        padding-bottom: 20px !important;
    }

    section.hero-section .search-box {
        padding: 75px 18px 22px !important;
    }

    .hero-text-tour {
        left: 20px !important;
        top: -8px !important;
        max-width: 360px !important;
        padding: 12px 18px !important;
    }

    .hero-line1-tour {
        font-size: 24px !important;
    }

    .hero-line2-tour {
        font-size: 30px !important;
        left: 16px !important;
    }

    .stats-row {
        margin-top: 24px !important;
    }
}

@media (max-width: 600px) {
    .hero-bg-wrap {
        height: 220px !important;
        border-radius: 0 !important;
    }

    .hero-bg {
        height: 220px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero-section .hero-container {
        padding-top: 234px !important;
    }

    section.hero-section .search-box {
        padding: 70px 14px 20px !important;
        border-radius: 16px !important;
    }

    .hero-text-tour {
        left: 16px !important;
        top: -6px !important;
        max-width: 300px !important;
        padding: 10px 14px !important;
    }

    .hero-line1-tour {
        font-size: 20px !important;
    }

    .hero-line2-tour {
        font-size: 24px !important;
        left: 12px !important;
    }
}

@media (max-width: 480px) {
    .hero-bg-wrap {
        height: 200px !important;
        border-radius: 0 !important;
    }

    .hero-bg {
        height: 200px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero-section .hero-container {
        padding-top: 212px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    section.hero-section .search-box {
        padding: 65px 12px 16px !important;
    }

    .hero-text-tour {
        left: 12px !important;
        top: -4px !important;
        max-width: 260px !important;
        padding: 8px 12px !important;
    }

    .hero-line1-tour {
        font-size: 16px !important;
    }

    .hero-line2-tour {
        font-size: 20px !important;
        left: 8px !important;
    }

    .stats-row {
        margin-top: 16px !important;
    }
}

@media (max-width: 375px) {
    .hero-bg-wrap {
        height: 180px !important;
        border-radius: 0 !important;
    }

    .hero-bg {
        height: 180px !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    section.hero-section .hero-container {
        padding-top: 192px !important;
    }

    .hero-line1-tour {
        font-size: 14px !important;
    }

    .hero-line2-tour {
        font-size: 17px !important;
    }
}


/* ============================================================
   SECTION 2: SEARCH TABS
   ============================================================ */
@media (max-width: 600px) {
    .booking-tabs {
        gap: 6px !important;
        overflow-x: auto;
        max-width: calc(100vw - 40px);
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }

    .booking-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .booking-tabs {
        font-size: 11px !important;
    }

    .booking-tabs button,
    .booking-tabs a {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}


/* ============================================================
   SECTION 3: STATS ROW
   ============================================================ */
@media (max-width: 992px) {
    .stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
        width: calc(100% - 40px) !important;
        margin: 24px auto !important;
        padding: 18px 20px !important;
    }

    .stats-box {
        width: auto !important;
        height: auto !important;
        padding: 12px 14px !important;
        gap: 10px !important;
    }

    .stats-image {
        width: 38px !important;
        height: 38px !important;
    }

    .stats-count {
        font-size: 20px !important;
    }

    .stats-text {
        font-size: 11px !important;
    }
}

@media (max-width: 768px) {
    .stats-row {
        margin: 20px auto !important;
        padding: 16px !important;
        gap: 12px !important;
        border-radius: 16px !important;
    }

    .stats-box {
        padding: 10px 12px !important;
        gap: 8px !important;
    }

    .stats-image {
        width: 34px !important;
        height: 34px !important;
    }

    .stats-count {
        font-size: 17px !important;
    }

    .stats-text {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    .stats-row {
        margin: 16px auto !important;
        padding: 14px !important;
        gap: 10px !important;
        width: calc(100% - 32px) !important;
    }

    .stats-box {
        padding: 8px 10px !important;
        gap: 6px !important;
    }

    .stats-image {
        width: 30px !important;
        height: 30px !important;
    }

    .stats-count {
        font-size: 15px !important;
    }

    .stats-text {
        font-size: 9px !important;
    }
}

@media (max-width: 375px) {
    .stats-row {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   SECTION 4: EXPLORE EXPERIENCES — event-card slider (fares-slider)
   Tour-specific card layout with inline min-width: 330px
   ============================================================ */
@media (max-width: 992px) {
    .explore-experiences-section {
        padding: 30px 0 !important;
    }

    .explore-experiences-section .section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .explore-experiences-section .category-filters,
    .explore-experiences-section .category-filters-goa {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        padding-bottom: 4px;
    }

    .explore-experiences-section .category-filters::-webkit-scrollbar,
    .explore-experiences-section .category-filters-goa::-webkit-scrollbar {
        display: none;
    }

    .explore-experiences-section .filter-btn,
    .explore-experiences-section .filter-btn-goa {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .fares-slider {
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .explore-experiences-section .header-title h2 {
        font-size: 26px !important;
    }

    .explore-experiences-section .highlight {
        font-size: 26px !important;
    }

    .fares-slider .event-card {
        min-width: 280px !important;
        max-width: 300px !important;
    }

    .fares-slider {
        gap: 14px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .explore-experiences-section .header-title h2 {
        font-size: 22px !important;
    }

    .explore-experiences-section .highlight {
        font-size: 22px !important;
    }

    .fares-slider .event-card {
        min-width: 260px !important;
        max-width: 280px !important;
        padding: 10px !important;
    }

    .fares-slider .event-card .venue-title {
        font-size: 16px !important;
    }

    .fares-slider .event-card .venue-grid {
        gap: 4px 8px !important;
        font-size: 10.5px !important;
    }

    .fares-slider .event-card .book-btn {
        height: 40px !important;
        font-size: 13px !important;
    }

    .fares-slider {
        gap: 12px !important;
    }
}

@media (max-width: 375px) {
    .fares-slider .event-card {
        min-width: 240px !important;
        max-width: 260px !important;
    }
}


/* ============================================================
   SECTION 5: SECTION HEADERS (shared across all sections)
   ============================================================ */
@media (max-width: 992px) {

    .section-title .title-main,
    .section-title .title-suffix,
    .airline-heading h2 .title-main,
    .airline-heading h2 .title-suffix {
        font-size: 28px !important;
    }

    .section-title .highlight,
    .airline-heading h2 .highlight {
        font-size: 36px !important;
    }

    .airline-nav-buttons button {
        width: 45px !important;
        height: 45px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 768px) {

    .section-header,
    .airline-topbar,
    .deals-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .section-title,
    .airline-heading h2,
    .section-header h2 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: baseline !important;
        gap: 6px !important;
        line-height: 1.2 !important;
    }

    .section-title .title-main,
    .section-title .title-suffix,
    .airline-heading h2 .title-main,
    .airline-heading h2 .title-suffix,
    .section-header h2 {
        font-size: 20px !important;
    }

    .section-title .highlight,
    .airline-heading h2 .highlight,
    .section-header h2 .highlight {
        font-size: 22px !important;
        margin: 0 !important;
        font-style: italic !important;
        font-family: 'Playfair Display', 'Georgia', serif !important;
    }

    .section-title .title-suffix,
    .airline-heading h2 .title-suffix {
        padding-left: 0 !important;
        align-self: auto !important;
    }

    .airline-nav-buttons button {
        width: 40px !important;
        height: 40px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {

    .section-title,
    .airline-heading h2,
    .section-header h2 {
        gap: 4px !important;
    }

    .section-title .title-main,
    .section-title .title-suffix,
    .airline-heading h2 .title-main,
    .airline-heading h2 .title-suffix,
    .section-header h2 {
        font-size: 16px !important;
    }

    .section-title .highlight,
    .airline-heading h2 .highlight,
    .section-header h2 .highlight {
        font-size: 18px !important;
        font-style: italic !important;
        font-family: 'Playfair Display', 'Georgia', serif !important;
    }

    .airline-nav-buttons {
        display: none !important;
    }
}

@media (max-width: 375px) {

    .section-title .highlight,
    .airline-heading h2 .highlight {
        font-size: 21px !important;
    }
}


/* ============================================================
   SECTION 6: CHEAPEST-FARES / EDITOR'S PICK / PACKAGES SECTION
   (same card structure as explore — fares-slider + event-card)
   ============================================================ */
@media (max-width: 992px) {
    section.cheapest-fares {
        padding: 40px 0 !important;
    }

    section.cheapest-fares .section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }
}


/* ============================================================
   SECTION 7: POPULAR DESTINATIONS (city-premium-card)
   ============================================================ */
@media (max-width: 992px) {

    .popular-cities-section .city-premium-card,
    #popularDestinationsSlider .city-premium-card {
        flex: 0 0 380px !important;
        width: 380px !important;
        max-width: 380px !important;
        min-width: 0 !important;
    }

    .city-premium-card img {
        height: 240px !important;
    }
}

@media (max-width: 768px) {

    .popular-cities-section .city-premium-card,
    #popularDestinationsSlider .city-premium-card {
        flex: 0 0 88vw !important;
        width: 88vw !important;
        max-width: 360px !important;
    }

    .city-premium-card img {
        height: 220px !important;
    }

    .city-premium-body {
        padding: 16px !important;
    }

    .city-info-text h3 {
        font-size: 18px !important;
    }

    .city-info-text p {
        font-size: 12px !important;
    }

    .btn-explore-now {
        padding: 9px 18px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 600px) {

    .popular-cities-section .city-premium-card,
    #popularDestinationsSlider .city-premium-card {
        max-width: 340px !important;
    }

    .city-premium-card img {
        height: 200px !important;
    }
}

@media (max-width: 480px) {

    .popular-cities-section .city-premium-card,
    #popularDestinationsSlider .city-premium-card {
        max-width: 320px !important;
    }

    .city-premium-card img {
        height: 180px !important;
    }

    .city-premium-body {
        padding: 14px !important;
    }

    .city-info-text h3 {
        font-size: 16px !important;
    }

    .city-info-text p {
        font-size: 11px !important;
    }

    .btn-explore-now {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}


/* ============================================================
   SECTION 8: PARTNERS (airline-* classes)
   ============================================================ */
@media (max-width: 992px) {
    section.airline-showcase {
        padding: 70px 0 !important;
    }

    .airline-carousel {
        gap: 28px !important;
    }

    .airline-logo-box {
        width: 140px !important;
        height: 110px !important;
    }

    .airline-name-box {
        width: 180px !important;
        height: 90px !important;
    }

    .airline-partner-name {
        font-size: 15px !important;
    }

    .airline-subtitle {
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
    section.airline-showcase {
        padding: 50px 0 !important;
    }

    .airline-carousel-wrapper {
        margin-right: 0 !important;
    }

    .airline-carousel {
        gap: 20px !important;
        padding-left: 16px !important;
    }

    .airline-logo-box {
        width: 120px !important;
        height: 96px !important;
    }

    .airline-name-box {
        width: 160px !important;
        height: 80px !important;
    }

    .airline-partner-name {
        font-size: 14px !important;
    }

    .airline-subtitle {
        font-size: 11px !important;
    }
}

@media (max-width: 600px) {
    .airline-logo-box {
        width: 100px !important;
        height: 80px !important;
    }

    .airline-name-box {
        width: 140px !important;
        height: 70px !important;
    }

    .airline-partner-name {
        font-size: 13px !important;
    }

    .airline-subtitle {
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    section.airline-showcase {
        padding: 40px 0 !important;
    }

    .airline-carousel {
        gap: 14px !important;
        padding-left: 12px !important;
    }

    .airline-logo-box {
        width: 90px !important;
        height: 72px !important;
    }

    .airline-name-box {
        width: 120px !important;
        height: 64px !important;
    }

    .airline-partner-name {
        font-size: 12px !important;
    }

    .airline-subtitle {
        font-size: 9px !important;
    }
}


/* ============================================================
   SECTION 9: WHY-BOOK
   ============================================================ */
@media (max-width: 768px) {
    .why-top {
        gap: 16px !important;
    }

    .why-top h2 {
        font-size: 26px !important;
    }

    .why-features {
        gap: 16px !important;
    }

    .why-card {
        padding: 22px 18px !important;
    }
}

@media (max-width: 480px) {
    .why-top h2 {
        font-size: 22px !important;
    }

    .why-card {
        padding: 18px 16px !important;
    }

    .why-card h3 {
        font-size: 13px !important;
    }

    .why-card p {
        font-size: 11px !important;
    }
}


/* ============================================================
   SECTION 10: TESTIMONIALS
   ============================================================ */
@media (max-width: 991px) {

    .premium-testi-card,
    .premium-testi-card:nth-child(2) {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .premium-testi-card {
        padding: 24px !important;
        min-height: auto !important;
    }

    .premium-testi-card:nth-child(2) {
        min-height: auto !important;
        padding: 28px !important;
    }

    .premium-testi-card h4 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .premium-testi-card p {
        font-size: 13px !important;
    }

    .testi-quote-icon {
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {

    .premium-testi-card,
    .premium-testi-card:nth-child(2) {
        padding: 20px !important;
        border-radius: 24px !important;
    }

    .premium-testi-card h4 {
        font-size: 17px !important;
    }

    .premium-testi-card p {
        font-size: 12px !important;
    }

    .testi-quote-icon {
        font-size: 26px !important;
    }
}


/* ============================================================
   SECTION 11: FAQ
   ============================================================ */
@media (max-width: 992px) {
    .faq-container {
        gap: 28px !important;
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px 18px !important;
        font-size: 14px !important;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 16px !important;
    }

    .faq-toggle {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px 16px !important;
        font-size: 13px !important;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px !important;
        font-size: 12px !important;
    }

    .faq-list .faq-item {
        margin-bottom: 10px !important;
    }
}


/* ============================================================
   SECTION 12: FOOTER
   ============================================================ */
@media (max-width: 768px) {
    .footer-wrapper {
        gap: 32px !important;
    }

    .footer-column h4 {
        font-size: 15px !important;
        margin-bottom: 14px !important;
    }

    .footer-column ul li {
        margin-bottom: 8px !important;
    }

    .footer-column ul li a {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .footer-wrapper {
        gap: 28px !important;
    }

    .footer-column h4 {
        font-size: 14px !important;
    }

    .footer-column ul li a {
        font-size: 12px !important;
    }
}


/* ============================================================
   SECTION 13: TOUCH/SCROLL + SPACING
   ============================================================ */
@media (max-width: 992px) {

    .week-slider,
    .fares-slider,
    #popularDestinationsSlider,
    #explorePlacesSlider,
    #popularInGoaSlider,
    #editorsPickSlider,
    #bestOfMonthSlider {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    .venue-premium-card,
    .city-premium-card,
    .event-card {
        scroll-snap-align: start;
    }

    .section-header,
    .deals-header,
    .airline-topbar {
        margin-bottom: 24px !important;
    }

    .week-slider,
    .fares-slider,
    #popularDestinationsSlider {
        padding: 16px 0 !important;
    }
}

@media (max-width: 768px) {

    .section-header,
    .deals-header,
    .airline-topbar {
        margin-bottom: 18px !important;
    }

    .week-slider,
    .fares-slider {
        padding: 12px 0 !important;
    }

    section.popular-cities-section {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
}

@media (max-width: 480px) {

    .section-header,
    .deals-header,
    .airline-topbar {
        margin-bottom: 14px !important;
    }

    section.popular-cities-section {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
}

/* ============================================================
   GLOBAL MOBILE BORDER RADIUS FIX FOR CARDS
   ============================================================ */
@media (max-width: 768px) {

    .hotel-item,
    .venue-card,
    .event-card,
    .package-card,
    .deals-card,
    .destination-card,
    .listing-card,
    .property-card,
    .explore-card,
    .airline-card {
        border-radius: 14px !important;
        overflow: hidden !important;
    }
}



/* ============================================================
   GLOBAL MOBILE OVERRIDE: HERO BADGE (WEB STYLE)
   Ensures the badge touches the top of the hero image and 
   maintains the stair-step design from desktop.
   ============================================================ */
@media (max-width: 992px) {

    .hero-text-hotel,
    .hero-text-tour,
    .hero-text-event,
    .hero-text-venue,
    .hero-text-boat {
        left: 20px !important;
        top: 0 !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        background-image: none !important;
        /* Explicitly remove tour background image */
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .hotel-badge-line1,
    .hero-line1-tour,
    .hero-line1-event,
    .venue-badge-line1,
    .boat-badge-line1 {
        background: #fff !important;
        border-radius: 0 0 15px 0 !important;
        /* Match Event/Hotel style */
        white-space: nowrap !important;
        width: fit-content !important;
        display: inline-block !important;
        position: static !important;
        padding: 8px 20px !important;
        line-height: 1.2 !important;
        top: auto !important;
    }

    .hotel-badge-line2,
    .hero-line2-tour,
    .hero-line2-event,
    .venue-badge-line2,
    .boat-badge-line2 {
        background: #fff !important;
        border-radius: 0 0 25px 15px !important;
        /* Match Event/Hotel style */
        white-space: nowrap !important;
        width: fit-content !important;
        display: inline-block !important;
        position: static !important;
        padding: 10px 25px !important;
        line-height: 1.2 !important;
        top: auto !important;
        left: 0 !important;
        /* Explicitly fix Tour's left: 34px offset */
        margin-top: 0 !important;
    }

    .hero-text-tour h1,
    .hero-text-event h1 {
        margin: 0 !important;
        line-height: 0 !important;
        /* Match user preferred spacing */
        background: transparent !important;
    }
}


@media (max-width: 576px) {

    .hero-text-hotel,
    .hero-text-tour,
    .hero-text-event {
        left: 10px !important;
    }
}