/* Banana Jeep Safari — static site styles.
   Sizes and breakpoints copy the old Astra/Elementor site:
   desktop header > 921px, Elementor tablet <= 1024px, mobile <= 767px, small <= 544px. */

@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Lobster"; src: url("../fonts/lobster.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --yellow: #ffd936;
  --button: #ffd600;
  --gold: #dab200;
  --green: #536942;
  --text: rgba(82, 104, 64, 0.75);
  --light: #f6f8f5;
  --line: #eaeaea;
  --lh: 27.2px;               /* body line height (Astra uses a fixed px value) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/var(--lh) "Jost", sans-serif; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { font-family: "Lobster", display; font-weight: 400; color: var(--green); margin: 0; }
h2 { font-size: 30px; line-height: 1.3; }
ul, ol { margin: 0 0 1.5em 20px; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Elementor-like boxes: 1140px boxed section, 10px column padding, 20px between widgets */
.ebox { display: flex; max-width: 1140px; margin: 0 auto; }
.col { padding: 10px; flex: 1 1 0; min-width: 0; }
.c25 { flex: 0 0 25%; } .c30 { flex: 0 0 30%; } .c39 { flex: 0 0 39.333%; } .c75 { flex: 0 0 75%; }
.w { margin-bottom: 20px; display: flow-root; }  /* contains child margins like Elementor widgets */
.w:last-child { margin-bottom: 0; }
.only-mobile { display: none; }

/* ---------- Header (desktop) ---------- */
.site-header { position: relative; z-index: 50; }
.hdr-mobile { display: none; }
.hdr-desktop { padding-top: 10px; background: #fff; }
.header-main { display: flex; justify-content: center; align-items: center; height: 205px; }
.header-nav { display: flex; align-items: center; margin-right: 19px; }
.header-logo { margin-right: 36px; }
.header-logo img { width: 180px; }
.nav-link { display: block; padding: 0 16px; line-height: 70px; color: rgba(0, 0, 0, 0.75); }
.btn-booking { display: inline-block; width: 160px; height: 45px; line-height: 43px; text-align: center; font-size: 18px; color: #000; background: var(--button); border: 1px solid #000; white-space: nowrap; }
.btn-booking:hover { color: #000; }

.lang { position: relative; }
.lang > button { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0 16px; height: 70px; cursor: pointer; font: inherit; color: rgba(0, 0, 0, 0.75); }
.lang img { width: 18px; height: 12px; }
.lang .chev { width: 10px; height: 10px; fill: currentColor; }
.lang ul { display: none; position: absolute; z-index: 20; top: 100%; left: 0; list-style: none; margin: 0; padding: 0; width: 240px; background: #fff; border-top: 2px solid var(--yellow); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1); }
.lang:hover ul, .lang.open ul, .lang:focus-within ul { display: block; }
.lang ul a { display: flex; align-items: center; gap: 5px; padding: 0 16px; line-height: 52px; color: #000; }

.header-bar { position: relative; margin-top: 10px; height: 61px; background: #eee; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.contact-line { display: flex; gap: 20px; font-size: 28px; line-height: 1.2; }
.contact-line a { display: inline-flex; align-items: center; gap: 8px; color: #000; }
.contact-line svg, .m-phones svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.social { position: absolute; top: 50%; right: max(20px, calc((100% - 1200px) / 2)); transform: translateY(-50%); display: flex; gap: 12px; }
.social a { display: flex; color: #3a3a3a; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Home: transparent header over the hero, no logo in the header */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; }
.home .hdr-desktop, .home .header-bar { background: transparent; }
.home .header-main { height: 70px; padding-left: 38px; }  /* old home header: menu left of centre, button right */
.home .header-logo { display: none; }
.home .nav-link, .home .lang > button { color: var(--light); }
.home .contact-line a, .home .social a { color: #fff; }

/* ---------- Home ---------- */
.hero { position: relative; background: url("../img/hero.jpg") center / cover no-repeat; padding: 50px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.2); }
.hero .ebox { position: relative; min-height: 605px; align-items: center; }
.hero-logo { width: 100%; }
.hero-title { color: #fff; font-size: 50px; line-height: 1.3; text-align: center; }
.btn-hero { display: block; margin: 0 -11px; padding: 17px 40px; text-align: center; font: 400 20px/1 "Lobster", display; color: #000; background: var(--yellow); border-radius: 4px; }
.btn-hero:hover { color: #000; background: var(--gold); }

.band { background: var(--yellow); }
.spacer50 { height: 50px; }
.band h2 { color: #fff; font-weight: 700; text-align: center; text-shadow: 0 0 10px rgba(0, 0, 0, 0.81); }
.band-strip { height: 20px; background: var(--yellow); }

.video-band { background: #000; overflow: hidden; }
.video-band video { width: 100%; height: 620px; object-fit: cover; }

.content-yellow { background: var(--yellow); color: #000; }
.content-yellow h2 { color: #000; }
.row2 { display: flex; }
.row2 img { width: 100%; height: 285px; object-fit: cover; }
.row2.tall img { height: 379px; }

/* ---------- Text pages (policies, payment received) and media ---------- */
.page-wrap { padding: 64px 0; }
.page-wrap .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.page-card { background: var(--light); padding: 85.44px 106.72px; }
.page-card h1 { font-size: 30px; line-height: 1.2; margin-bottom: 24px; }

.media-page { background: var(--yellow); }
.page-card.media { background: transparent; }
/* Mosaic like the old gallery: site.js sizes the columns; without JS plain columns */
.gallery { margin: 20px 0; columns: 3 250px; column-gap: 2px; }
.gallery a { display: block; margin: 0 0 2px; overflow: hidden; break-inside: avoid; }
.gallery.mosaic { display: flex; justify-content: center; align-items: flex-start; gap: 2px; columns: auto; }
.gallery.mosaic .mcol { display: flex; flex-direction: column; gap: 2px; }
.gallery.mosaic a { margin: 0; }
.gallery img { width: 100%; transition: transform 0.3s ease; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.9); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; padding: 12px 18px; }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Booking ---------- */
.booking-top, .booking-main { background: var(--yellow); color: #000; }
.booking-title { font-size: 45px; line-height: 1.3; }
/* The Dutch booking page was set up slightly differently in the old site */
@media (min-width: 768px) {
  .booking-nl .booking-main .c25 { flex-basis: 22.718%; }
  .booking-nl .booking-main .c75 { flex-basis: 77.282%; }
}
.booking-intro { font-size: 22px; line-height: var(--lh); text-align: center; }
.prices-line { font-size: 28px; line-height: var(--lh); text-align: left; }

.pay-col { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-end; }
.pay-badge { width: 100%; }
.pay-badge img { width: 100%; max-width: 288px; margin: 0 auto; }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; }
.pay-logos img { width: auto; margin: 2px; }
.company { width: 100%; margin-top: 10px; font-size: 11px; line-height: 11px; text-align: center; color: var(--text); }
.pay-spacer { width: 100%; height: 30px; }

.booking-form { color: #000; }
.frow { display: flex; margin: 0 -7px 14px; }
.fcol { flex: 1 1 0; min-width: 0; padding: 0 7px; }
.fcol > label:not(.choice), .fcol > .label { display: block; font-size: 18px; line-height: 1.7; color: #777771; }
.req { color: #e04562; }
.fcol input[type=text], .fcol input[type=email], .fcol input[type=tel], .fcol input[type=number], .fcol input[type=date], .fcol textarea {
  display: block; width: 100%; margin: 0; padding: 10px; border: 0; border-radius: 0; background: #ededed; color: #000; font: 16px/20.8px "Jost", sans-serif; -webkit-appearance: none; appearance: none;
}
.fcol input::placeholder, .fcol textarea::placeholder { color: #888; }
.fcol input:focus, .fcol textarea:focus { outline: none; background: #e6e6e6; }
.fcol input[type=number] { -moz-appearance: textfield; }
.date-input { padding-left: 36px !important; background: #ededed url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23777771' d='M4 0h2v2h4V0h2v2h2a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h2zM2 6v8h12V6z'/%3E%3C/svg%3E") 12px 50% / 14px no-repeat !important; }
.fcol textarea { height: 140px; line-height: 20px; resize: vertical; }
.hint { display: block; margin-top: 5px; font-size: 12px; line-height: 18px; color: #777771; }
.counter { text-align: right; margin-bottom: 14px; }
.err { display: none; margin-top: 5px; font-size: 12px; line-height: 18px; color: #e04562; }
.fcol.invalid .err { display: block; }
.fcol.invalid input, .fcol.invalid textarea { box-shadow: inset 0 -2px 0 #e04562; }
.fcol.invalid .bullet, .fcol.invalid .box { box-shadow: inset 0 0 0 2px #e04562; }

.choice { position: relative; display: flex; align-items: flex-start; gap: 10px; margin: 0 0 20px; font-size: 14px; line-height: 20px; color: #000; cursor: pointer; }
.fcol > .label + .choice { margin-top: 10px; }
.choice:last-of-type, .choice.check { margin-bottom: 0; }
.choice.check { margin-top: 0 !important; }
.choice input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.bullet, .box { flex: none; width: 20px; height: 20px; background: #ededed; }
.bullet { border-radius: 50%; }
.choice input:checked + .bullet { background: radial-gradient(circle, #17a8e3 0 5px, #ededed 5.5px); }
.choice input:checked + .box { background: #17a8e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible + .bullet, .choice input:focus-visible + .box { outline: 2px solid #17a8e3; outline-offset: 2px; }
.total { display: flex; align-items: baseline; }
.total .label { display: inline; }
.total output { padding: 10px; font-size: 18px; line-height: 23.4px; }
.btn-submit { padding: 10px; border: 0; border-radius: 2px; background: #17a8e3; color: #fff; font: 500 14px/20.3px "Jost", sans-serif; cursor: pointer; }
.btn-submit:hover { background: #008fca; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 14px 16px; margin: 0 0 20px; font-size: 16px; line-height: 1.5; }
.form-msg.ok { display: block; background: #e3f7e6; color: #1c6b2a; border: 1px solid #a8dfb2; }
.form-msg.error { display: block; background: #fdecee; color: #a2132e; border: 1px solid #f3b3bf; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 471fr 157fr 471fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; }
.footer-left { align-self: start; margin-top: 51px; }
.footer-social { display: flex; justify-content: center; gap: 20px; }
.footer-social img { width: 30px; height: 30px; }
.footer-nav { display: flex; flex-wrap: wrap; list-style: none; margin: 10px 0 0 40px; padding: 0; }
.footer-nav a { display: block; padding: 0 10px; color: var(--green); }
.footer-logo img { width: 100%; max-width: 157px; }
.footer-text { margin-right: 40px; text-align: right; color: var(--green); }

/* ---------- WhatsApp chat button ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.chat-text { background: #fff; color: #000; font-size: 13px; line-height: 1.6; padding: 4px 10px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); white-space: nowrap; }
.chat-btn { width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 8px 2px rgba(0, 0, 0, 0.15); transition: transform 0.2s ease-in-out; }
.chat-btn:hover { transform: scale(1.1); }
.chat-btn svg { width: 34px; height: 34px; fill: #fff; }

@media (max-width: 1200px) {
  .page-card { padding: 53.44px 38.4px; }
}

/* ======================= Tablet (Elementor <= 1024px) ======================= */
@media (max-width: 1024px) {
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .hero { padding: 70px 0 10px; }
  .hero .ebox { min-height: 400px; }
  .btn-hero { margin: 0 -6px; padding: 16px 32px; font-size: 16px; }
  .video-band video { height: auto; aspect-ratio: 16 / 9; }
  .video-band.pool video { aspect-ratio: 4 / 3; }
}

/* ============ Mobile header and smaller type (Astra <= 921px) ============ */
@media (max-width: 921px) {
  :root { --lh: 24.8064px; }
  body { font-size: 14.592px; }
  h2 { font-size: 25px; }

  .hdr-desktop { display: none; }
  .hdr-mobile { display: block; }
  .m-row1 { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 51px; padding: 0 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .m-row1 .btn-booking { flex: none; width: 224px; }
  .m-phones { display: flex; gap: 10px; font-size: 25px; line-height: 1.4; }
  .m-phones a { display: inline-flex; align-items: center; gap: 8px; color: #000; white-space: nowrap; }
  .m-row2 { display: flex; height: 98px; margin: 9px 0 10px; padding: 0 20px; background: #fff; }
  .home .m-row2 { margin-bottom: 0; }
  .m-logo { align-self: center; margin-left: 15px; }
  .m-logo img { width: 60px; }
  .m-lang { margin-left: 25px; padding-left: 10px; }
  .m-lang-current { display: flex; align-items: center; gap: 4px; height: 44px; color: var(--text); }
  .m-lang-current img { width: 18px; height: 12px; }
  .m-lang .chev { display: none; }
  .m-lang-other { display: flex; align-items: center; gap: 4px; width: 114px; height: 54px; padding: 0 10px; background: var(--yellow); color: var(--yellow); }
  .m-lang-other img { width: 18px; height: 12px; }
  .home .hdr-mobile .m-row1, .home .hdr-mobile .m-row2 { background: transparent; border-color: transparent; }
  .home .m-logo { display: none; }
  .home .m-lang { margin-left: 10px; }

  .page-wrap { padding: 21.888px 0; }
  .page-card { background: #fff; padding: 21.888px 31.2px; }
  .page-card h1 { font-size: 27.36px; margin-bottom: 14px; }


  .site-footer { padding: 91px 0 39px; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; justify-items: center; text-align: center; padding: 0 20px; }
  .footer-left { align-self: auto; margin-top: 0; }
  .footer-nav { justify-content: center; margin: 10px 0 0; }
  .footer-logo { margin-top: 40px; }
  .footer-logo img { width: 300px; max-width: 100%; }
  .footer-text { margin: 39px 0 0; text-align: center; }
}

/* ======================= Mobile (Elementor <= 767px) ======================= */
@media (max-width: 767px) {
  .ebox, .row2 { flex-wrap: wrap; }
  .col, .c25, .c30, .c39, .c75 { flex: 0 0 100%; }
  .hero { padding: 64px 0 0; }
  .hero .ebox { min-height: 350px; }
  .btn-hero { margin: 0 -2px; padding: 15px 28px; font-size: 14px; }
  .booking-main .c75 { order: -1; }
  .booking-nl .booking-main .c75 { order: 0; }
  .pay-spacer { height: 0; }
  .booking-nl .pay-spacer { height: 30px; }
  .chat-text { display: none; }
}

/* Forminator stacks every field below 783px */
@media (max-width: 783px) {
  .frow { flex-direction: column; margin: 0 0 8px; }
  .fcol { padding: 0; }
  .fcol + .fcol { margin-top: 8px; }
  .counter { margin-bottom: 0; }
  .btn-submit { width: 100%; }
}

/* ======================= Small phones (Astra <= 544px) ======================= */
@media (max-width: 544px) {
  .m-row1 .btn-booking { width: 150px; font-size: 16px; line-height: 22px; padding-top: 2px; }
  .m-phones { font-size: 14.592px; line-height: var(--lh); gap: 0; }
  .m-phones a { display: inline-block; white-space: normal; word-break: break-all; width: calc((100vw - 209px) / 2); }
  .m-phones svg { display: inline; vertical-align: -0.1em; margin-right: 4px; }
  .m-row2 { margin: 0; }
  .page-wrap .container { padding: 0 8px; }
  .page-card { padding: 21.888px 14.592px; }
  .m-logo { margin-left: 0; }
  .home .m-lang { margin-left: -10px; }
  .m-logo img { width: 50px; }

  .site-footer { padding: 76px 0 45px; }
  .footer-nav { flex-direction: column; align-items: center; }
  .footer-logo { margin-top: 25px; }
  .footer-text { margin-top: 35px; }
}
