/* ==========================================================================
   Carey Church — Homepage (mockup design)
   ========================================================================== */

.is-front-page .site-main { padding-bottom: 0; }

/* Hero — Carey branding leads; photo is atmosphere, not the main focus */
.home-hero {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: 72% center;
	background-color: var(--color-navy-dark);
}
.home-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.92) 0%,
		rgba(255, 255, 255, 0.82) 42%,
		rgba(255, 255, 255, 0.45) 68%,
		rgba(255, 255, 255, 0.18) 100%
	);
}
.home-hero__content {
	position: relative;
	z-index: 1;
	max-width: 620px;
	padding-top: 2.75rem;
	padding-bottom: 3.25rem;
}
.home-hero__title {
	font-size: clamp(2.1rem, 4.5vw, 2.85rem);
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 1rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
}
.home-hero__title-line {
	display: block;
}
.home-hero__text {
	font-size: 1.0625rem;
	font-weight: 400;
	color: var(--color-navy);
	line-height: 1.6;
	margin: 0 0 1.75rem;
	max-width: 520px;
}
.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}
.home-hero__actions .btn--outline-navy {
	background: transparent;
	color: var(--color-navy);
	border: 2px solid var(--color-navy);
}
.home-hero__actions .btn--outline-navy:hover {
	background: rgba(27, 58, 92, 0.06);
	color: var(--color-navy);
}
.home-hero__wave {
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	z-index: 2;
	line-height: 0;
}
.home-hero__wave svg {
	display: block;
	width: 100%;
	height: 60px;
}

/* You are welcome here */
.home-welcome {
	padding: 3.5rem 0;
	background: var(--color-white);
}
.home-welcome__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 3rem;
	align-items: start;
}
.home-welcome__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-teal);
	margin: 0 0 1rem;
}
.home-welcome__intro p {
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.7;
}

.home-values {
	display: flex;
	align-items: flex-start;
	gap: 0;
}
.home-values__item {
	flex: 1;
	text-align: center;
	padding: 0 1.25rem;
}
.home-values__divider {
	width: 1px;
	background: var(--color-border);
	align-self: stretch;
	min-height: 120px;
}
.home-values__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.75rem;
}
.home-values__icon--red { background: #fdecea; color: var(--color-red); }
.home-values__icon--orange { background: #fef3e6; color: var(--color-orange); }
.home-values__icon--teal { background: #e6f7f7; color: var(--color-teal); }
.home-values__heading {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 0.35rem;
}
.home-values__item p {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	margin: 0;
	line-height: 1.5;
}

/* Section titles */
.home-section-title {
	text-align: center;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 2rem;
}
.home-section-cta {
	text-align: center;
	margin-top: 2rem;
}

/* Activities */
.home-activities {
	padding: 3.5rem 0;
	background: var(--color-white);
}
.home-activities__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}
.home-activity-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 2px 12px rgba(27, 58, 92, 0.05);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.home-activity-card:hover {
	box-shadow: 0 8px 24px rgba(27, 58, 92, 0.1);
	transform: translateY(-2px);
}
.home-activity-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.75rem;
}
.home-activity-card__icon--red { background: #fdecea; color: var(--color-red); }
.home-activity-card__icon--orange { background: #fef3e6; color: var(--color-orange); }
.home-activity-card__icon--teal { background: #e6f7f7; color: var(--color-teal); }
.home-activity-card__icon--navy { background: #e8eef4; color: var(--color-navy); }
.home-activity-card__day {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 0.25rem;
}
.home-activity-card__day--red { color: var(--color-red); }
.home-activity-card__day--orange { color: var(--color-orange); }
.home-activity-card__day--teal { color: var(--color-teal); }
.home-activity-card__day--navy { color: var(--color-navy); }
.home-activity-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 0.15rem;
}
.home-activity-card__time {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0 0 0.5rem;
}
.home-activity-card__desc {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	line-height: 1.55;
	margin: 0 0 1rem;
	flex: 1;
}
.home-activity-card__link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-navy);
	text-decoration: none;
}
.home-activity-card__link:hover { color: var(--color-teal); }

/* About / Welcome */
.home-about {
	padding: 3.5rem 0;
	background: var(--color-bg-cream);
}
.home-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 2.5rem;
	align-items: center;
}
.home-about__image {
	max-width: 380px;
}
.home-about__image img {
	width: 100%;
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(27, 58, 92, 0.1);
	object-fit: cover;
	aspect-ratio: 5/4;
}
.home-about__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 1rem;
}
.home-about__content p {
	color: var(--color-text-muted);
	line-height: 1.7;
	margin: 0 0 1rem;
}
.home-about__signature {
	font-family: var(--font-script);
	font-size: 1.75rem;
	font-style: italic;
	font-weight: 500;
	color: var(--color-teal) !important;
	margin-top: 1.25rem !important;
}

/* Explore More */
.home-explore {
	padding: 3.5rem 0;
	background: var(--color-white);
}
.home-explore__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.home-explore-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.25rem 1.5rem;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-height: 120px;
}
.home-explore-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(27, 58, 92, 0.08);
	color: inherit;
}
.home-explore-card--pink { background: #fdf0f0; }
.home-explore-card--tan { background: #faf3e8; }
.home-explore-card--teal { background: #e8f7f7; }
.home-explore-card--blue { background: #eaf0f8; }
.home-explore-card__icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.65rem;
	background: rgba(255,255,255,0.6);
}
.home-explore-card__icon--red { color: var(--color-red); }
.home-explore-card__icon--orange { color: var(--color-orange); }
.home-explore-card__icon--teal { color: var(--color-teal); }
.home-explore-card__icon--navy { color: var(--color-navy); }
.home-explore-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-navy);
	margin: 0 0 0.2rem;
}
.home-explore-card__desc {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* Find Us panel */
.home-find {
	padding: 3rem 0 4rem;
	background: var(--color-white);
}
.home-find__panel {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0;
	background: var(--color-navy);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(27, 58, 92, 0.2);
}
.home-find__map .map-embed,
.home-find__map .map-embed--placeholder {
	border-radius: 0;
	min-height: 100%;
}
.home-find__map .map-embed iframe { min-height: 280px; height: 100%; }
.home-find__map .map-embed--placeholder {
	background: #2a4f6e;
	color: rgba(255,255,255,0.6);
}
.home-find__content {
	padding: 2.5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: var(--color-white);
}
.home-find__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--color-white);
	margin: 0 0 0.75rem;
}
.home-find__content p {
	color: rgba(255,255,255,0.85);
	line-height: 1.65;
	margin: 0 0 1rem;
}
.home-find__address {
	font-style: normal;
	color: rgba(255,255,255,0.95);
	line-height: 1.55;
	margin: 0 0 1.5rem;
	font-weight: 500;
}

/* Facebook feed */
.home-facebook {
	padding: var(--space-xl) 0;
	background: var(--color-bg-cream);
}
.home-facebook__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
	gap: 2.5rem;
	align-items: start;
}
.home-facebook__title {
	text-align: left;
	margin-bottom: 1rem;
}
.home-facebook__intro p {
	color: var(--color-text-muted);
	margin: 0;
	max-width: 36rem;
}
.home-facebook__embed {
	justify-self: end;
	width: 100%;
	max-width: 500px;
}
.facebook-feed {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-md);
}
.facebook-feed .fb-page,
.facebook-feed .fb-page > span,
.facebook-feed iframe {
	width: 100% !important;
}
.facebook-feed__fallback {
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
	text-align: center;
	border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 1024px) {
	.home-activities__grid,
	.home-explore__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.is-front-page .container {
		padding-inline: 1.75rem;
	}

	.home-welcome__grid { grid-template-columns: 1fr; gap: 2rem; }
	.home-welcome__intro,
	.home-welcome__title {
		text-align: center;
	}
	.home-values {
		flex-direction: column;
		align-items: center;
		gap: 1.5rem;
		width: 100%;
	}
	.home-values__divider {
		width: min(280px, 100%);
		height: 1px;
		min-height: 0;
		margin-inline: auto;
	}
	.home-values__item {
		padding: 0;
		width: 100%;
		max-width: 320px;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.home-about__grid { grid-template-columns: 1fr; }
	.home-about__image {
		order: 1;
		max-width: 280px;
		margin-inline: auto;
	}
	.home-find__panel { grid-template-columns: 1fr; }
	.home-facebook__grid { grid-template-columns: 1fr; }
	.home-facebook__embed { justify-self: stretch; max-width: none; }
	.home-hero {
		min-height: 300px;
	}
	.home-hero__content {
		padding-top: 2.25rem;
		padding-bottom: 3rem;
	}
	.home-hero__actions {
		flex-direction: column;
		align-items: stretch;
	}
	.home-hero__actions .btn {
		width: 100%;
		justify-content: center;
	}
	.home-hero__overlay {
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.94) 0%,
			rgba(255, 255, 255, 0.78) 55%,
			rgba(255, 255, 255, 0.5) 100%
		);
	}
}

@media (max-width: 480px) {
	.is-front-page .container {
		padding-inline: 2rem;
	}

	.home-activities__grid,
	.home-explore__grid { grid-template-columns: 1fr; }
}

/* Weekly schedule (migrated from careybaptist.co.uk homepage) */
.home-schedule {
	padding: 3rem 0;
	background: var(--color-off-white, #f8f9fb);
}
.home-schedule__content {
	max-width: 52rem;
	margin: 0 auto;
}
.home-schedule__content h4,
.home-schedule__content h5,
.home-schedule__content h6 {
	margin: 0.5rem 0;
	font-weight: 600;
	color: var(--color-navy);
}
