/* Booka homepage – new design (only loaded on the front page) */
body.bk-home {
	--bk-ink: #14213d;
	--bk-muted: #556074;
	--bk-soft: #f4f7fb;
	--bk-accent: #2aa5e5;
	--bk-accent-dark: #0b7fb8;
	--bk-radius: 22px;
	--bk-ease: cubic-bezier(.2, .7, .2, 1);
}
body.bk-home #theme-page { overflow-x: hidden; overflow-x: clip; }
body.bk-home .wpb_text_column.bk-text,
body.bk-home .wpb_text_column.bk-text .wpb_wrapper { margin: 0 !important; padding: 0 !important; }
body.bk-home .bk-text h1, body.bk-home .bk-text h2, body.bk-home .bk-text h3,
body.bk-home #about-us-contact h2 { font-family: 'Poppins', sans-serif; color: var(--bk-ink); letter-spacing: -.02em; text-transform: none; }

/* Brand colours per platform: --c decorative, --ct readable on white */
.bk-c-houseboat  { --c: #00a5e4; --ct: #00749f; }
.bk-c-lighthouse { --c: #ec181d; --ct: #c4121a; }
.bk-c-treehouse  { --c: #45b96c; --ct: #2a7f47; }
.bk-c-glamping   { --c: #e4a921; --ct: #94690a; }
.bk-c-fishing    { --c: #801818; --ct: #801818; }
.bk-c-river      { --c: #87a4c1; --ct: #46698c; }
.bk-c-rentals    { --c: #54c0d2; --ct: #1b7f90; }

/* Full-bleed helper */
.bk-bleed { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Hero ---------- */
.bk-hero { position: relative; min-height: max(640px, 92vh); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; padding: 150px 20px 110px; box-sizing: border-box; background: #14213d; }
.bk-hero__bg { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; transform: translate3d(0, var(--bk-y, 0), 0); }
.bk-hero__bg img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; animation: bk-kenburns 26s ease-in-out infinite alternate; }
.bk-text p:empty, .bk-hero br, .bk-cards > br, .bk-feature__visual br { display: none; }
.bk-cards > p { display: contents; }
.bk-feature__visual > p, .bk-hero__bg > p { margin: 0; }
.bk-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 20, 45, .55) 0%, rgba(10, 20, 45, .25) 45%, rgba(10, 20, 45, .8) 100%); }
.bk-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; }
.bk-hero .bk-eyebrow { color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(6px); }
body.bk-home .bk-hero h1 { color: #fff; font-size: clamp(64px, 11vw, 140px); line-height: 1; font-weight: 700; margin: 22px 0 14px; letter-spacing: -.04em; text-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.bk-hero__sub, .bk-hero__sub p { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.5; color: rgba(255, 255, 255, .92); margin: 0 auto; max-width: 720px; }
.bk-search { margin: 44px auto 0; max-width: 1240px; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); text-align: left; }
.bk-search div.seachBar { padding: 6px; margin: 0; }
.bk-search div.seachBar form > * { box-shadow: none; }
.bk-hero > .bk-hero__inner > * { animation: bk-rise 1s var(--bk-ease) both; }
.bk-hero > .bk-hero__inner > *:nth-child(2) { animation-delay: .15s; }
.bk-hero > .bk-hero__inner > *:nth-child(3) { animation-delay: .3s; }
.bk-hero > .bk-hero__inner > *:nth-child(4) { animation-delay: .45s; }
.bk-scroll { position: absolute; z-index: 2; bottom: 28px; left: 50%; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; }
.bk-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: bk-wheel 1.8s ease-in-out infinite; }

/* ---------- Shared ---------- */
.bk-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.bk-eyebrow { display: inline-block; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ct, var(--bk-accent-dark)); }
.bk-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 14px 28px; border-radius: 999px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: #fff !important; background: var(--ct, var(--bk-accent-dark)); text-decoration: none !important; box-shadow: 0 10px 24px -10px var(--c, var(--bk-accent)); transition: transform .3s var(--bk-ease), box-shadow .3s var(--bk-ease); }
.bk-btn::after { content: "→"; transition: transform .3s var(--bk-ease); }
.bk-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px var(--c, var(--bk-accent)); }
.bk-btn:hover::after { transform: translateX(5px); }

/* ---------- Intro + category cards ---------- */
.bk-intro { padding: 110px 0 120px; text-align: center; }
body.bk-home .bk-intro h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; margin: 14px 0 20px; }
.bk-intro__text, .bk-intro__text p { max-width: 780px; margin: 0 auto; font-size: 19px; line-height: 1.8; color: var(--bk-muted); }
.bk-intro__text strong em { color: var(--bk-ink); }
.bk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.bk-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--bk-radius); overflow: hidden; text-decoration: none !important; box-shadow: 0 18px 40px -22px rgba(20, 33, 61, .55); transform: translateZ(0); }
.bk-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--bk-ease); }
.bk-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 20, 45, .78) 100%); transition: background .4s; }
.bk-card::before { content: ""; position: absolute; z-index: 2; left: 22px; bottom: 20px; width: 34px; height: 4px; border-radius: 4px; background: var(--c); transition: width .5s var(--bk-ease); }
.bk-card__label { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 34px; font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: #fff; text-align: left; }
.bk-card:hover img, .bk-card:focus-visible img { transform: scale(1.08); }
.bk-card:hover::before, .bk-card:focus-visible::before { width: 70px; }

/* ---------- Feature sections ---------- */
.bk-band { background: #fff; }
.bk-band--alt { background: var(--bk-soft); }
.bk-band--dark { background: var(--bk-ink); }
.bk-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 120px 24px; box-sizing: border-box; }
.bk-feature--flip .bk-feature__visual { order: 2; }
.bk-feature__visual { position: relative; }
.bk-feature__visual::before { content: ""; position: absolute; inset: 0; border-radius: var(--bk-radius); background: var(--c); opacity: .22; transform: translate3d(22px, calc(22px + var(--bk-y, 0px)), 0) rotate(2deg); }
.bk-feature--flip .bk-feature__visual::before { transform: translate3d(-22px, calc(22px + var(--bk-y, 0px)), 0) rotate(-2deg); }
.bk-feature__media { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--bk-radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 33, 61, .6); }
.bk-feature__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--bk-ease); }
.bk-feature__media:hover > img { transform: scale(1.06); }
.bk-feature__logo { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; padding: 10px 16px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.bk-feature__logo img { display: block; width: auto; max-width: 180px; max-height: 56px; height: auto; }
body.bk-home .bk-feature h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; margin: 14px 0 18px; text-align: left; }
.bk-feature h2 a { color: var(--ct) !important; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--bk-ease); }
.bk-feature h2 a:hover { background-size: 100% 2px; }
.bk-copy, .bk-copy p { font-size: 17px; line-height: 1.85; color: var(--bk-muted); text-align: left; }
.bk-copy { margin: 0 0 26px; }
.bk-copy p { margin: 0 0 14px; }
.bk-copy a { color: var(--ct) !important; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bk-band--dark .bk-copy, .bk-band--dark .bk-copy p { color: rgba(255, 255, 255, .82); }
body.bk-home .bk-band--dark .bk-feature h2 { color: #fff; }
.bk-band--dark .bk-feature h2 a, .bk-band--dark .bk-copy a, .bk-band--dark .bk-eyebrow { color: var(--c) !important; }
.bk-band--dark .bk-feature__visual::before { opacity: .35; }

/* ---------- About + contact ---------- */
body.bk-home #about-us-contact { background: linear-gradient(180deg, var(--bk-soft), #fff); }
body.bk-home #about-us-contact h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
body.bk-home #about-us-contact .wpb_text_column { font-size: 17px; line-height: 1.85; color: var(--bk-muted); }
.bk-address { margin-top: 26px; padding: 22px 26px; background: #fff; border-left: 4px solid var(--bk-accent); border-radius: 14px; box-shadow: 0 14px 34px -20px rgba(20, 33, 61, .45); }
.bk-address, .bk-address p { margin-bottom: 0; line-height: 1.7; color: var(--bk-ink); }
body.bk-home #about-us-contact .wpb_column + .wpb_column > *:first-child { background: #fff; border-radius: var(--bk-radius); padding: 34px; box-shadow: 0 30px 60px -30px rgba(20, 33, 61, .45); box-sizing: border-box; }

/* ---------- Motion ---------- */
.bk-js .bk-reveal { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity 1s var(--bk-ease), transform 1s var(--bk-ease); }
.bk-js .bk-reveal.bk-from-left { transform: translate3d(-70px, 0, 0); }
.bk-js .bk-reveal.bk-from-right { transform: translate3d(70px, 0, 0); }
.bk-js .bk-reveal.bk-zoom { transform: scale(.9); }
.bk-js .bk-reveal.is-in { opacity: 1; transform: none; }
.bk-d1 { transition-delay: .1s !important; }
.bk-d2 { transition-delay: .2s !important; }
.bk-d3 { transition-delay: .3s !important; }
.bk-d4 { transition-delay: .4s !important; }
.bk-d5 { transition-delay: .5s !important; }

@keyframes bk-kenburns { from { transform: scale(1); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes bk-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes bk-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
	.bk-hero__bg img, .bk-hero > .bk-hero__inner > *, .bk-scroll span { animation: none !important; }
	.bk-js .bk-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.bk-feature { grid-template-columns: 1fr; gap: 48px; padding: 90px 24px; }
	.bk-feature--flip .bk-feature__visual { order: 0; }
	.bk-cards { grid-template-columns: repeat(2, 1fr); }
	.bk-intro { padding: 80px 0 90px; }
	body.bk-home #about-us-contact .wpb_column + .wpb_column { margin-top: 40px; }
}
@media (max-width: 600px) {
	.bk-cards { grid-template-columns: 1fr; gap: 16px; }
	.bk-hero { padding: 120px 16px 90px; }
	.bk-feature__visual::before { display: none; }
	.bk-feature__logo img { max-width: 140px; max-height: 44px; }
	.bk-js .bk-reveal.bk-from-left:not(.is-in), .bk-js .bk-reveal.bk-from-right:not(.is-in) { transform: translate3d(0, 46px, 0); }
}
