/*
Theme Name:   Birthday Yacht Party Dubai
Theme URI:    https://yachtbirthdaydubai.com/
Description:  Kadence child theme for Birthday Yacht Party Dubai – a fleet of 11 private birthday yachts cruising from Dubai Marina. Midnight + gold "Dubai birthday night" design with confetti accents, fleet filters, price calculator, online booking requests, EN / AR / RU (Polylang), SEO-first and lightweight (no jQuery, no page builder).
Author:       Mohammed Zaki
Author URI:   https://yachtbirthdaydubai.com/
Template:     kadence
Version:      1.0.8
Requires PHP: 7.4
Text Domain:  ybd-child
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ybd-night: #0b0f2e;
	--ybd-night2: #141a44;
	--ybd-night3: #1d2566;
	--ybd-gold: #f3c969;
	--ybd-gold2: #e9a93a;
	--ybd-gold-d: #a8730f;
	--ybd-coral: #ff6f61;
	--ybd-teal: #4fd1c5;
	--ybd-violet: #b794f4;
	--ybd-ivory: #fbf7ef;
	--ybd-sand: #f3ecdd;
	--ybd-ink: #14183a;
	--ybd-muted: #5d6185;
	--ybd-line: #e6dcc7;
	--ybd-wa: #25d366;
	--ybd-goldgrad: linear-gradient(120deg, #fff1c4 0%, #f3c969 30%, #e9a93a 55%, #ffe39a 75%, #f3c969 100%);
	--ybd-btn: linear-gradient(135deg, #ffd978 0%, #f3c969 40%, #e9a93a 100%);
	--ybd-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--ybd-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--ybd-r: 22px;
	--ybd-r-sm: 14px;
	--ybd-shadow: 0 20px 50px -22px rgba(11, 15, 46, .45);
	--ybd-shadow-gold: 0 14px 34px -12px rgba(233, 169, 58, .6);
	--ybd-head-h: 78px;
	--ybd-ease: cubic-bezier(.2, .8, .2, 1);
	/* confetti dots (used by .ybd-confetti) */
	--ybd-dots: radial-gradient(circle at 8% 22%, var(--ybd-coral) 0 3px, transparent 4px), radial-gradient(circle at 18% 70%, var(--ybd-teal) 0 2.5px, transparent 3.5px),
		radial-gradient(circle at 31% 12%, var(--ybd-gold) 0 2px, transparent 3px), radial-gradient(circle at 44% 82%, var(--ybd-violet) 0 3px, transparent 4px),
		radial-gradient(circle at 57% 30%, var(--ybd-gold) 0 2.5px, transparent 3.5px), radial-gradient(circle at 69% 64%, var(--ybd-coral) 0 2px, transparent 3px),
		radial-gradient(circle at 81% 18%, var(--ybd-teal) 0 3px, transparent 4px), radial-gradient(circle at 92% 76%, var(--ybd-gold) 0 2.5px, transparent 3.5px),
		radial-gradient(circle at 75% 92%, var(--ybd-violet) 0 2px, transparent 3px), radial-gradient(circle at 3% 90%, var(--ybd-gold) 0 2px, transparent 3px);
}
html[lang^="ar"] {
	--ybd-serif: 'El Messiri', 'Almarai', Tahoma, sans-serif;
	--ybd-sans: 'Almarai', Tahoma, 'Segoe UI', Arial, sans-serif;
}

/* ==========================================================================
   Base + Kadence resets
   ========================================================================== */
html { scroll-behavior: smooth; }
body { background: var(--ybd-ivory); color: var(--ybd-ink); font-family: var(--ybd-sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ybd-serif); color: inherit; letter-spacing: -.005em; font-weight: 700; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { letter-spacing: 0; line-height: 1.45; }
a { color: var(--ybd-gold-d); }
img { max-width: 100%; height: auto; }
::selection { background: var(--ybd-gold); color: var(--ybd-night); }

body.page .content-container.site-container,
body.home .content-container.site-container,
body.single-ybd_yacht .content-container.site-container,
body.blog .content-container.site-container,
body.archive .content-container.site-container { max-width: none; padding: 0; }
body.page .site-main > .content-wrap,
body.page .entry-content-wrap,
body.single-ybd_yacht .entry-content-wrap { padding: 0 !important; }
body.page .content-area, body.single-ybd_yacht .content-area { margin: 0; }
body.page .entry.single-entry { box-shadow: none; background: transparent; border-radius: 0; }
body.page .entry-content { margin: 0; }
body.page .entry-content > * { max-width: none; }
#masthead, .site-header .site-header-wrap, .site-footer .site-footer-wrap { display: none; }

.ybd-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ybd-narrow { max-width: 900px; }
.ybd-center { text-align: center; margin-top: 30px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.ybd-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* confetti layer (CSS only) */
.ybd-confetti { position: absolute; inset: 0; pointer-events: none; background: var(--ybd-dots); background-size: 520px 360px; opacity: .55; animation: ybd-drift 38s linear infinite; z-index: 0; }
.ybd-confetti::after { content: ""; position: absolute; inset: 0; background: var(--ybd-dots); background-size: 380px 300px; background-position: 140px 90px; opacity: .6; animation: ybd-drift 52s linear infinite reverse; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.ybd-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 700 16px/1 var(--ybd-sans); text-decoration: none !important; cursor: pointer; transition: transform .25s var(--ybd-ease), box-shadow .25s, background .25s, color .25s; overflow: hidden; white-space: nowrap; }
.ybd-btn:hover { transform: translateY(-2px); }
.ybd-btn:focus-visible { outline: 3px solid var(--ybd-teal); outline-offset: 3px; }
.ybd-btn svg { width: 20px; height: 20px; flex: none; }
.ybd-btn-gold { background: var(--ybd-btn); color: var(--ybd-night) !important; box-shadow: var(--ybd-shadow-gold); }
.ybd-btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: ybd-sweep 5s ease-in-out infinite; }
.ybd-btn-wa { background: var(--ybd-wa); color: #05331a !important; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.ybd-btn-wa:hover { background: #2fe174; }
.ybd-btn-ghost { background: transparent; color: var(--ybd-ink) !important; box-shadow: inset 0 0 0 2px var(--ybd-ink); }
.ybd-dark .ybd-btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.ybd-btn-line { background: transparent; color: var(--ybd-ink) !important; box-shadow: inset 0 0 0 2px var(--ybd-gold2); }
.ybd-dark .ybd-btn-line, .ybd-footer .ybd-btn-line { color: var(--ybd-gold) !important; box-shadow: inset 0 0 0 2px rgba(243, 201, 105, .6); }
.ybd-btn-glass { background: rgba(255, 255, 255, .12); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ybd-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.ybd-btn-block { width: 100%; }
.ybd-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ybd-head .ybd-ctas, .ybd-center .ybd-ctas { justify-content: center; }

@keyframes ybd-sweep { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes ybd-shine { to { background-position: 200% center; } }
@keyframes ybd-drift { from { background-position: 0 0; } to { background-position: 520px 720px; } }
@keyframes ybd-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes ybd-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ybd-pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }

/* ==========================================================================
   Header
   ========================================================================== */
.ybd-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--ybd-head-h); display: flex; align-items: center; color: #fff; transition: background .35s, box-shadow .35s, height .35s; }
.admin-bar .ybd-header { top: 32px; }
.ybd-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 15, 46, .7), rgba(11, 15, 46, 0)); pointer-events: none; transition: opacity .35s; }
.ybd-header.is-solid { background: rgba(11, 15, 46, .93); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); --ybd-head-h: 68px; }
.ybd-header.is-solid::before { opacity: 0; }
body:not(.ybd-photo-top) #inner-wrap { padding-top: 68px; }
.ybd-nav { position: relative; display: flex; align-items: center; gap: 20px; }
.ybd-logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; color: #fff; }
.ybd-logo-img { height: 52px; width: auto; }
.ybd-wordmark { display: inline-flex; align-items: center; gap: 10px; height: auto; }
.ybd-mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 14px rgba(243, 201, 105, .35)); }
.ybd-wm-t { display: inline-flex; flex-direction: column; font: 700 22px/1 var(--ybd-serif); color: #fff; letter-spacing: .01em; }
.ybd-wm-t small { margin-top: 4px; font: 700 10px/1.2 var(--ybd-sans); letter-spacing: .32em; text-transform: uppercase; background: var(--ybd-goldgrad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ybd-nav-menu { margin-inline-start: auto; }
.ybd-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ybd-menu > li { position: relative; }
.ybd-menu > li > a, .ybd-sub-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; color: #fff; text-decoration: none; font: 600 15px/1 var(--ybd-sans); background: none; border: 0; cursor: pointer; transition: background .2s, color .2s; }
.ybd-menu > li > a:hover, .ybd-sub-btn:hover, .ybd-menu .current-menu-item > a { background: rgba(255, 255, 255, .1); color: var(--ybd-gold); }
.ybd-sub-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ybd-sub { position: absolute; top: calc(100% + 10px); inset-inline-start: -40px; width: 520px; padding: 12px; border-radius: 20px; background: rgba(11, 15, 46, .98); box-shadow: var(--ybd-shadow); border: 1px solid rgba(243, 201, 105, .2); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ybd-ease); }
.ybd-sub ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ybd-sub a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; color: #fff; text-decoration: none; }
.ybd-sub a b { font: 700 18px/1.2 var(--ybd-serif); }
.ybd-sub a small { font-size: 12px; color: #aab0d8; }
.ybd-sub a:hover { background: rgba(243, 201, 105, .1); }
.ybd-sub a:hover b { color: var(--ybd-gold); }
.ybd-sub .ybd-sub-all { flex-direction: row; justify-content: center; margin-top: 6px; padding: 12px; font-weight: 700; font-size: 14px; color: var(--ybd-gold); border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 0 0 12px 12px; }
.has-sub:hover .ybd-sub, .has-sub:focus-within .ybd-sub, .has-sub.open .ybd-sub { opacity: 1; visibility: visible; transform: none; }
.ybd-head-end { display: flex; align-items: center; gap: 10px; }
.ybd-head-call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.ybd-head-call:hover { background: rgba(255, 255, 255, .1); color: var(--ybd-gold); }
.ybd-head-call .ybd-i { width: 19px; height: 19px; }
.ybd-head-book { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ybd-burger { display: none; }

/* language menu */
.ybd-lsel { position: relative; }
.ybd-lsel-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; background: none; border: 0; color: #fff; font: 700 13px/1 var(--ybd-sans); cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.ybd-lsel-btn svg:last-child { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ybd-flag { width: 20px; height: 20px; flex: none; }
.ybd-lsel-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; list-style: none; margin: 0; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--ybd-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.ybd-lsel.open .ybd-lsel-list { opacity: 1; visibility: visible; transform: none; }
.ybd-lsel-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ybd-ink); text-decoration: none; font-weight: 600; }
.ybd-lsel-list a:hover, .ybd-lsel-list a.on { background: var(--ybd-sand); color: var(--ybd-gold-d); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ybd-footer { background: var(--ybd-night); color: #c9cdeb; position: relative; }
.ybd-fcta { padding: 70px 0 10px; background: linear-gradient(180deg, var(--ybd-ivory) 0 50%, var(--ybd-night) 50% 100%); }
.ybd-fcta-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; padding: 52px; border-radius: 32px; color: #fff; background: radial-gradient(circle at 12% 0%, rgba(255, 111, 97, .35), transparent 55%), radial-gradient(circle at 100% 100%, rgba(79, 209, 197, .25), transparent 50%), linear-gradient(135deg, var(--ybd-night3), var(--ybd-night)); box-shadow: 0 40px 80px -40px rgba(233, 169, 58, .45); border: 1px solid rgba(243, 201, 105, .25); }
.ybd-fcta-box > *:not(.ybd-confetti) { position: relative; z-index: 1; }
.ybd-fcta-box h2 { margin: 8px 0 10px; font-size: clamp(32px, 4vw, 50px); color: #fff; }
.ybd-fcta-box p { margin: 0; color: #d8dbf3; }
.ybd-fcta-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ybd-fcta-stats li { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.ybd-fcta-stats b { display: block; font: 700 28px/1.2 var(--ybd-serif); background: var(--ybd-goldgrad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ybd-fcta-stats span { font-size: 13px; color: #aab0d8; }
.ybd-fbody { padding: 60px 0 110px; }
.ybd-fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ybd-fgrid h4 { margin: 0 0 14px; font-size: 20px; color: #fff; }
.ybd-fgrid a { display: block; padding: 4px 0; color: #c9cdeb; text-decoration: none; font-size: 15px; }
.ybd-fgrid a:hover { color: var(--ybd-gold); }
.ybd-fbrand p { font-size: 15px; color: #aab0d8; margin: 14px 0; }
.ybd-fmap { display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 16px !important; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(243, 201, 105, .45); color: var(--ybd-gold) !important; }
.ybd-fmap .ybd-i { width: 18px; height: 18px; }
.ybd-fnote { display: block; margin-top: 8px; font-size: 13px; color: #8a90bd; }
.ybd-fpay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ybd-fpay p { margin: 0; font-size: 14px; color: #aab0d8; max-width: 560px; }
.ybd-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13px; color: #8a90bd; }
.ybd-copy-links a { color: #8a90bd; margin-inline-start: 16px; text-decoration: none; }

/* payment badges (text + CSS – no external logos) */
.ybd-paybadges { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ybd-paybadges i { display: inline-grid; place-items: center; height: 30px; min-width: 52px; padding: 0 10px; border-radius: 7px; font: 800 13px/1 var(--ybd-sans); font-style: normal; letter-spacing: .02em; }
.ybd-paybadges .b-visa { background: #fff; color: #1a1f71; font-style: italic; letter-spacing: .06em; box-shadow: inset 0 0 0 1px #e6e6ef; }
.ybd-paybadges .b-mc { background: #fff; position: relative; min-width: 52px; box-shadow: inset 0 0 0 1px #e6e6ef; }
.ybd-paybadges .b-mc s { position: absolute; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: #eb001b; }
.ybd-paybadges .b-mc s:first-child { left: 13px; }
.ybd-paybadges .b-mc s:last-child { left: 23px; background: #f79e1b; mix-blend-mode: multiply; }
.ybd-paybadges .b-tabby { background: #3bffc1; color: #1b1b1b; text-transform: lowercase; }
.ybd-paybadges .b-tamara { background: linear-gradient(90deg, #f7c6a3, #f4a7c3, #b9a7f7); color: #1b1b1b; text-transform: lowercase; }

/* floating WhatsApp – desktop only */
.ybd-wa-float { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 16px; border-radius: 999px; background: var(--ybd-wa); color: #05331a; font-weight: 800; text-decoration: none; box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .8); transition: transform .25s; }
.ybd-wa-float:hover { transform: translateY(-3px) scale(1.03); }
.ybd-wa-float svg { width: 28px; height: 28px; }
.ybd-wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(37, 211, 102, .5); animation: ybd-ring 2.4s ease-out infinite; }
@keyframes ybd-ring { from { transform: scale(.92); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
