/*
Theme Name:   Wedding Yacht Abu Dhabi
Theme URI:    https://yachtweddingabudhabi.com/
Description:  Kadence child theme for Wedding Yacht Abu Dhabi – 13 private wedding yachts and house boats from the Abu Dhabi Corniche and Saadiyat Island. Ivory, champagne and soft blush design with serif headings, package prices from one fleet data file, online booking + WooCommerce payment (PayMob, Mamo, Tabby, Tamara) or WhatsApp, EN / AR / RU / FR / DE / ZH / IT (Polylang), SEO-first and lightweight (no jQuery, no page builder). Forked from ybd-child 1.0.24.
Author:       Mohammed Zaki
Author URI:   https://yachtweddingabudhabi.com/
Template:     kadence
Version:      0.1.0
Requires PHP: 7.4
Text Domain:  ywa-child
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	/* Wedding palette: deep plum (dark sections) · champagne gold (ONLY on dark) · ivory · soft blush. */
	--ywa-night: #2a1d2b;
	--ywa-night2: #3a2838;
	--ywa-night3: #4d3549;
	--ywa-gold: #e6cf9f;   /* champagne – text on dark backgrounds only */
	--ywa-gold2: #c9a46a;  /* decorative (icons, borders) – never body text on light */
	--ywa-gold-d: #7a3f4c; /* accent TEXT on light backgrounds = deep rosewood, not gold */
	--ywa-coral: #e8b4b8;  /* blush */
	--ywa-teal: #a9bfae;   /* sage */
	--ywa-violet: #c9a6c1; /* mauve */
	--ywa-ivory: #fbf6ee;
	--ywa-sand: #f6ece6;   /* blush sand */
	--ywa-ink: #2a1d2b;
	--ywa-muted: #6b5a63;
	--ywa-line: #eadcd3;
	--ywa-wa: #25d366;
	--ywa-goldgrad: linear-gradient(120deg, #fbf1dc 0%, #e6cf9f 35%, #d9bb85 60%, #f3e3c0 80%, #e6cf9f 100%);
	--ywa-btn: linear-gradient(135deg, #f3e3c0 0%, #e6cf9f 45%, #d6b47c 100%);
	--ywa-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--ywa-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--ywa-r: 22px;
	--ywa-r-sm: 14px;
	--ywa-shadow: 0 20px 50px -22px rgba(42, 29, 43, .4);
	--ywa-shadow-gold: 0 14px 34px -12px rgba(201, 164, 106, .55);
	--ywa-head-h: 78px;
	--ywa-ease: cubic-bezier(.2, .8, .2, 1);
	/* soft sparkle (used by .ywa-confetti) – a few champagne + blush points, no party confetti */
	--ywa-dots: radial-gradient(circle at 12% 24%, rgba(230, 207, 159, .55) 0 1.5px, transparent 2.5px), radial-gradient(circle at 34% 78%, rgba(232, 180, 184, .45) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 58% 18%, rgba(230, 207, 159, .45) 0 1.2px, transparent 2.2px), radial-gradient(circle at 81% 66%, rgba(232, 180, 184, .4) 0 1.5px, transparent 2.5px),
		radial-gradient(circle at 92% 22%, rgba(230, 207, 159, .5) 0 1.2px, transparent 2.2px);
}
html[lang^="ar"] {
	--ywa-serif: 'El Messiri', 'Almarai', Tahoma, sans-serif;
	--ywa-sans: 'Almarai', Tahoma, 'Segoe UI', Arial, sans-serif;
}

/* ==========================================================================
   Base + Kadence resets
   ========================================================================== */
html { scroll-behavior: smooth; }
body { background: var(--ywa-ivory); color: var(--ywa-ink); font-family: var(--ywa-sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ywa-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(--ywa-gold-d); }
img { max-width: 100%; height: auto; }
::selection { background: var(--ywa-gold); color: var(--ywa-night); }

body.page .content-container.site-container,
body.home .content-container.site-container,
body.single-ywa_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-ywa_yacht .entry-content-wrap { padding: 0 !important; }
body.page .content-area, body.single-ywa_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; }

.ywa-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.ywa-narrow { max-width: 900px; }
.ywa-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; }
.ywa-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) */
.ywa-confetti { position: absolute; inset: 0; pointer-events: none; background: var(--ywa-dots); background-size: 520px 360px; opacity: .55; animation: ywa-drift 38s linear infinite; z-index: 0; }
.ywa-confetti::after { content: ""; position: absolute; inset: 0; background: var(--ywa-dots); background-size: 380px 300px; background-position: 140px 90px; opacity: .6; animation: ywa-drift 52s linear infinite reverse; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.ywa-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(--ywa-sans); text-decoration: none !important; cursor: pointer; transition: transform .25s var(--ywa-ease), box-shadow .25s, background .25s, color .25s; overflow: hidden; white-space: nowrap; }
.ywa-btn:hover { transform: translateY(-2px); }
.ywa-btn:focus-visible { outline: 3px solid var(--ywa-teal); outline-offset: 3px; }
.ywa-btn svg { width: 20px; height: 20px; flex: none; }
.ywa-btn-gold { background: var(--ywa-btn); color: var(--ywa-night) !important; box-shadow: var(--ywa-shadow-gold); }
.ywa-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: ywa-sweep 5s ease-in-out infinite; }
.ywa-btn-wa { background: var(--ywa-wa); color: #05331a !important; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .7); }
.ywa-btn-wa:hover { background: #2fe174; }
.ywa-btn-ghost { background: transparent; color: var(--ywa-ink) !important; box-shadow: inset 0 0 0 2px var(--ywa-ink); }
.ywa-dark .ywa-btn-ghost { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.ywa-btn-line { background: transparent; color: var(--ywa-ink) !important; box-shadow: inset 0 0 0 2px var(--ywa-gold2); }
.ywa-dark .ywa-btn-line, .ywa-footer .ywa-btn-line { color: var(--ywa-gold) !important; box-shadow: inset 0 0 0 2px rgba(230, 207, 159, .6); }
.ywa-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); }
.ywa-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.ywa-btn-block { width: 100%; }
.ywa-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ywa-head .ywa-ctas, .ywa-center .ywa-ctas { justify-content: center; }

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

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

/* language menu */
.ywa-lsel { position: relative; }
.ywa-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(--ywa-sans); cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.ywa-lsel-btn svg:last-child { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ywa-flag { width: 20px; height: 20px; flex: none; }
.ywa-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(--ywa-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.ywa-lsel.open .ywa-lsel-list { opacity: 1; visibility: visible; transform: none; }
.ywa-lsel-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ywa-ink); text-decoration: none; font-weight: 600; }
.ywa-lsel-list a:hover, .ywa-lsel-list a.on { background: var(--ywa-sand); color: var(--ywa-gold-d); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ywa-footer { background: var(--ywa-night); color: #e4d6db; position: relative; }
.ywa-fcta { padding: 70px 0 10px; background: linear-gradient(180deg, var(--ywa-ivory) 0 50%, var(--ywa-night) 50% 100%); }
.ywa-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(232, 180, 184, .35), transparent 55%), radial-gradient(circle at 100% 100%, rgba(169, 191, 174, .25), transparent 50%), linear-gradient(135deg, var(--ywa-night3), var(--ywa-night)); box-shadow: 0 40px 80px -40px rgba(201, 164, 106, .45); border: 1px solid rgba(230, 207, 159, .25); }
.ywa-fcta-box > *:not(.ywa-confetti) { position: relative; z-index: 1; }
.ywa-fcta-box h2 { margin: 8px 0 10px; font-size: clamp(32px, 4vw, 50px); color: #fff; }
.ywa-fcta-box p { margin: 0; color: #eee3e6; }
.ywa-fcta-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.ywa-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); }
.ywa-fcta-stats b { display: block; font: 700 28px/1.2 var(--ywa-serif); background: var(--ywa-goldgrad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ywa-fcta-stats span { font-size: 13px; color: #d8c6cd; }
.ywa-fbody { padding: 60px 0 110px; }
.ywa-fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ywa-fgrid h3, .ywa-fgrid h4 { margin: 0 0 14px; font-size: 20px; color: #fff; }
.ywa-fgrid a { display: block; padding: 4px 0; color: #e4d6db; text-decoration: none; font-size: 15px; }
.ywa-fgrid a:hover { color: var(--ywa-gold); }
.ywa-fbrand p { font-size: 15px; color: #d8c6cd; margin: 14px 0; }
.ywa-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(230, 207, 159, .45); color: var(--ywa-gold) !important; }
.ywa-fmap .ywa-i { width: 18px; height: 18px; }
.ywa-fnote { display: block; margin-top: 8px; font-size: 13px; color: #b39ba7; }
.ywa-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); }
.ywa-fpay p { margin: 0; font-size: 14px; color: #d8c6cd; max-width: 560px; }
.ywa-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: 13px; color: #b39ba7; }
.ywa-copy-links a { color: #b39ba7; margin-inline-start: 16px; text-decoration: none; }

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

/* floating WhatsApp – desktop only */
.ywa-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(--ywa-wa); color: #05331a; font-weight: 800; text-decoration: none; box-shadow: 0 16px 36px -12px rgba(37, 211, 102, .8); transition: transform .25s; }
.ywa-wa-float:hover { transform: translateY(-3px) scale(1.03); }
.ywa-wa-float svg { width: 28px; height: 28px; }
.ywa-wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(37, 211, 102, .5); animation: ywa-ring 2.4s ease-out infinite; }
@keyframes ywa-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; }
}

/* 1.0.17 – grouped Yachts dropdown (40 yachts): scrollable panel, group headings, 3 columns on wide screens */
.ywa-sub.is-grouped { width: min(760px, 92vw); }
.ywa-sub-scroll { max-height: min(68vh, 620px); overflow-y: auto; overscroll-behavior: contain; padding-inline-end: 4px; scrollbar-width: thin; scrollbar-color: rgba(230, 207, 159, .55) transparent; }
/* 1.0.19: on-brand scrollbar for the yachts dropdown (gold thumb on the midnight panel, no white track). */
.ywa-sub-scroll::-webkit-scrollbar { width: 6px; }
.ywa-sub-scroll::-webkit-scrollbar-track { background: transparent; }
.ywa-sub-scroll::-webkit-scrollbar-thumb { background: rgba(230, 207, 159, .45); border-radius: 6px; }
.ywa-sub-scroll::-webkit-scrollbar-thumb:hover { background: rgba(230, 207, 159, .8); }
.ywa-sub-scroll::-webkit-scrollbar-button { display: none; height: 0; }
.ywa-sub.is-grouped ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ywa-sub-h { margin: 8px 12px 4px; font: 800 12px/1.2 var(--ywa-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ywa-gold); }
.ywa-sub-h small { color: #d8c6cd; font-weight: 600; letter-spacing: 0; }
html[lang^="ar"] .ywa-sub-h { letter-spacing: 0; }
.ywa-sub.is-grouped a { padding: 8px 10px; }
.ywa-sub.is-grouped a b { font-size: 16px; }
.ywa-sub li.is-flagship a { background: linear-gradient(135deg, rgba(230, 207, 159, .18), rgba(230, 207, 159, .04)); }
@media (max-width: 1100px) { .ywa-sub.is-grouped ul { grid-template-columns: 1fr 1fr; } }
/* badges + package line */
.ywa-trend-badge.is-flagship { background: linear-gradient(135deg, #e6cf9f, #c8962d); color: #1b1606; box-shadow: 0 8px 20px -8px rgba(230, 207, 159, .9); }
.ywa-trend-badge.is-lux { background: rgba(42, 29, 43, .86); color: #e6cf9f; box-shadow: none; }
.ywa-card.is-flagship { box-shadow: 0 0 0 2px rgba(230, 207, 159, .75), var(--ywa-shadow, 0 18px 40px -20px rgba(0, 0, 0, .4)); }
.ywa-card-req.is-incl { color: #1d6b55; font-weight: 600; }
.ywa-dpkg-flat { display: block; margin: 2px 0 6px; color: #1d6b55; font-weight: 600; }
.ywa-dr-h small { opacity: .7; font-weight: 600; }

/* 1.0.18 – "Occasions" dropdown (occasions, events, locations) */
.ywa-sub.is-occ { width: min(620px, 92vw); }
.ywa-sub.is-occ ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ywa-sub.is-occ a b { font: 700 15px/1.25 var(--ywa-sans); }
html[lang^="ar"] .ywa-sub.is-occ a b { font-family: Almarai, var(--ywa-sans); }
.ywa-footer a.ywa-fall { color: var(--ywa-gold); font-weight: 700; }
