/*
Theme Name:   Birthday Yacht Party Abu Dhabi (yba-child)
Theme URI:    https://yachtbirthdayabudhabi.com/
Description:  Kadence child theme for yachtbirthdayabudhabi.com – milestone birthday yachts and houseboats in Abu Dhabi. Fleet cards with filters, online booking requests (yacht → hours → guests), WhatsApp hand-off, card / Tabby / Tamara payment section, EN / AR / RU via Polylang, JSON-LD, llms.txt, mobile app bar. No jQuery, no page builder.
Author:       Mohammed Zaki
Template:     kadence
Version:      1.0.9
Requires PHP: 7.4
Text Domain:  yba-child
*/

/* ---------------------------------------------------------------- tokens: ivory · champagne gold · deep emerald */
:root {
	--yba-ivory: #fbf7ef;
	--yba-cream: #f4ecdc;
	--yba-champ: #ead9b2;
	--yba-gold: #c39a4e;
	--yba-gold-d: #94702c;
	--yba-gold-l: #f1e2bd;
	--yba-em: #0d3a35;
	--yba-em-2: #14544c;
	--yba-em-3: #1e6e63;
	--yba-coral: #e7826a;
	--yba-ink: #1b2826;
	--yba-muted: #5c6a66;
	--yba-line: #e6dcc6;
	--yba-white: #fff;
	--yba-wa: #1fae5b;
	--yba-r: 18px;
	--yba-r-lg: 28px;
	--yba-shadow: 0 18px 40px -22px rgba(13, 58, 53, .45);
	--yba-shadow-sm: 0 8px 22px -14px rgba(13, 58, 53, .4);
	--yba-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--yba-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--yba-wrap: 1200px;
	--yba-head-h: 74px;
}
html[lang^="ar"] {
	--yba-serif: 'El Messiri', 'Almarai', Tahoma, sans-serif;
	--yba-sans: 'Almarai', Tahoma, 'Segoe UI', sans-serif;
}

body {
	background: var(--yba-ivory);
	color: var(--yba-ink);
	font-family: var(--yba-sans);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
	font-family: var(--yba-serif);
	color: var(--yba-em);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.01em;
}
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
a { color: var(--yba-em-2); }
a:hover { color: var(--yba-gold-d); }
img { max-width: 100%; height: auto; }
::selection { background: var(--yba-gold-l); color: var(--yba-em); }
:focus-visible { outline: 3px solid var(--yba-gold); outline-offset: 3px; border-radius: 6px; }

.yba-wrap { width: min(var(--yba-wrap), calc(100% - 32px)); margin-inline: auto; }
.yba-narrow { max-width: 860px; }

/* ---------------------------------------------------------------- buttons */
.yba-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: .8em 1.6em; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--yba-sans); font-weight: 700; font-size: 15.5px; line-height: 1.1; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s;
}
.yba-btn:hover { transform: translateY(-2px); text-decoration: none; }
.yba-btn:active { transform: translateY(0); }
.yba-btn-gold { background: linear-gradient(135deg, #d8b46a, var(--yba-gold) 55%, #a9813a); color: var(--yba-em); box-shadow: 0 10px 24px -12px rgba(148, 112, 44, .9); }
.yba-btn-gold:hover { color: var(--yba-em); box-shadow: 0 16px 30px -14px rgba(148, 112, 44, .95); }
.yba-btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.yba-btn-gold:hover::after { transform: translateX(120%); }
.yba-btn-em { background: var(--yba-em); color: var(--yba-ivory); }
.yba-btn-em:hover { background: var(--yba-em-2); color: #fff; }
.yba-btn-wa { background: var(--yba-wa); color: #fff; }
.yba-btn-wa:hover { background: #179a4f; color: #fff; }
.yba-btn-line { background: transparent; color: var(--yba-em); border-color: var(--yba-em); }
.yba-btn-line:hover { background: var(--yba-em); color: var(--yba-ivory); }
.yba-btn-ghost { background: transparent; color: var(--yba-em); border-color: var(--yba-line); }
.yba-btn-ghost:hover { border-color: var(--yba-gold); color: var(--yba-gold-d); }
.yba-btn-glass { background: rgba(251, 247, 239, .12); color: #fff; border-color: rgba(241, 226, 189, .55); backdrop-filter: blur(6px); }
.yba-btn-glass:hover { background: rgba(251, 247, 239, .22); color: #fff; }
.yba-btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: 14px; }
.yba-btn-block { width: 100%; }
.yba-btn[disabled] { opacity: .6; pointer-events: none; }
.yba-wa-i { width: 1.25em; height: 1.25em; flex: none; }
.yba-i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.yba-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.yba-center { text-align: center; }
.yba-center .yba-ctas, .yba-ctas.is-center { justify-content: center; }

/* ---------------------------------------------------------------- header */
.yba-header {
	position: sticky; top: 0; z-index: 60; height: var(--yba-head-h);
	background: rgba(251, 247, 239, .94); backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid rgba(195, 154, 78, .25);
	transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.yba-header.is-over { position: fixed; inset-inline: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.yba-header.is-over .yba-menu > li > a, .yba-header.is-over .yba-sub-btn, .yba-header.is-over .yba-lsel-btn, .yba-header.is-over .yba-head-call { color: #fff; }
.yba-header.is-over .yba-wordmark { color: #fff; }
.yba-header.is-over .yba-burger span { background: #fff; }
.yba-header.is-solid, .yba-header.is-over.is-solid { background: rgba(251, 247, 239, .97); border-color: rgba(195, 154, 78, .3); box-shadow: 0 8px 26px -18px rgba(13, 58, 53, .5); backdrop-filter: saturate(1.2) blur(10px); }
.yba-header.is-over.is-solid .yba-menu > li > a, .yba-header.is-over.is-solid .yba-sub-btn, .yba-header.is-over.is-solid .yba-lsel-btn, .yba-header.is-over.is-solid .yba-head-call, .yba-header.is-over.is-solid .yba-wordmark { color: var(--yba-em); }
.yba-header.is-over.is-solid .yba-burger span { background: var(--yba-em); }
.admin-bar .yba-header.is-over { top: 32px; }
.yba-nav { height: 100%; display: flex; align-items: center; gap: 22px; }
.yba-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.yba-logo-img { max-height: 48px; width: auto; }
.yba-wordmark { font-family: var(--yba-serif); font-size: 25px; font-weight: 700; color: var(--yba-em); line-height: 1; display: inline-flex; align-items: center; gap: 9px; letter-spacing: 0; }
.yba-wordmark small { display: block; font-family: var(--yba-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--yba-gold); margin-top: 4px; }
.yba-wordmark .yba-wm-b { width: 30px; height: 38px; flex: none; }
.yba-nav-menu { margin-inline-start: auto; }
.yba-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.yba-menu li { position: relative; }
.yba-menu > li > a, .yba-sub-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font-weight: 600; font-size: 15px; color: var(--yba-em); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 999px; font-family: var(--yba-sans); }
.yba-menu > li > a:hover, .yba-sub-btn:hover { color: var(--yba-gold-d); }
.yba-sub-btn svg, .yba-lsel-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.yba-sub { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 270px; padding: 10px; margin: 0; list-style: none; background: #fff; border-radius: 16px; box-shadow: var(--yba-shadow); border: 1px solid var(--yba-line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover > .yba-sub, .has-sub.open > .yba-sub, .has-sub:focus-within > .yba-sub { opacity: 1; visibility: visible; transform: none; }
.yba-sub a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--yba-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.yba-sub a small { color: var(--yba-gold-d); font-weight: 700; white-space: nowrap; }
.yba-sub a:hover { background: var(--yba-cream); color: var(--yba-em); }
.yba-sub .is-booked small { color: var(--yba-muted); }
.yba-head-end { display: flex; align-items: center; gap: 10px; }
.yba-head-call { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--yba-em); border: 1px solid rgba(195, 154, 78, .45); }
.yba-head-call .yba-i { width: 20px; height: 20px; }
.yba-head-book { min-height: 44px; padding: .6em 1.3em; }
.yba-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.yba-burger span { display: block; height: 2px; margin: 5px 0; background: var(--yba-em); border-radius: 2px; transition: .3s; }

/* language dropdown */
.yba-lsel { position: relative; }
.yba-lsel-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; background: none; font-weight: 700; font-size: 13px; color: var(--yba-em); cursor: pointer; border-radius: 999px; font-family: var(--yba-sans); }
.yba-flag { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.yba-lsel-list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 170px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: var(--yba-shadow); border: 1px solid var(--yba-line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.yba-lsel.open .yba-lsel-list { opacity: 1; visibility: visible; transform: none; }
.yba-lsel-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--yba-ink); font-weight: 600; font-size: 14px; }
.yba-lsel-list a:hover, .yba-lsel-list a.on { background: var(--yba-cream); }

/* ---------------------------------------------------------------- footer */
.yba-footer { background: var(--yba-em); color: #d8e4df; position: relative; }
.yba-fcta { padding: 70px 0 10px; background: linear-gradient(var(--yba-ivory) 50%, var(--yba-em) 50%); }
.yba-fcta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; padding: 48px; border-radius: var(--yba-r-lg); background: radial-gradient(120% 140% at 0% 0%, var(--yba-em-3), var(--yba-em) 60%); color: #eaf1ee; box-shadow: var(--yba-shadow); border: 1px solid rgba(241, 226, 189, .25); }
.yba-fcta-box h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 8px 0 10px; }
.yba-fcta-box p { color: #cfe0da; margin: 0; }
.yba-fcta-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.yba-fcta-stats li { padding: 16px; border-radius: 16px; background: rgba(251, 247, 239, .06); border: 1px solid rgba(241, 226, 189, .18); }
.yba-fcta-stats b { display: block; font-family: var(--yba-serif); font-size: 28px; color: var(--yba-gold-l); line-height: 1.1; }
.yba-fcta-stats span { font-size: 13.5px; color: #bcd0c9; }
.yba-fbody { padding: 54px 0 110px; }
.yba-fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; }
.yba-fgrid h4 { color: var(--yba-gold-l); font-family: var(--yba-sans); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 14px; }
.yba-fgrid a { display: block; color: #d8e4df; text-decoration: none; padding: 4px 0; font-size: 15px; }
.yba-fgrid a:hover { color: var(--yba-gold-l); }
.yba-fbrand p { font-size: 15px; color: #b7cbc4; margin: 14px 0; }
.yba-footer .yba-wordmark { color: #fff; }
.yba-fnote { display: block; font-size: 13.5px; color: #a9c0b8; margin-top: 8px; }
.yba-fpay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(241, 226, 189, .15); }
.yba-fpay p { margin: 0; font-size: 14.5px; color: #b7cbc4; }
.yba-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #93ada5; padding-top: 18px; border-top: 1px solid rgba(241, 226, 189, .12); }
.yba-copy-links { display: flex; gap: 16px; }
.yba-copy a { color: #b7cbc4; display: inline; padding: 0; }

/* payment badges (text only) */
.yba-paybadges { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.yba-paybadges i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 44px; padding: 0 9px; border-radius: 7px; font-weight: 800; font-size: 12.5px; letter-spacing: .02em; background: #fff; color: #1a1f71; border: 1px solid rgba(0, 0, 0, .08); }
.yba-paybadges .b-mc { gap: 0; padding: 0 8px; }
.yba-paybadges .b-mc s { display: block; width: 15px; height: 15px; border-radius: 50%; background: #eb001b; }
.yba-paybadges .b-mc s + s { background: #f79e1b; margin-inline-start: -6px; mix-blend-mode: multiply; }
.yba-paybadges .b-tabby { background: #3effc1; color: #111; text-transform: lowercase; }
.yba-paybadges .b-tamara { background: linear-gradient(90deg, #f4c7a1, #e9a7c6); color: #2b1a12; text-transform: lowercase; }

/* desktop floating WhatsApp */
.yba-wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--yba-wa); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(31, 174, 91, .8); transition: transform .25s; }
.yba-wa-float:hover { color: #fff; transform: translateY(-3px); }
.yba-wa-float .yba-wa-i { width: 24px; height: 24px; }

/* Kadence resets for our full-width layout */
.yba-site .content-container.site-container, .yba-site .site-main > .content-wrap { max-width: none; padding: 0; }
.yba-site .entry-content-wrap { padding: 0; }
.yba-site .content-area { margin: 0; }
.yba-site.page .entry.single-entry, .yba-site.home .entry.single-entry { box-shadow: none; background: transparent; }
.yba-site .entry-content > .wp-block-html, .yba-site .entry-content > p:empty { margin: 0; }

@media (max-width: 1080px) {
	.yba-nav-menu, .yba-head-book, .yba-lsel { display: none; }
	.yba-burger { display: block; }
	.yba-fgrid { grid-template-columns: 1fr 1fr; }
	.yba-fcta-box { grid-template-columns: 1fr; padding: 34px 24px; }
}
@media (max-width: 900px) {
	:root { --yba-head-h: 64px; }
	.yba-wa-float { display: none; }
	.admin-bar .yba-header.is-over { top: 46px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.yba-fgrid { grid-template-columns: 1fr; gap: 26px; }
	.yba-wordmark { font-size: 21px; }
	.yba-btn { min-height: 48px; padding: .75em 1.25em; }
}
