/*
Theme Name: HVACH
Theme URI: https://happyvalleyach.com
Author: Happy Valley Adult Care Home
Description: A warm, accessible block theme for Happy Valley Adult Care Home.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
Version: 0.1.1
Text Domain: hvach
*/

:root {
	--hvach-shadow: 0 18px 50px rgba(60, 55, 38, 0.12);
}

html {
	scroll-behavior: smooth;
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

a {
	text-underline-offset: 0.18em;
}

.wp-site-blocks {
	overflow: clip;
}

.site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--wp--preset--color--sand);
}

.site-header .wp-block-site-title a,
.site-footer a {
	text-decoration: none;
}

.site-header .wp-block-navigation-item__content {
	text-decoration: none;
}

.site-header .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation-item__content:focus {
	color: var(--wp--preset--color--gold);
}

.wp-block-button__link {
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--evergreen);
	color: var(--wp--preset--color--cream);
}

.eyebrow {
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero-panel {
	position: relative;
}

.hero-panel::after {
	position: absolute;
	right: -7rem;
	bottom: -9rem;
	width: 19rem;
	height: 19rem;
	border: 1px solid rgba(143, 98, 28, 0.32);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.photo-placeholder {
	position: relative;
	min-height: 30rem;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(70, 83, 49, 0.08), rgba(70, 83, 49, 0.38)),
		linear-gradient(25deg, #d9c9aa 0 34%, #a5a17d 34% 55%, #6f7650 55% 100%);
	box-shadow: var(--hvach-shadow);
}

.photo-placeholder::before {
	position: absolute;
	top: 13%;
	right: 12%;
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	background: rgba(245, 237, 221, 0.68);
	content: "";
}

.photo-placeholder::after {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	background: rgba(245, 237, 221, 0.94);
	color: var(--wp--preset--color--evergreen);
	content: "Home photography coming soon";
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.photo-placeholder.is-interior {
	min-height: 20rem;
	background:
		linear-gradient(180deg, rgba(245, 237, 221, 0.1), rgba(70, 83, 49, 0.27)),
		linear-gradient(135deg, #dfcfb3 0 38%, #b79d68 38% 42%, #7d815f 42% 100%);
}

.photo-placeholder.is-portrait {
	min-height: 26rem;
	background:
		linear-gradient(150deg, rgba(70, 83, 49, 0.06), rgba(70, 83, 49, 0.32)),
		linear-gradient(35deg, #dbc7a4 0 42%, #939470 42% 100%);
}

.trust-card,
.service-card,
.contact-card {
	height: 100%;
	border: 1px solid var(--wp--preset--color--sand);
	box-shadow: 0 12px 35px rgba(60, 55, 38, 0.08);
}

.service-number {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wp--preset--color--pale-gold);
	color: var(--wp--preset--color--evergreen);
	font-weight: 700;
}

.gallery-placeholder {
	min-height: 16rem;
	background: linear-gradient(145deg, var(--wp--preset--color--sand), #9c9b78);
}

.gallery-placeholder:nth-child(2n) {
	background: linear-gradient(35deg, #c8b389, #6f7650);
}

.gallery-placeholder p {
	align-self: flex-end;
}

.site-footer {
	margin-block-start: 0;
}

.site-footer .wp-block-navigation {
	row-gap: 0.65rem;
}

@media (max-width: 781px) {
	.hero-panel {
		padding-top: var(--wp--preset--spacing--50) !important;
	}

	.photo-placeholder {
		min-height: 22rem;
	}

	.mobile-stack-reverse {
		flex-direction: column-reverse;
	}

	.site-header .header-cta {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.wp-block-button__link {
		transition: none;
	}
}
