/* ============================================================
   Site polish / mobile-friendliness pass
   Loaded after style.css so these rules win on equal specificity.
   ============================================================ */

/* 1. Fixed navbar: make it solid instead of ~82% transparent so page
      content doesn't visually bleed through the header text while
      scrolling (was readable only over the dark hero, unreadable
      everywhere else). */
.mainmenu .navbar {
  background: #171c1f !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

/* 2. Prevent the Tawk.to chat bubble/iframe from covering the open
      mobile nav menu (it renders above everything by default). */
body.navbar-dropdown-open iframe[title="Chat widget"] {
  display: none !important;
}

/* 2b. Tawk.to's proactive "We Are Here!" greeting bubble (#message-preview)
       pops up over whatever content happens to be scrolled behind it,
       covering trip-card images/titles with a close (X) button sitting
       on top of unrelated content. The actual chat icon lives in a
       separate #min-widget container and is unaffected by this. */
#message-preview {
  display: none !important;
}

/* 3. Restore the footer social icons. The Socicon webfont files the
      theme's CSS references (public/fonts/socicon.*) are missing from
      this build, so the icons render as blank circles. Font Awesome
      Brands is already loaded site-wide, so draw the same glyphs from
      that instead. */
.social-row .socicon::before {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400;
}
.social-row .socicon-facebook::before  { content: "\f39e" !important; }
.social-row .socicon-instagram::before { content: "\f16d" !important; }
.social-row .socicon-youtube::before   { content: "\f167" !important; }
.social-row .socicon-twitter::before,
.social-row .socicon-x::before         { content: "\f099" !important; }
.social-row .socicon-linkedin::before  { content: "\f0e1" !important; }
.social-row .socicon-pinterest::before { content: "\f231" !important; }
.social-row .socicon-whatsapp::before  { content: "\f232" !important; }
.social-row .socicon-tiktok::before    { content: "\e07b" !important; }

/* 4. The nav has 8 top-level items plus the logo and doesn't actually
      fit on one row until roughly 1450px wide, but Bootstrap's
      navbar-expand-lg only keeps it collapsed below 992px. Between
      992px and 1449px (most laptops, iPads landscape, small desktops)
      it was un-collapsing into an overflowing, wrapped two-row menu
      with the last item cut off. Extend the collapsed/hamburger
      behaviour through that whole range instead. */
@media (min-width: 992px) and (max-width: 1449px) {
  .mainmenu .navbar-expand-lg > .container-fluid > .navbar-collapse {
    display: none !important;
  }
  .mainmenu .navbar-expand-lg > .container-fluid > .navbar-collapse.show {
    display: flex !important;
  }
  .mainmenu .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
}

/* 5. Comfortable tap targets in the mobile off-canvas nav. */
@media (max-width: 1449px) {
  .mainmenu .navbar-collapse .nav-link,
  .mainmenu .navbar-collapse .dropdown-item {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
  }

  .mainmenu .navbar-collapse .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mainmenu .navbar-collapse .nav-item:last-child {
    border-bottom: none;
  }
}

/* 6. Small finishing touches. */
a,
button,
.btn,
.navbar-toggler {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

/* The rule above overrides the logo's height="60" attribute. The SVG has
   no intrinsic pixel size, so without this it stretches to the full
   navbar width. */
.mainmenu .navbar .navbar-logo img {
  height: 60px !important;
  width: auto !important;
  max-width: 280px;
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

@media (max-width: 575px) {
  .display-1, .display-2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

/* The fullscreen hero is a flex row. Its content's min-width is the
   unwrapped title, so on a phone the heading and subtitle get centered
   and clipped on both sides. Let the container shrink and wrap. */
.banner-section.mbr-fullscreen > .container {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 575px) {
  .banner-section .mbr-section-title {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 7. Trip package and blog cards are currently flat (no shadow, no
      hover feedback) sitting directly on a white page background.
      Give them a soft resting shadow, a gentle lift + deeper shadow on
      hover, and a slow image zoom so the grid feels tactile instead of
      static. */
.package-section .item-wrapper,
.blog-section .item-wrapper {
  box-shadow: 0 2px 10px rgba(20, 30, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-section .item:hover .item-wrapper,
.blog-section .item:hover .item-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20, 30, 40, 0.16);
}

.package-section .item-img,
.blog-section .item-img {
  overflow: hidden;
}

.package-section .item-img img,
.blog-section .item-img img {
  transition: transform 0.4s ease;
}

.package-section .item:hover .item-img img,
.blog-section .item:hover .item-img img {
  transform: scale(1.06);
}

/* ============================================================
   Phone and tablet layout
   ============================================================ */

/* Hamburger sits on the dark bar, so the bars have to be light. */
.mainmenu button.navbar-toggler .hamburger span {
  background-color: #fff !important;
}

@media (max-width: 991px) {
  .mainmenu .navbar {
    min-height: 0;
  }

  .mainmenu .navbar > .container-fluid {
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 12px;
  }

  .mainmenu .navbar-brand {
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 56px);
    min-height: 0;
    padding: 6px 0;
  }

  .mainmenu .navbar .navbar-logo img {
    height: 44px !important;
    max-width: 190px;
  }

  .mainmenu button.navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
  }

  .mainmenu nav.navbar {
    z-index: 1030;
    left: 0;
    right: 0;
    width: 100%;
  }

  .mainmenu .navbar-collapse {
    flex: 1 1 100%;
    width: 100%;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    background: #171c1f;
    padding: 0.25rem 8px 1.25rem;
  }

  .mainmenu .navbar-collapse .navbar-nav {
    width: 100%;
    align-items: stretch;
  }

  .mainmenu .navbar ul.navbar-nav li {
    margin: 0;
    width: 100%;
  }

  .mainmenu .navbar-collapse .nav-link {
    display: flex;
    justify-content: flex-start !important;
    min-height: 44px;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .mainmenu .navbar-collapse .nav-link,
  .mainmenu .navbar-collapse .dropdown-item,
  .mainmenu .second-drop a,
  .mainmenu .third-drop a {
    color: #fff !important;
    white-space: normal;
    text-align: left !important;
  }

  .mainmenu .dropdown-menu,
  .mainmenu .second-drop,
  .mainmenu .third-drop {
    position: static !important;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none !important;
  }

  .mainmenu .second-drop ul,
  .mainmenu .third-drop {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.75rem;
  }

  .mainmenu .second-drop a,
  .mainmenu .third-drop a {
    display: block;
    padding: 0.55rem 1rem;
  }

  .banner-section.mbr-fullscreen {
    min-height: 0;
    height: auto;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  .banner-section .mbr-section-title {
    font-size: 1.65rem !important;
    line-height: 1.25;
    width: 100% !important;
  }

  .banner-section .mbr-text {
    font-size: 1rem;
    line-height: 1.45;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    padding-left: 8px;
    padding-right: 8px;
  }

  .feature-section > .container > .row > .card {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .package-section img,
  .package-section .item-img,
  .blog-section img,
  .blog-section .item-img {
    height: 210px;
  }

  .popup .img-thumbnail {
    width: calc(50vw - 28px) !important;
    height: calc(50vw - 28px) !important;
  }

  input,
  select,
  textarea,
  .form-control {
    font-size: 16px;
  }

  .btn {
    min-height: 44px;
  }

  .accordion-button {
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .page-section table,
  .welcome-section table,
  .blog-section table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .footer-section .col-12 {
    margin-bottom: 0.5rem;
  }

  .footer-section .footer-list ul {
    padding-left: 0;
  }
}

@media (max-width: 575px) {
  body {
    overflow-x: hidden;
  }

  .display-2 {
    font-size: 1.7rem !important;
    line-height: 1.25;
  }
}

/* ============================================================
   Design refinement
   ============================================================ */

.banner-section .mbr-overlay {
  opacity: 1 !important;
  background: linear-gradient(180deg, rgba(6, 16, 26, 0.28) 0%, rgba(6, 16, 26, 0.08) 42%, rgba(6, 16, 26, 0.62) 100%) !important;
}

.banner-section .mbr-section-title {
  background: transparent !important;
  width: auto !important;
  max-width: 16em;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.banner-section .mbr-text {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.btn-primary,
.btn-info {
  border-radius: 8px !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.welcome-section {
  background: #fff;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

.welcome-section .title {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-section .title p,
.welcome-section .title li {
  color: #3c4b57;
  font-size: 1.05rem;
  line-height: 1.75;
}

.welcome-section .mbr-section-title,
.package-section .mbr-section-title,
.blog-section .mbr-section-title,
.testimonials .mbr-section-title {
  color: #14384a !important;
  letter-spacing: -0.03em;
}

.welcome-section .mbr-section-title::after,
.package-section .mbr-section-title::after,
.blog-section .mbr-section-title::after,
.testimonials .mbr-section-title::after,
.feature-section .mbr-section-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 99px;
  background: #df500a;
}

.feature-section .mbr-overlay {
  opacity: 1 !important;
  background: linear-gradient(145deg, rgba(8, 40, 56, 0.94), rgba(16, 104, 138, 0.9)) !important;
}

.feature-section .mbr-section-title,
.feature-section .card-title,
.feature-section .card-title strong,
.feature-section .mbr-iconfont {
  color: #fff !important;
}

.feature-section .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.package-section .item-wrapper,
.blog-section .item-wrapper {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 40, 60, 0.06);
}

.package-section .item-wrapper .item-content,
.blog-section .item-wrapper .item-content {
  padding: 1.15rem 1.2rem 0.2rem;
}

.package-section .item-wrapper .item-footer,
.blog-section .item-wrapper .item-footer {
  padding: 0.4rem 1.2rem 1.2rem;
}

.package-section .item-title a,
.blog-section .item-title a {
  color: #14384a !important;
  text-decoration: none;
}

.package-section .item-title a:hover,
.blog-section .item-title a:hover {
  color: #0e7c9e !important;
}

.package-section .item-subtitle {
  color: #df500a;
  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-section h1 {
  color: #14384a;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pg-breadcum ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  padding: 0;
  margin: 0 0 1.25rem;
  justify-content: center;
}

.pg-breadcum ul li {
  background: transparent !important;
  padding: 0 !important;
  color: #6a7c88;
  font-size: 0.92rem;
}

.pg-breadcum ul li a {
  color: #0e7c9e;
  text-decoration: none;
}

.pg-breadcum ul li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: #b7c5cc;
}

.footer-section .footer-list h5 {
  letter-spacing: 0.02em;
}

.footer-section .footer-list ul li a {
  text-decoration: none;
}

.footer-section .soc-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.footer-section .soc-item a:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (min-width: 1450px) {
  .mainmenu .navbar-nav .nav-link:hover {
    color: #8fd8f6 !important;
  }
}

/* Mobile-only WhatsApp number, stuck to the bottom of the screen. */
.wa-sticky {
  display: none;
}

@media (max-width: 767px) {
  .wa-sticky {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.65rem 1rem;
    background: #128c7e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.2);
  }

  .wa-sticky i {
    font-size: 1.55rem;
    line-height: 1;
  }

  body {
    padding-bottom: 52px;
  }

  body.navbar-dropdown-open .wa-sticky {
    display: none;
  }
}

/* Shared trip card: same image, title, duration, blurb, and button on every grid. */
.trip-card {
  display: flex;
  margin-bottom: 1.5rem;
}

.trip-card .item-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(16, 40, 60, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(20, 30, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trip-card:hover .item-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(20, 30, 40, 0.16);
}

.trip-card .item-img {
  display: block;
  flex: 0 0 220px;
  height: 220px;
  overflow: hidden;
}

.trip-card .item-img img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover .item-img img {
  transform: scale(1.06);
}

.trip-card .item-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.05rem 1.15rem 0.35rem;
}

.trip-card .item-title {
  margin: 0;
  min-height: 2.7em;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.trip-card .item-title a {
  color: #14384a !important;
  text-decoration: none;
}

.trip-card .item-title a:hover {
  color: #0e7c9e !important;
}

.trip-card .item-subtitle {
  min-height: 1.2em;
  margin: 0.45rem 0 0;
  color: #df500a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

.trip-card .item-blurb {
  min-height: 4.5em;
  margin: 0.55rem 0 0;
  color: #3c4b57;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.trip-card .item-footer {
  margin-top: auto;
  padding: 0.85rem 1.15rem 1.15rem;
}

.trip-card .item-footer .btn {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 575px) {
  .trip-card .item-img,
  .trip-card .item-img img {
    flex-basis: 200px;
    height: 200px;
  }
}

/* Review cards: solid panels, decoded quotes, equal quote height. */
.testimonials .card {
  height: auto;
  margin-bottom: 1.25rem;
  padding: 1.2rem 1.25rem 1.05rem;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(20, 40, 60, 0.12);
  overflow: hidden;
}

.testimonials .card .mbr-text {
  min-height: 6.2em;
  margin-bottom: 1rem !important;
  color: #24343f;
  font-size: 0.98rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.testimonials .card .d-flex {
  align-items: center;
  margin-top: auto;
  margin-bottom: 0 !important;
}

.testimonials .image-wrapper {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-top: 0;
}

.testimonials .card img,
.testimonials .image-wrapper img {
  width: 48px !important;
  height: 48px !important;
  object-fit: cover;
}

.testimonials .text-wrapper {
  min-width: 0;
}

.testimonials .name,
.testimonials .position {
  margin-bottom: 0;
  font-size: 0.95rem !important;
  line-height: 1.35;
  color: #14384a;
}

.testimonials .position {
  margin-top: 0.15rem;
  color: #5c6d78;
  font-size: 0.88rem !important;
  font-weight: 600;
}
