/* Page Hero Section */
.page-hero {
	position: relative;
	height: 60vh;
	min-height: 400px;
	max-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	width: 100vw;
}

.page-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.1);
	animation: heroZoom 20s ease-out infinite alternate;
}

@keyframes heroZoom {
	0% {
		transform: scale(1.1);
	}
	100% {
		transform: scale(1.2);
	}
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.3) 40%,
		rgba(0, 0, 0, 0.6) 100%
	);
	z-index: 2;
}

.page-hero-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: center;
}

.hero-content-inner {
	max-width: 800px;
	margin: 0 auto;
}

.page-title {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	color: white;
	margin: 0 0 1rem 0;
	line-height: 1.1;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.page-excerpt {
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin: 0;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	margin: 0 auto;
}

/* Main Content Section */
.page-main-content {
	padding: 0;
	background: var(--bg);
}

.page-content {
	margin: 0 auto;
	padding: 0 2rem;
}

/* No Header Page Styles */
.no-header-page {
	padding-top: 0;
	margin-top: 0;
}

.no-header-page .page-hero {
	margin-top: 0;
}

.no-header-page .page-main-content {
	padding-top: 2rem;
}

/* Full Width Page Styles */
.full-width-page .page-main-content {
	padding: 0;
}

.full-width-page .page-content {
	padding: 0;
	max-width: none;
}

/* Landing Page Styles */
.landing-page {
	background: var(--bg);
}

.landing-page .page-hero {
	height: 100vh;
	min-height: 600px;
	max-height: none;
}

.landing-page .page-main-content {
	padding: 0;
}

/* Enhanced Footer Styles */
.site-footer {
	background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
	border-top: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}

.footer-top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	padding: 3rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.footer-col h3 {
	color: var(--brand);
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	margin-bottom: 1.5rem;
}

.footer-logo img {
	height: 60px;
	width: auto;
}

.footer-logo span {
	color: var(--text);
	font-weight: 700;
	font-size: 1.25rem;
}

.service-chips {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.chip {
	background: color-mix(in srgb, var(--brand) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 0.875rem;
	color: var(--text);
}

.chip strong {
	color: var(--brand);
}

.footer-social {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.icon-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: color-mix(in srgb, var(--text) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--text) 15%, transparent);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.icon-link:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: white;
	transform: translateY(-2px);
}

.icon-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.office h4 {
	color: var(--text);
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.office address {
	color: color-mix(in srgb, var(--text) 70%, transparent);
	font-style: normal;
	line-height: 1.6;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-links a {
	color: color-mix(in srgb, var(--text) 80%, transparent);
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: 500;
}

.footer-links a:hover {
	color: var(--brand);
}

/* Enhanced 90% Badge */
.repeat-badge {
	background: linear-gradient(
		135deg,
		var(--brand) 0%,
		color-mix(in srgb, var(--brand) 80%, black) 100%
	);
	clip-path: polygon(0% 20%, 20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%);
	padding: 2rem 1.5rem;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(103, 14, 20, 0.3);
	border: 2px solid color-mix(in srgb, var(--brand) 60%, transparent);
}

.repeat-badge::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		transparent 30%,
		rgba(255, 255, 255, 0.1) 50%,
		transparent 70%
	);
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

.badge-content {
	position: relative;
	z-index: 2;
}

.badge-number {
	display: block;
	font-size: 3rem;
	font-weight: 900;
	color: white;
	line-height: 1;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.badge-text {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.25rem;
}

.badge-subtext {
	display: block;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
}

.footer-bottom {
	border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
	padding: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-bottom p {
	margin: 0;
	color: color-mix(in srgb, var(--text) 60%, transparent);
	font-size: 0.875rem;
}

.legal {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 1.5rem;
}

.legal a {
	color: color-mix(in srgb, var(--text) 70%, transparent);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s ease;
}

.legal a:hover {
	color: var(--brand);
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
	.footer-top {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2rem 1rem;
		text-align: center;
	}

	.footer-col.stat {
		order: -1;
	}

	.repeat-badge {
		margin: 0 auto;
		max-width: 280px;
	}

	.service-chips {
		max-width: 300px;
		margin: 0 auto 1.5rem auto;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}

/* WordPress Block Background Color Support */
.wp-block-column.has-background {
	padding: 2rem;
	border-radius: 8px;
	position: relative;
}

/* Force background colors to be applied */
.wp-block-column[style*='background-color'] {
	padding: 2rem;
	border-radius: 8px;
}

/* Specific fix for columns with custom background colors */
.wp-block-columns .wp-block-column.has-background {
	background-color: inherit;
}
