/* Gadwala Bio Link: public page. Colors come from :root variables printed inline per page. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body.abl-body {
	margin: 0;
	min-height: 100vh;
	background: var(--abl-bg-solid);
	color: var(--abl-text);
	font-family: var(--abl-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.abl-body a { color: inherit; }
.abl-body img { max-width: 100%; height: auto; display: block; }

/* Background on a fixed layer: background-attachment: fixed is unreliable on mobile. */
body.abl-body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background: var(--abl-bg);
}
body.abl-noise::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .18;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.abl-wrap { position: relative; z-index: 1; min-height: 100vh; }

.abl-page {
	position: relative;
	width: 100%;
	max-width: 580px;
	margin: 0 auto;
	padding: 48px 16px 64px;
}

/* Profile ---------------------------------------------------------- */

.abl-profile { text-align: center; margin-bottom: 28px; }

.abl-profile__avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 14px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.abl-profile__name { font-size: 1.35rem; font-weight: 700; margin: 0 0 6px; line-height: 1.25; color: var(--abl-title); }
.abl-profile__bio { opacity: .85; font-size: .975rem; }
.abl-profile .abl-socials { margin-top: 12px; }
.abl-profile__bio p { margin: 0 0 .5em; }
.abl-profile__bio p:last-child { margin-bottom: 0; }

/* Layouts ---------------------------------------------------------- */

.abl-layout--hero .abl-cover {
	height: 200px;
	background: var(--abl-btn) center / cover no-repeat;
}
.abl-layout--hero .abl-page { padding-top: 0; }
.abl-layout--hero .abl-profile__avatar {
	width: 116px;
	height: 116px;
	margin-top: -58px;
	border: 4px solid var(--abl-card);
}
.abl-layout--hero .abl-share { top: 12px; }

.abl-layout--card .abl-wrap { padding: 32px 12px; }
.abl-layout--card .abl-page {
	background: var(--abl-card);
	border-radius: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
	padding: 40px 20px 32px;
}

.abl-layout--split .abl-profile {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 16px;
	align-items: center;
	text-align: start;
}
.abl-layout--split .abl-profile__avatar { grid-row: span 2; margin: 0; width: 80px; height: 80px; }
.abl-layout--split .abl-profile__name { align-self: end; }
.abl-layout--split .abl-profile__bio { align-self: start; }
.abl-layout--split .abl-btn { justify-content: flex-start; text-align: start; }

/* Share ------------------------------------------------------------ */

.abl-share {
	position: absolute;
	top: 14px;
	inset-inline-end: 14px;
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--abl-text) 10%, transparent);
	color: var(--abl-text);
	cursor: pointer;
	z-index: 2;
}
.abl-share:hover { background: color-mix(in srgb, var(--abl-text) 18%, transparent); }

.abl-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	background: #111;
	color: #fff;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: .875rem;
	z-index: 9999;
}

/* Blocks ----------------------------------------------------------- */

.abl-blocks { display: flex; flex-direction: column; gap: 14px; }
.abl-stack { display: flex; flex-direction: column; gap: 14px; }

.abl-align--left { text-align: left; }
.abl-align--right { text-align: right; }
.abl-align--center { text-align: center; }

.abl-heading { margin: 14px 0 0; font-weight: 700; line-height: 1.3; }
.abl-heading--sm { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.abl-heading--md { font-size: 1.15rem; }
.abl-heading--lg { font-size: 1.5rem; }

.abl-text p { margin: 0 0 .75em; }
.abl-text p:last-child { margin: 0; }

.abl-notice {
	padding: 12px 14px;
	border: 1px dashed currentColor;
	border-radius: 10px;
	font-size: .875rem;
	opacity: .8;
	margin: 0;
}

/* Buttons ---------------------------------------------------------- */

.abl-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 58px;
	padding: 10px 18px;
	border-radius: var(--abl-radius);
	background: var(--abl-btn);
	color: var(--abl-btn-text) !important;
	text-decoration: none;
	text-align: center;
	font-weight: 600;
	border: 2px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.abl-btn:hover { transform: translateY(-2px); }
.abl-btn:active { transform: translateY(0); }
.abl-btn:focus-visible { outline: 3px solid var(--abl-text); outline-offset: 2px; }

.abl-btn--has-media { padding-left: 64px; padding-right: 64px; }
.abl-btn__media {
	position: absolute;
	inset-inline-start: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	overflow: hidden;
	border-radius: calc(var(--abl-radius) * .7);
}
.abl-btn__media img { width: 100%; height: 100%; object-fit: cover; }
.abl-btn__body { display: flex; flex-direction: column; min-width: 0; }
.abl-btn__title { overflow-wrap: anywhere; }
.abl-btn__sub { font-size: .8rem; font-weight: 400; opacity: .8; }

.abl-btn-style--outline .abl-btn { background: transparent; border-color: var(--abl-btn); }
.abl-btn-style--outline .abl-btn:hover { background: color-mix(in srgb, var(--abl-btn) 15%, transparent); }
.abl-btn-style--glass .abl-btn {
	background: color-mix(in srgb, var(--abl-btn) 55%, transparent);
	border-color: color-mix(in srgb, var(--abl-btn) 70%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.abl-shadow--soft .abl-btn { box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.abl-shadow--soft .abl-btn:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.abl-shadow--strong .abl-btn { box-shadow: 0 8px 24px rgba(0, 0, 0, .32); }
.abl-shadow--hard .abl-btn { border-color: var(--abl-text); box-shadow: 4px 4px 0 var(--abl-text); }
.abl-shadow--hard .abl-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--abl-text); }

/* Text link: plain underlined text in the page's text color, no button. */
.abl-textlink { margin: 0; text-align: center; }
.abl-textlink a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--abl-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	overflow-wrap: anywhere;
}
.abl-textlink a:hover { opacity: .7; }
.abl-textlink a:focus-visible { outline: 2px solid var(--abl-text); outline-offset: 3px; border-radius: 4px; }
.abl-textlink__sub { display: block; font-size: .8rem; opacity: .75; margin-top: 2px; }
.abl-layout--split .abl-textlink { text-align: start; }

/* WhatsApp button: WhatsApp's official green, whatever the theme's button style. */
body .abl-btn.abl-btn--whatsapp {
	background: #25D366;
	border-color: #25D366;
	color: #fff !important;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
body .abl-btn.abl-btn--whatsapp:hover { background: #1ebe5b; }

/* Featured link */
.abl-featured {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--abl-radius);
	text-decoration: none;
	color: #fff !important;
	aspect-ratio: 16 / 9;
}
.abl-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.abl-featured:hover img { transform: scale(1.03); }
.abl-featured__cap {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	flex-direction: column;
	padding: 40px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .72));
	font-weight: 600;
}

/* Socials */
.abl-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; }
.abl-social {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	color: var(--abl-text) !important;
	transition: transform .15s ease, background .15s ease;
}
.abl-social:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--abl-text) 10%, transparent); }
.abl-socials--lg .abl-social { width: 52px; height: 52px; }
.abl-socials--sm .abl-social { width: 36px; height: 36px; }

/* Media */
.abl-image { margin: 0; }
.abl-image img { width: 100%; border-radius: var(--abl-radius); }
.abl-image figcaption { font-size: .85rem; opacity: .75; text-align: center; margin-top: 6px; }
.abl-embed { overflow: hidden; border-radius: min(var(--abl-radius), 16px); }
.abl-embed iframe { display: block; width: 100%; border: 0; }
.abl-embed iframe[src*="youtube"], .abl-embed iframe[src*="vimeo"] { height: auto; aspect-ratio: 16 / 9; }
.abl-embed blockquote { margin: 0 auto !important; }

.abl-divider--line { position: relative; }
.abl-divider--line::after {
	content: "";
	position: absolute;
	left: 15%;
	right: 15%;
	top: 50%;
	border-top: 1px solid currentColor;
	opacity: .2;
}

/* Bookings --------------------------------------------------------- */

.abl-services { display: flex; flex-direction: column; gap: 12px; }
.abl-services--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.abl-service {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	background: var(--abl-card);
	color: var(--abl-text);
	border-radius: var(--abl-radius);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
	border-radius: min(var(--abl-radius), 20px);
}
.abl-service__img { flex: 0 0 72px; }
.abl-service__img img { width: 72px; height: 72px; object-fit: cover; border-radius: min(var(--abl-radius), 12px); }
.abl-service__body { flex: 1; min-width: 0; text-align: start; }
.abl-service__title { font-weight: 600; display: block; line-height: 1.3; }
.abl-service__price { font-size: .9rem; opacity: .85; margin-top: 2px; }
.abl-service__desc { font-size: .8rem; opacity: .75; margin: 4px 0 0; }
.abl-service__action { flex: 0 0 auto; }

.abl-services--grid .abl-service { flex-direction: column; align-items: stretch; }
.abl-services--grid .abl-service__img { flex: none; }
.abl-services--grid .abl-service__img img { width: 100%; height: auto; aspect-ratio: 1; }
.abl-services--grid .abl-service__action > .abl-am-action { width: 100%; }

.abl-body .abl-am-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 40px;
	padding: 8px 16px;
	border: 0;
	border-radius: min(var(--abl-radius), 999px);
	background: var(--abl-btn);
	color: var(--abl-btn-text) !important;
	font: 600 .875rem/1.2 var(--abl-font);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.abl-am-embed {
	background: var(--abl-card);
	color: #1f2937;
	border-radius: min(var(--abl-radius), 20px);
	padding: 12px;
	overflow: hidden;
}

.abl-am-select {
	width: 100%;
	min-height: 58px;
	padding: 10px 18px;
	border: 2px solid var(--abl-btn);
	border-radius: var(--abl-radius);
	background: var(--abl-card);
	color: var(--abl-text);
	font: 600 1rem/1.2 var(--abl-font);
	cursor: pointer;
}

/* Animations ------------------------------------------------------- */

.abl-anim > * { animation-duration: 3s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.abl-anim--pulse > * { animation-name: abl-pulse; }
.abl-anim--shakex > * { animation-name: abl-shakex; }
.abl-anim--shakey > * { animation-name: abl-shakey; }
.abl-anim--tada > * { animation-name: abl-tada; }
.abl-anim--flash > * { animation-name: abl-flash; }
.abl-anim--glow > * { animation-name: abl-glow; animation-duration: 2s; }
.abl-anim--wobble > * { animation-name: abl-wobble; }

@keyframes abl-pulse { 0%, 30%, 100% { transform: scale(1); } 15% { transform: scale(1.05); } }
@keyframes abl-shakex { 0%, 30%, 100% { transform: translateX(0); } 5%, 15%, 25% { transform: translateX(-6px); } 10%, 20% { transform: translateX(6px); } }
@keyframes abl-shakey { 0%, 30%, 100% { transform: translateY(0); } 5%, 15%, 25% { transform: translateY(-5px); } 10%, 20% { transform: translateY(5px); } }
@keyframes abl-tada { 0%, 30%, 100% { transform: scale(1) rotate(0); } 3%, 6% { transform: scale(.95) rotate(-2deg); } 9%, 15%, 21%, 27% { transform: scale(1.05) rotate(2deg); } 12%, 18%, 24% { transform: scale(1.05) rotate(-2deg); } }
@keyframes abl-flash { 0%, 20%, 40%, 100% { opacity: 1; } 10%, 30% { opacity: .35; } }
@keyframes abl-glow { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--abl-btn) 60%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--abl-btn) 0%, transparent); } }
@keyframes abl-wobble { 0%, 30%, 100% { transform: translateX(0) rotate(0); } 5% { transform: translateX(-8px) rotate(-3deg); } 10% { transform: translateX(6px) rotate(2deg); } 15% { transform: translateX(-4px) rotate(-2deg); } 20% { transform: translateX(3px) rotate(1deg); } }

@media (prefers-reduced-motion: reduce) {
	.abl-anim > *, .abl-btn, .abl-featured img { animation: none !important; transition: none !important; }
}

@media (max-width: 420px) {
	.abl-page { padding-top: 40px; }
	.abl-services--grid { gap: 10px; }
	.abl-service__action .abl-am-action { padding: 8px 12px; }
}
