/* ===== GLOBAL BUS HIRE — CUSTOM OVERRIDES ===== */

/* --- Hero slide-out image polish --- */
.hero-img {
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

/* --- Service card images: fixed aspect ratio --- */
.service-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* --- Service cards: equal height --- */
.service-card {
    display: flex;
    flex-direction: column;
    min-height: 320px;
}
.service-card p {
    flex: 1;
}

/* --- Destination cards on homepage: consistent image height --- */
.destination-img-wrapper {
    overflow: hidden;
}
.destination-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* --- Fleet / bus cards: consistent image + card height --- */
.bus-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.bus-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.bus-card .btn-subtle {
    margin-top: auto;
}

/* --- Country hero images --- */
.country-hero-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
}

/* --- City lifestyle images --- */
.city-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* --- About section image --- */
.about-img {
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
}

/* --- CTA get-started image --- */
.get-started-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
}

/* --- "Why Choose Us" center image --- */
.choose-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* --- Country page city cards in dark section: equal height --- */
.bg-heading .bus-card {
    min-height: 220px;
}

/* --- Service detail hero images --- */
.service-detail-hero {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
}

/* --- Responsive adjustments --- */
@media screen and (max-width: 991px) {
    .hero-img {
        max-width: 100%;
        border-radius: 12px;
    }
    .service-img {
        height: 200px;
    }
    .destination-img {
        height: 180px;
    }
    .bus-card img {
        height: 180px;
    }
    .country-hero-img {
        height: 280px;
    }
    .city-hero-img {
        height: 240px;
    }
    .get-started-img {
        border-radius: 0 0 20px 20px;
        max-height: 300px;
    }
}

@media screen and (max-width: 575px) {
    .service-img {
        height: 180px;
    }
    .destination-img {
        height: 160px;
    }
    .bus-card img {
        height: 160px;
    }
    .country-hero-img {
        height: 200px;
    }
    .city-hero-img {
        height: 180px;
    }
    .service-detail-hero {
        height: 220px;
    }
}

/* ===== DESTINATIONS MEGA-MENU ===== */
.mega-destinations {
    background-color: var(--heading-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.32) !important;
    border: 1px solid rgba(255,255,255,0.07) !important;
    padding: 0 !important;
}

.mega-menu-inner {
    display: flex;
    min-height: 300px;
}

.mega-cities {
    width: 155px;
    flex-shrink: 0;
    padding: 20px 16px 20px 20px;
}

.mega-vdivider {
    width: 1px;
    background-color: rgba(255,255,255,0.09);
    flex-shrink: 0;
}

.mega-regions {
    flex: 1;
    padding: 20px 20px 20px 20px;
    min-width: 0;
}

.mega-section-head {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-subtle);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.mega-city-link {
    display: block;
    color: rgba(255,255,255,0.78) !important;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
    transition: color 0.15s;
}

.mega-city-link:hover {
    color: var(--color-subtle) !important;
}

.mega-region-list {
    width: 165px;
    flex-shrink: 0;
}

.mega-region-btn {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    padding: 7px 11px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.mega-region-btn:hover,
.mega-region-btn.active {
    color: white;
    background-color: rgba(63,30,198,0.38);
}

.mega-region-btn.active {
    font-weight: 600;
}

.mega-country-panels {
    flex: 1;
    min-width: 0;
    min-height: 280px;
}

.mega-country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 6px;
}

.mega-country-link {
    display: block;
    color: rgba(255,255,255,0.62) !important;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 4px;
    transition: color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-country-link:hover {
    color: var(--color-subtle) !important;
}

/* Desktop: fixed-position centered panel */
@media (min-width: 992px) {
    .mega-destinations {
        position: fixed !important;
        top: 65px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: min(1080px, 96vw) !important;
        margin: 0 !important;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Mobile: stacked layout inside offcanvas */
@media (max-width: 991px) {
    .mega-menu-inner {
        flex-direction: column;
    }
    .mega-vdivider {
        width: auto;
        height: 1px;
    }
    .mega-cities,
    .mega-regions {
        width: auto;
    }
    .mega-country-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mega-region-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        width: auto;
        margin-bottom: 10px;
    }
    .mega-region-btn {
        font-size: 12px;
        padding: 5px 10px;
        width: auto;
    }
    .mega-country-panels {
        width: 100%;
        min-height: 0;
    }
}
