/* ===========================================
   Contact Page — Bekaa Air
   =========================================== */

/* ---- Section background ---- */
/* Dark gradient applied globally — replaces the WPBakery background image
   on both desktop and mobile. Set on the section itself so it always
   covers the full height regardless of content. */
body.page-id-29 .mk-page-section:first-of-type {
  background: linear-gradient(
    170deg,
    #1a1714 0%,
    #141210 40%,
    #0f0d0b 100%
  ) !important;
}

body.page-id-29 .mk-page-section:first-of-type .background-layer {
  background-image: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* ---- Form display fixes ---- */
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:first-of-type > .wpb_raw_code,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:first-of-type > .wpb_raw_code > .wpb_wrapper {
  display: block !important;
  height: auto !important;
}

body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:first-of-type > .wpb_raw_code > .wpb_wrapper {
  vertical-align: top !important;
}

body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 {
  display: block !important;
  height: auto !important;
  width: 100% !important;
}

body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 > form,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gform-body,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gform-footer,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gform_fields {
  width: 100% !important;
  max-width: none !important;
}

body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gfield_label,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gform-field-label,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gfield_required,
body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gfield_required_asterisk {
  color: #fff !important;
}

body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 .gform-field-label--type-sub {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ---- Left contact panel ---- */

/* Equal-height columns: turn the WPBakery row wrapper into flex
   so both columns stretch, then vertically centre the left content. */
body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row {
  display: flex !important;
  align-items: stretch !important;
  height: auto !important;
}

body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column {
  float: none !important;
}

body.page-id-29 .mk-page-section:first-of-type .vc_col-sm-4.wpb_column {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: auto !important;
}

body.page-id-29 .theme-content .vc_col-sm-4.wpb_column > .wpb_raw_code,
body.page-id-29 .theme-content .vc_col-sm-4.wpb_column > .wpb_raw_code > .wpb_wrapper {
  width: 100%;
}

body.page-id-29 .theme-content .bekaa-contact-left {
  max-width: 340px;
  color: #fff;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Logo */
body.page-id-29 .theme-content .bekaa-contact-left__logo-link {
  display: inline-block;
  width: 180px;
  margin-bottom: 32px;
}

body.page-id-29 .theme-content .bekaa-contact-left__logo {
  display: block;
  width: 100%;
  height: auto;
}

/* Address block */
body.page-id-29 .theme-content .bekaa-contact-left__meta {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--bekaa-system-font, "Helvetica Neue", Arial, sans-serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
}

/* Hours block */
body.page-id-29 .theme-content .bekaa-contact-left__hours {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--bekaa-system-font, "Helvetica Neue", Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-transform: none;
}

/* Contact links (phone, email, directions) */
body.page-id-29 .theme-content .bekaa-contact-left__links {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

body.page-id-29 .theme-content .bekaa-contact-left__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--bekaa-system-font, "Helvetica Neue", Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

body.page-id-29 .theme-content .bekaa-contact-left__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--bekaa-red, #ec1d25);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  opacity: 1;
}

body.page-id-29 .theme-content .bekaa-contact-left__link:hover,
body.page-id-29 .theme-content .bekaa-contact-left__link:focus-visible {
  color: var(--bekaa-red, #ec1d25);
  text-decoration: none;
}

/* Social icons */
body.page-id-29 .theme-content .bekaa-contact-left__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-top: 0;
}

body.page-id-29 .theme-content .bekaa-contact-left__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

body.page-id-29 .theme-content .bekaa-contact-left__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

body.page-id-29 .theme-content .bekaa-contact-left__social:hover,
body.page-id-29 .theme-content .bekaa-contact-left__social:focus-visible {
  border-color: var(--bekaa-red, #ec1d25);
  background: rgba(236, 29, 37, 0.15);
  color: #fff;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {

  body.page-id-29 .mk-page-section:first-of-type {
    min-height: 0 !important;
  }

  /* Break out of Jupiter's narrow mk-grid container on mobile */
  body.page-id-29 .mk-page-section:first-of-type .page-section-content.mk-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Subtle accent line at the top */
  body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--bekaa-red, #ec1d25);
    border-radius: 2px;
    margin: 0 auto 36px;
  }

  /* Stack columns vertically */
  body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row {
    flex-direction: column !important;
    align-items: center !important;
    padding: 48px 24px 56px !important;
  }

  body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column {
    width: 100% !important;
    max-width: 420px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.page-id-29 .mk-page-section:first-of-type .vc_col-sm-4.wpb_column {
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 40px !important;
    padding-bottom: 40px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Centre left panel content */
  body.page-id-29 .theme-content .bekaa-contact-left {
    max-width: 100%;
    margin: 0;
    text-align: center;
    align-items: center;
  }

  body.page-id-29 .theme-content .bekaa-contact-left__logo-link {
    width: 140px;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-id-29 .theme-content .bekaa-contact-left__meta {
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  body.page-id-29 .theme-content .bekaa-contact-left__hours {
    text-align: center;
    font-size: 13px;
  }

  /* Centre the contact links grid */
  body.page-id-29 .theme-content .bekaa-contact-left__links {
    justify-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  body.page-id-29 .theme-content .bekaa-contact-left__link {
    justify-content: center;
    font-size: 13px;
  }

  /* Centre social icons */
  body.page-id-29 .theme-content .bekaa-contact-left__socials {
    justify-content: center;
  }

  /* Form column full-width & centred */
  body.page-id-29 .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) {
    width: 100% !important;
    max-width: 420px !important;
  }

  body.page-id-29 .theme-content .mk-page-section:first-of-type .mk-padding-wrapper.wpb_row > .wpb_column:nth-of-type(2) > #gform_wrapper_5 {
    padding: 0 !important;
  }

  /* Make the Contact map section a true full-screen panel on mobile */
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive),
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .mk-page-section,
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .page-section-content.page-section-fullwidth,
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .page-section-content.page-section-fullwidth > .mk-padding-wrapper,
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_column.column_container {
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    padding: 0 !important;
  }

  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive,
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive .wpb_wrapper,
  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive .wpb_map_wraper {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
  }

  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive {
    margin-bottom: 0 !important;
  }

  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive .wpb_map_wraper {
    position: relative !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  body.page-id-29 .mk-page-section-wrapper:has(.wpb_gmaps_widget.vc_map_responsive) .wpb_gmaps_widget.vc_map_responsive iframe {
    position: absolute !important;
    inset: 0 !important;
    display: block;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }
}
