/* ============================================================
   custom.css - Cab City (Hero Slider + Header + Booking Form)
   Load AFTER style.css (already linked in header.php)
   ============================================================ */

/* ===================== STICKY HEADER ===================== */
.site-header{
  position: sticky !important;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 14px rgba(7,58,102,.10);
}

/* ===================== HERO SLIDER ===================== */
.hero.hero-slider{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  /* Desktop: full screen */
  min-height: calc(100vh - 130px) !important;
  padding: 70px 0 !important;
  background: var(--primary-blue-dark, #073A66) !important;
}

.hero-slides{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide{
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 6s ease;
  will-change: opacity, transform;
}
.hero-slide.active{
  opacity: 1;
  transform: scale(1);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(7,58,102,.90) 0%, rgba(11,79,138,.72) 55%, rgba(7,58,102,.55) 100%);
}

.hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero.hero-slider .hero-text{ position: relative; z-index: 2; }

/* Slider dots */
.hero-dots{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.hero-dot.active{
  background: var(--accent-orange, #F58220);
  border-color: var(--accent-orange, #F58220);
  width: 26px;
  border-radius: 20px;
}

/* ===================== BOOKING FORM CARD ===================== */
.booking-card{
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(7,58,102,.15);
  padding: 30px 28px;
  margin: -70px auto 50px;   /* hero ke upar overlap card look */
  position: relative;
  z-index: 5;
  max-width: 1050px;
  border-top: 5px solid var(--accent-orange, #F58220);
}

.booking-head{
  text-align: center;
  margin-bottom: 24px;
}
.booking-head h2{
  color: var(--primary-blue-dark, #073A66);
  font-size: 26px;
  margin: 0 0 6px;
}
.booking-head h2 i{
  color: var(--accent-orange, #F58220);
  margin-right: 6px;
}
.booking-head p{
  color: #64748b;
  font-size: 14.5px;
  margin: 0;
}

/* 4-column desktop grid */
.booking-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 18px;
  margin-bottom: 22px;
}

.form-group{
  display: flex;
  flex-direction: column;
}
.form-group label{
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue-dark, #073A66);
  margin-bottom: 7px;
}
.form-group input,
.form-group select{
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #dbe4ee;
  border-radius: 10px;
  font-size: 14.5px;
  font-family: 'Poppins', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23073A66' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus{
  border-color: var(--accent-orange, #F58220);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(245,130,32,.15);
}
.form-group input::placeholder{
  color: #94a3b8;
  font-size: 14px;
}
.form-group input[type="date"],
.form-group input[type="time"]{
  min-height: 48px;
}

/* Submit button */
.bk-submit{
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px !important;
  font-size: 16px !important;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(120deg, #25D366, #1EBE5A) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bk-submit:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
}
.bk-submit i{ font-size: 19px; }

/* Submit status messages */
.bk-msg{
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
.bk-msg.show{ display: block; }
.bk-msg.sending{ background: #FFF4E5; color: #9A5B00; }
.bk-msg.done{ background: #E8F7EE; color: #146C43; }
.btn[disabled]{ opacity: .65; pointer-events: none; }

/* Honeypot - hidden from humans */
.bk-hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* Hamburger animation + menu open states */
.hamburger span{ transition: all .3s ease; }
.hamburger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
body.menu-open{ overflow: hidden; }

.nav-overlay.show{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.mobile-nav.open{
  transform: translateX(0) !important;
  visibility: visible !important;
}

/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 1024px){
  .booking-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOBILE - Compact hero, form turant dikhe (yatayat.in style)
   ============================================================ */
@media (max-width: 768px){

  /* ---------- COMPACT HEADER ---------- */
  .hide-mobile{ display: none !important; }
  .top-bar .container{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .top-contact{
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap !important;
  }
  .top-contact a{ font-size: 12.5px !important; white-space: nowrap; }
  .social-icons{ display: flex !important; gap: 10px; }
  .social-icons a{ font-size: 14px; }

  .navbar{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 8px;
  }
  .navbar .logo{ font-size: 19px !important; }
  .navbar .logo img{ max-height: 34px; }
  .nav-cta .btn{ padding: 8px 13px !important; font-size: 12.5px !important; }

  /* ---------- MINOR / COMPACT HERO ---------- */
  /* Full screen hata diya - ab hero chhota, form turant dikhega */
  .hero.hero-slider{
    min-height: auto !important;
    padding: 24px 0 85px !important;   /* neeche extra space card overlap ke liye */
    display: block !important;
  }

  /* Fonts sab chhote */
  .hero-text .tag{
    font-size: 11px !important;
    padding: 6px 14px !important;
  }
  .hero-text h1{
    font-size: 22px !important;
    line-height: 1.35 !important;
    margin: 10px 0 12px !important;
  }
  .hero-text h1 br{ display: none; }   /* line break hatao, natural wrap */

  /* Paragraph + stats mobile par hide - hero minor rahega */
  .hero-text p{ display: none !important; }
  .hero-stats{ display: none !important; }

  /* Call/WhatsApp - ek compact row */
  .hero-cta{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 !important;
  }
  .hero-cta .btn{
    flex: 1;
    justify-content: center;
    padding: 10px 8px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
  .hero-cta .btn i{ font-size: 13px; }

  /* Dots hide - hero chhota hai, card overlap karega */
  .hero-dots{ display: none !important; }

  /* ---------- BOOKING FORM - hero ke turant niche ---------- */
  .booking-card{
    margin: -55px 14px 40px;
    padding: 20px 16px;
    border-radius: 15px;
  }
  .booking-head{ margin-bottom: 16px; }
  .booking-head h2{ font-size: 19px; }
  .booking-head p{ font-size: 12.5px; }

  .booking-grid{
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }
  .form-group label{ font-size: 12px; margin-bottom: 5px; }
  .form-group input,
  .form-group select{
    padding: 11px 13px;
    font-size: 15px;   /* 15px+ = iOS zoom nahi hoga */
  }
  .form-group input[type="date"],
  .form-group input[type="time"]{ min-height: 44px; }

  .bk-submit{
    padding: 13px 16px !important;
    font-size: 15px !important;
  }
}

/* Extra small phones */
@media (max-width: 380px){
  .hero-text h1{ font-size: 20px !important; }
  .top-contact a span{ font-size: 12px; }
  .nav-cta .btn{ padding: 7px 10px !important; font-size: 12px !important; }
}