/*
 * zibon.css — Zibon Flights Custom Styles
 * Appended after style.css via separate <link> in index.html
 * Contains: video hero, booking form card, mobile split layout,
 *           thank you overlay, responsive tweaks.
 */


/* ─── VIDEO BACKGROUND ──────────────────────────────────────── */

/* Wraps the <video> element, positioned absolute to fill hero */
.zb-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}
.zb-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* show sky/aircraft, not just ground */
}

/* Ensure hero container and content sit above the video */
.hero > .container {
  position: relative;
  z-index: 2;
}


/* ─── BOOKING FORM CARD ──────────────────────────────────────── */

/* White card that floats over the video on desktop */
.zb-form-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-height: 88vh;
  overflow-y: auto;
}

.zb-form-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.zb-form-subtitle {
  font-size: 13px;
  color: #666;
  margin-bottom: 18px;
}

/* Labels inside the card */
.zb-label {
  font-weight: 600;
  font-size: 12px;
  color: #333;
  margin-bottom: 3px;
  display: block;
}

/* Inputs, selects, textarea inside the card */
.zb-input {
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  padding: 9px 12px !important;
  height: auto !important;
  background: #fff !important;
  color: #333 !important;
  transition: border-color 0.2s;
}
.zb-input:focus {
  border-color: #f17945 !important;
  box-shadow: 0 0 0 3px rgba(241,121,69,0.15) !important;
}
.zb-input.is-invalid {
  border-color: #dc3545 !important;
}
.zb-input.is-valid {
  border-color: #198754 !important;
}

/* Submit button */
.zb-submit-btn {
  padding: 13px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  margin-top: 4px;
}


/* ─── DESKTOP LAYOUT (≥992px) ────────────────────────────────── */

@media (min-width: 992px) {
  /* Desktop: hero takes full viewport height */
  .hero {
    min-height: 100vh;
  }
  /* Mobile form section completely hidden on desktop */
  .zb-mobile-form-section {
    display: none !important;
  }
}


/* ─── MOBILE SPLIT LAYOUT (<992px) ──────────────────────────── */

@media (max-width: 991px) {

  /* 1. Shrink hero to a cinematic video strip at the top */
  .hero {
    min-height: 42vh !important;
    max-height: 42vh !important;
    overflow: hidden;
    padding-bottom: 0 !important;
    display: flex;
    align-items: center;
  }

  /* 2. Video fills the strip completely */
  .zb-video-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
  }
  .zb-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }

  /* 3. Hide the desktop form column inside the hero on mobile */
  .zb-desktop-form-col {
    display: none !important;
  }

  /* 4. Keep headline readable in the strip */
  .hero .col-lg-5 {
    padding: 16px 0;
  }
  .hero .heading {
    font-size: clamp(20px, 5vw, 30px) !important;
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 13px !important;
    margin-bottom: 14px !important;
  }

  /* 5. Show the mobile form section */
  .zb-mobile-form-section {
    display: block !important;
  }
}


/* ─── MOBILE FORM SECTION ────────────────────────────────────── */

/* Hidden by default; shown only on mobile via media query above */
.zb-mobile-form-section {
  display: none;
  background: #f4f6f9;
  padding: 40px 0 52px;
}

.zb-mobile-form-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  font-family: "Brygada 1918", sans-serif;
}

.zb-mobile-form-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

/* On mobile, card has lighter shadow (sits on bg, not video) */
@media (max-width: 991px) {
  .zb-mobile-form-section .zb-form-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    max-height: none;
    overflow-y: visible;
  }
}


/* ─── THANK YOU OVERLAY ──────────────────────────────────────── */

.zb-thankyou-overlay {
  display: none;            /* hidden by default */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.zb-thankyou-overlay.zb-show {
  display: flex !important;
}

.zb-thankyou-card {
  background: #fff;
  border-radius: 16px;
  padding: 44px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.zb-thankyou-icon {
  font-size: 52px;
  margin-bottom: 16px;
}
.zb-thankyou-card h2 {
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 12px;
}
.zb-thankyou-card p {
  color: #444;
  margin-bottom: 8px;
}
.zb-wa-btn {
  font-size: 15px !important;
  padding: 13px !important;
  border-radius: 8px !important;
}





/* Fix for alternate class names */
.zb-thankyou-box {
  background: #fff;
  border-radius: 16px;
  padding: 44px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
}

.zb-ty-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.zb-ty-heading {
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 12px;
}

.zb-ty-sub {
  color: #444;
  margin-bottom: 8px;
}

.zb-wa-btn {
  background-color: #25D366 !important;
  color: #fff !important;
  border: none !important;
}

.zb-wa-btn:hover {
  background-color: #1ebe5d !important;
  color: #fff !important;
}

