/*
 * AACC — Stitch "Modern Ministry Hub" custom styles.
 * Exact hand-written CSS emitted by the Stitch design tool. The Tailwind
 * utilities are generated by the Tailwind Play CDN; this file holds the
 * bespoke rules the mockups carry in their <style> blocks.
 */

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body {
	background-color: #f8f9fa; /* bg-background fallback */
	color: #191c1d; /* text-on-background fallback */
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* -------------------------------------------------------------------------
 * Reveal animations
 * ---------------------------------------------------------------------- */
.reveal-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-up.active {
	opacity: 1;
	transform: translateY(0);
}

.reveal-left {
	opacity: 0;
	transform: translateX(-30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-left.active {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right {
	opacity: 0;
	transform: translateX(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-right.active {
	opacity: 1;
	transform: translateX(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* -------------------------------------------------------------------------
 * Glass filter (sermon archive sticky bar)
 * ---------------------------------------------------------------------- */
.glass-filter {
	background: rgba(255, 255, 255, 0.7);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* -------------------------------------------------------------------------
 * Event ghost cards + chips (events page)
 * ---------------------------------------------------------------------- */
.ghost-card {
	border: 1px solid rgba(73, 97, 119, 0.1);
	transition: all 0.3s ease;
}
.ghost-card:hover {
	background-color: #ffffff;
	box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.soft-ambient-shadow {
	box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.chip {
	background-color: rgba(73, 97, 119, 0.1);
	color: #496177;
}

.ghost-border {
	border: 1px solid rgba(73, 97, 119, 0.1);
}

.soft-ambient-shadow:hover {
	box-shadow: 0 20px 40px -10px rgba(0, 1, 1, 0.1);
	transform: translateY(-2px);
	transition: all 0.3s ease;
}

/* -------------------------------------------------------------------------
 * Scrollbar hiding (filter strips / scroll rows)
 * ---------------------------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar,
.hide-scrollbar::-webkit-scrollbar {
	display: none;
}
.no-scrollbar,
.hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* -------------------------------------------------------------------------
 * Custom floating animation (Grace Kids blobs)
 * ---------------------------------------------------------------------- */
@keyframes float {
	0% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-15px) rotate(3deg); }
	100% { transform: translateY(0px) rotate(0deg); }
}
.animate-float {
	animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
	animation: float 7s ease-in-out infinite;
	animation-delay: 2s;
}

@media (prefers-reduced-motion: reduce) {
	.reveal-up,
	.reveal-left,
	.reveal-right {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.animate-float,
	.animate-float-delayed {
		animation: none !important;
	}
}

/* No-JS / scripting-disabled fallback: never hide reveal content. */
@media (scripting: none) {
	.reveal-up,
	.reveal-left,
	.reveal-right {
		opacity: 1 !important;
		transform: none !important;
	}
}
