/* =============================================================
   mobile-fix.css  -  BABA DEEP SINGH JI CABS SERVICES
   Place at: /theme/css/mobile-fix.css
   Loads LAST. Only touches mobile (max-width: 991px).
============================================================= */

/* ── Prevent horizontal scroll ──────────────────────────── */
html, body { overflow-x: hidden; }
.boxed_wrapper { overflow-x: hidden; }


/* ============================================================
   HEADER  ( <= 991px )
   
   Layout we want on mobile:
   ┌─────────────────────────────────────────┐
   │  [LOGO]          [+91 828…]  [Book Taxi]│  <- dark bar
   ├─────────────────────────────────────────┤
   │  [☰ Hamburger]                          │  <- nav bar
   └─────────────────────────────────────────┘
   
   We HIDE:  .toggle-box (redundant middle bar)
             .header-upper.auto-hidden (desktop bar)
             .menu-right-content (social icons in nav)
             desktop .navbar-collapse
============================================================= */

@media (max-width: 991px) {

  /* ── 1. Hide desktop-only elements ── */
  .header-upper.auto-hidden    { display: none !important; }
  .toggle-box                  { display: none !important; }
  .header-lower .menu-right-content { display: none !important; }
  .header-lower .collapse.navbar-collapse { display: none !important; }
  .sticky-header               { display: none !important; }

  /* ── 2. Top bar: Logo left, Phone + Book right ── */
  .page-header-mobile-info {
    background: #1a1a1a;
    display: block;
    width: 100%;
    display: none !important;
  }

  .page-header-mobile-info .page-header-mobile-info-content .header-upper {
    padding: 0;
    background: #1a1a1a;
  }

  .page-header-mobile-info .upper-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 14px !important;
    float: none !important;
  }

  /* Kill floats */
  .page-header-mobile-info .logo-box.pull-left,
  .page-header-mobile-info ul.info-list.pull-right {
    float: none !important;
  }

  /* Logo */
  .page-header-mobile-info .logo-box { flex-shrink: 0; }
  .page-header-mobile-info .logo-box figure { margin: 0; }
  .page-header-mobile-info .logo-box img { height: 42px; width: auto; }

  /* Info list: phone + book */
  .page-header-mobile-info ul.info-list {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
  }

  /* Hide email item */
  .page-header-mobile-info ul.info-list li.d-xl-block { display: none !important; }

  /* Phone number item */
  .page-header-mobile-info ul.info-list li i { display: none !important; }
  .page-header-mobile-info ul.info-list li p { display: none !important; }
  .page-header-mobile-info ul.info-list li h6 { margin: 0 !important; }
  .page-header-mobile-info ul.info-list li h6 a {
    color: #f0c030 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap;
  }

  /* Book a Taxi button */
  .page-header-mobile-info ul.info-list li.btn-box { display: block !important; }
  .page-header-mobile-info ul.info-list li.btn-box .theme-btn {
    font-size: 11px !important;
    padding: 7px 12px !important;
    white-space: nowrap;
  }

  /* ── 3. Nav bar: hamburger left, nothing right ── */
  .header-lower {
    background: #2c2c2c !important;
  }

  /* .header-lower .container-fluid {
    padding: 0 14px !important;
  } */

  .header-lower .outer-box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 46px !important;
    padding: 0 !important;
    float: none !important;
  }

  .header-lower .menu-area {
    float: none !important;
  }

  /* Hamburger — 3 x <i class="fas fa-bars"> */
  /* Hide the glyph text, render each <i> as a CSS bar */
  .mobile-nav-toggler {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    cursor: pointer;
    padding: 12px 0;
  }

  .mobile-nav-toggler i {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #fff !important;
    font-size: 0 !important;
    border-radius: 2px !important;
  }
}

/* Tiny phones */
@media (max-width: 400px) {
  .page-header-mobile-info ul.info-list li h6 a { font-size: 11px !important; }
  .page-header-mobile-info ul.info-list li.btn-box .theme-btn { font-size: 10px !important; padding: 6px 9px !important; }
  .page-header-mobile-info .logo-box img { height: 36px !important; }
}


/* ============================================================
   PAGE-TITLE BANNER  ( <= 767px )
============================================================= */

@media (max-width: 767px) {
  section.page-title { padding: 70px 0 30px !important; }
  section.page-title h1 { font-size: 22px !important; }
}


/* ============================================================
   FLEET CARDS  ( <= 767px )
   col-sm-6 already gives 2 per row — just fix internals
============================================================= */

@media (max-width: 767px) {
  .shop-block { margin-bottom: 20px; }
  .shop-block-one .image-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .shop-block-one .lower-content { padding: 12px !important; }
  .shop-block-one .lower-content h6 { font-size: 13px !important; line-height: 1.4; margin-bottom: 10px !important; }
  .shop-block-one .lower-content .btn-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .shop-block-one .lower-content .btn-box a {
    width: 100%;
    text-align: center;
    font-size: 12px !important;
    padding: 8px 6px !important;
    display: block;
  }
}

@media (max-width: 420px) {
  .shop-block { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
}


/* ============================================================
   SELF-DRIVE REQUIREMENTS BOX
============================================================= */

@media (max-width: 767px) {
  div[style*="background: #1d3557"] { padding: 20px 15px !important; }
  div[style*="background: #1d3557"] .col-md-4 {
    width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; margin-bottom: 16px;
  }
}


/* ============================================================
   WHY TRAVEL WITH US  (.work-block)
============================================================= */

@media (max-width: 480px) {
  .work-block-one .inner-box { padding: 15px 8px !important; }
  .work-block-one .inner-box h4 { font-size: 12px !important; }
  .work-block-one .inner-box p { font-size: 11px !important; }
}


/* ============================================================
   FOOTER
============================================================= */

@media (max-width: 767px) {
  .footer-bottom .bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
  .footer-bottom .copyright.pull-left,
  .footer-bottom .copyright.pull-right {
    float: none !important;
    width: 100%;
    text-align: center;
  }
  .footer-bottom .copyright p { font-size: 12px; margin: 0; }
}


/* ============================================================
   FLOATING BUTTONS (WhatsApp + Call)
============================================================= */

@media (max-width: 767px) {
  .contact-whatsapp { width: 44px !important; bottom: 80px !important; left: 10px !important; }
  .btn-sonar { width: 46px !important; height: 46px !important; line-height: 42px !important; left: 10px !important; bottom: 10px !important; }
  .btn-sonar img { width: 22px !important; height: 22px !important; }
}


/* ============================================================
   SECTION TITLES
============================================================= */

@media (max-width: 767px) {
  .sec-title-two h2, .sec-title-three h2 { font-size: 22px !important; line-height: 1.35 !important; }
}
