/* ============================================================
   JENI TRAVELS – MOBILE APP DESIGN
   ============================================================ */

/* ============================================================
     LOGO SIZE FIX
   ============================================================ */
/* ==========================
   Desktop (992px and above)
========================== */
.site-logo {
    height: 150px;
    width: auto;
    display: block;
}

/* ==========================
   Tablet (577px - 991px)
========================== */
@media (min-width: 577px) and (max-width: 1199px) {
    .site-logo {
        height: 100px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ==========================
   Mobile (576px and below)
========================== */
@media (max-width: 576px) {
    .site-logo {
        height: 70px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ==========================
   Very Small Phones
========================== */
@media (max-width: 400px) {
    .site-logo {
        height: 60px !important;
    }
}

/* ============================================================
   MOBILE APP-LIKE BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-top: 1px solid #efefef;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.10);
    padding: 0;
    height: 65px;
}

.mobile-bottom-nav .nav-items {
    display: flex;
    align-items: stretch;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-bottom-nav .nav-items .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    padding: 6px 4px;
    color: #bbb;
    border: none;
    background: none;
}

.mobile-bottom-nav .nav-items .nav-item:hover,
.mobile-bottom-nav .nav-items .nav-item.active {
    color: #0d99ff;
}

.mobile-bottom-nav .nav-items .nav-item .nav-icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.mobile-bottom-nav .nav-items .nav-item:hover .nav-icon,
.mobile-bottom-nav .nav-items .nav-item.active .nav-icon {
    transform: translateY(-2px);
}

.mobile-bottom-nav .nav-items .nav-item .nav-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1;
}

.mobile-bottom-nav .nav-items .nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #0d99ff;
    border-radius: 0 0 4px 4px;
}

/* Center highlight button (Search) */
.mobile-bottom-nav .nav-items .nav-item.nav-center-btn {
    position: relative;
    top: -14px;
}

.mobile-bottom-nav .nav-items .nav-item.nav-center-btn .nav-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d99ff, #0060cc);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(13, 153, 255, 0.45);
    color: #fff;
    font-size: 22px;
    margin-bottom: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-bottom-nav .nav-items .nav-item.nav-center-btn:hover .nav-icon-wrap {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(13, 153, 255, 0.55);
}

.mobile-bottom-nav .nav-items .nav-item.nav-center-btn .nav-label {
    color: #0d99ff;
    font-weight: 700;
}

/* ============================================================
   MOBILE APP GLOBAL STYLES (< 991px)
   ============================================================ */
@media (max-width: 991px) {

    /* Show bottom nav */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Body padding for bottom nav */
    body {
        padding-bottom: 65px;
        background: #f5f7fa;
    }

    /* ---- HEADER: App-style top bar ---- */
    .header-main-area {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #ffffff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .header-main-area .header {
        padding: 6px 0;
    }

    /* Hide desktop nav menu text links */
    .header .menu--wrap,
    .header .menu-list-wrapper,
    .header .main-menu {
        display: none !important;
    }

    /* Hide sign-in/dashboard button (replaced by bottom nav) */
    .header .loin-btn--wrap {
        display: none !important;
    }


    /* Hide hamburger menu and language selector on mobile */
    .header .ham__menu,
    .header .login-lng {
        display: none !important;
    }

    /* Header wrapper: logo left, icons right */
    .header-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between !important;
    }

    .header-menu-wrapper {
        position: relative;
        left: auto;
        transform: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* ---- BREADCRUMB: fix title overflow on small screens ---- */
    .breadcrumb {
        padding: 80px 0px 30px 0px !important;
    }

    .breadcrumb--title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        word-break: break-word;
        overflow-wrap: break-word;
        padding: 0 8px;
    }

    .breadcrumb--list {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 13px;
    }

    /* ---- PAGE CONTENT: prevent overlap with sticky header ---- */
    .breadcrumb--wrapper {
        text-align: center;
    }

    /* ---- GENERAL: prevent horizontal overflow ---- */
    body {
        overflow-x: hidden;
    }
}

/* ============================================================
   MOBILE APP-LIKE TOUR DETAILS & BOOKING UI
   ============================================================ */

/* Colors */
.text-orange { color: #ff7a28 !important; }
.bg-orange { background-color: #ff7a28 !important; }
.bg-orange-light { background-color: #fff0e5 !important; }
.bg-light-gray { background-color: #f8f9fa !important; }

/* Lists & Timeline */
.mobile-inc-exc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-inc-exc-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #4a5568;
}

/* Timeline */
.mobile-timeline {
    position: relative;
}
.mobile-timeline .timeline-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}
.mobile-timeline .timeline-item::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background-color: #fff0e5;
}
.mobile-timeline .timeline-item:last-child::after {
    display: none;
}
.timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
    flex-shrink: 0;
}
.timeline-content {
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
    width: 100%;
}
.timeline-item:last-child .timeline-content {
    border-bottom: none;
}

/* Highlights */
.mobile-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

/* Included Timeline */
.mobile-included-timeline {
    position: relative;
}
.mobile-included-timeline .included-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 20px;
    align-items: center;
}
.mobile-included-timeline .included-item::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #fff0e5;
}
.mobile-included-timeline .included-item:last-child::after {
    display: none;
}
.included-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 2;
    flex-shrink: 0;
}
.included-content {
    font-weight: 500;
}

/* Guest Qty Controls */
.qty-controls {
    background: #f8f9fa;
    border-radius: 50px;
    padding: 4px 8px;
}
.btn-qty {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #4a5568;
}
.btn-qty.qty-plus {
    background: #ff7a28;
    color: white;
    border-color: #ff7a28;
}

/* Mobile Booking Overlay */
@media (max-width: 991px) {
    .mobile-booking-overlay {
        position: fixed !important;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100%;
        background-color: #f8f9fa;
        z-index: 1050;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        padding-top: 16px;
        padding-bottom: 80px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    }
    .mobile-booking-overlay.active {
        left: 0;
    }
    .mobile-booking-content-card {
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .mobile-booking-content-card form > .product--info__item,
    .mobile-booking-content-card form > .guest-qty-wrap {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
    .mobile-booking-header {
        padding: 0 16px;
    }
    .mobile-guest-inputs-row {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    }
}
