/* ==========================================================================
   Raees Gateway Boat Ride - responsive overrides (mobile-first base lives in style.css)
   ========================================================================== */

.site-nav .nav-link, .btn-sm-nav { white-space: nowrap; }
/* On the desktop menu the number only fits on wide screens; in the mobile menu it always shows */
@media (min-width: 992px) and (max-width: 1399.98px) { .btn-num--nav { display: none; } }

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-nav .nav-link { padding: .6rem .5rem; font-size: .88rem; }
  .site-nav .nav-link::after { left: .5rem; right: .5rem; }
  .btn-sm-nav { padding: .55rem .9rem; font-size: .85rem; }
  .brand__text small { letter-spacing: .1em; }
}

@media (max-width: 1199.98px) {
  .gallery-grid { column-count: 3; }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 66px; }
  .site-nav .navbar-collapse { background: var(--navy-2); margin: .6rem -.75rem 0; padding: 1rem 1.25rem 1.4rem; border-radius: 0 0 var(--radius) var(--radius); }
  .site-nav .nav-link { padding: .8rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .nav-link::after { display: none; }
  .site-nav .btn-gold { width: 100%; }
  .section { padding: 4rem 0; }
  .hero { min-height: 78vh; }
  .hero__inner { padding: 4rem 0 5rem; }
  .gallery-grid { column-count: 2; }
  .lightbox { padding: 3.5rem 1rem; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 72px; }               /* room for the mobile contact bar */
  .topbar { font-size: .8rem; }
  .brand__text strong { font-size: 1.1rem; }
  .brand__text small { font-size: .62rem; letter-spacing: .12em; }
  .brand__logo { width: 38px; height: 38px; }
  .section { padding: 3.4rem 0; }
  .section-head { margin-bottom: 2rem; }
  .hero { min-height: 74vh; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 29, 53, .78) 0%, rgba(7, 29, 53, .62) 55%, rgba(7, 29, 53, .88) 100%); }
  .hero .btn-lg { width: 100%; }
  .hero__chips { gap: .5rem 1.1rem; font-size: .86rem; }
  .enquiry-card { padding: 1.4rem; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip .gallery-item:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .page-banner { padding: 2.6rem 0 2.8rem; }
  .fab-wa { display: none; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); box-shadow: 0 -6px 24px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .6rem .4rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
  .mobile-bar__txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
  .mobile-bar__txt small { font-family: var(--font-body); font-weight: 500; font-size: .74rem; opacity: .92; white-space: nowrap; }
  .mobile-bar__wa { background: var(--wa); }
  .lightbox__prev { left: .3rem; } .lightbox__next { right: .3rem; }
  .lightbox__btn { width: 42px; height: 42px; }
  .lightbox__cap { padding: 0 1rem; font-size: .85rem; }
  .boat-card__actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .gallery-grid { column-count: 2; column-gap: .6rem; }
  .gallery-item { margin-bottom: .6rem; }
  .step__num { width: 56px; height: 56px; font-size: 1.3rem; }
}

/* On phones the number sits on its own line inside the WhatsApp button so the label never breaks */
@media (max-width: 575.98px) {
  .btn:has(.btn-num) { flex-wrap: wrap; row-gap: .05rem; }
  .btn .btn-num { flex-basis: 100%; text-align: center; border-left: 0; padding-left: 0; margin-left: 0; font-size: .8em; opacity: .9; }
  .btn:has(.btn-num) > span { white-space: nowrap; }
}

/* Top bar: all phone numbers stay visible on phones (icons hidden on the extra numbers to save width) */
.topbar__phones { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1.2rem; }
@media (max-width: 575.98px) {
  .topbar { font-size: .74rem; padding: .45rem 0; }
  .topbar .container { padding-left: .75rem; padding-right: .75rem; }
  /* Numbers sit in equal-width columns, centred, in the order 1 - 2 - 3 */
  .topbar__phones { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0 .25rem; align-items: center; }
  .topbar__link { white-space: nowrap; justify-content: center; text-align: center; }
  .topbar__link .icon { display: none; }
}

@media (max-width: 380px) {
  .brand__text small { display: none; }
}
