/*
Theme Name: Bushland Brickworks
Theme URI: https://bushlandbrickworks.example
Author: Bushland Brickworks
Description: Lightweight professional WordPress theme for bricklaying and masonry services.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: bushland-brickworks
*/

:root {
	--bush-charcoal: #1f252b;
	--bush-red: #b54117;
	--bush-orange: #c94a1a;
	--bush-navy: #102233;
	--bush-brick-grey: #e9e7e4;
	--bush-grey: #8d8d8d;
	--bush-white: #ffffff;
	--bush-text: #26313a;
	--bush-muted: #65727d;
	--bush-line: rgba(31, 37, 43, 0.12);
	--bush-shadow: 0 18px 48px rgba(31, 37, 43, 0.1);
	--bush-container: min(1160px, calc(100vw - 2rem));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bush-white);
	color: var(--bush-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	margin: 0;
}

a {
	color: var(--bush-red);
	text-decoration: none;
}

a:hover,
a:focus {
	color: #8f300f;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

.wp-site-blocks,
main.wp-block-group,
.wp-block-post-content {
	--wp--style--block-gap: 0 !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wp-site-blocks > *,
main.wp-block-group > *,
.wp-block-post-content > * {
	margin-block-end: 0 !important;
	margin-block-start: 0 !important;
	max-width: 100% !important;
}

.bush-container {
	margin: 0 auto;
	width: var(--bush-container);
}

.bush-site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--bush-line);
	position: sticky;
	top: 0;
	z-index: 90;
}

.bush-header {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.85rem 0;
	position: relative;
}

.bush-brand {
	align-items: center;
	display: inline-flex;
	gap: 0.75rem;
}

.bush-brand img {
	height: 64px;
	object-fit: contain;
	width: auto;
}

.bush-brand-text {
	color: var(--bush-charcoal);
	display: grid;
	line-height: 1.1;
}

.bush-brand-text strong {
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bush-brand-text span {
	color: var(--bush-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bush-nav ul {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bush-nav a {
	color: var(--bush-charcoal);
	font-size: 0.94rem;
	font-weight: 700;
}

.bush-nav a:hover,
.bush-nav a:focus {
	color: var(--bush-red);
}

.bush-header-actions {
	align-items: center;
	display: flex;
	gap: 0.65rem;
}

.bush-phone-link {
	color: var(--bush-charcoal);
	font-size: 0.9rem;
	font-weight: 800;
	white-space: nowrap;
}

.bush-menu-toggle {
	display: none;
}

.bush-button,
.bush-submit,
.bush-pill {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
}

.bush-button,
.bush-submit {
	border: 1px solid transparent;
	cursor: pointer;
	font-size: 0.94rem;
	min-height: 46px;
	padding: 0.75rem 1.15rem;
}

.bush-button--primary,
.bush-submit {
	background: var(--bush-red);
	color: var(--bush-white);
}

.bush-button--primary:hover,
.bush-button--primary:focus,
.bush-submit:hover,
.bush-submit:focus {
	background: #91320f;
	color: var(--bush-white);
}

.bush-button--secondary {
	background: var(--bush-white);
	border-color: rgba(255, 255, 255, 0.38);
	color: var(--bush-white);
}

.bush-button--outline {
	background: transparent;
	border-color: rgba(31, 37, 43, 0.18);
	color: var(--bush-charcoal);
}

.bush-hero {
	background:
		linear-gradient(90deg, rgba(31, 37, 43, 0.88), rgba(31, 37, 43, 0.68)),
		linear-gradient(135deg, var(--bush-charcoal), var(--bush-navy));
	color: var(--bush-white);
	min-height: 620px;
	padding: 5.2rem 0;
	position: relative;
}

.bush-hero::after,
.bush-band--brick::before {
	background-image:
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 96px 42px;
	content: "";
	inset: 0;
	opacity: 0.35;
	pointer-events: none;
	position: absolute;
}

.bush-hero-inner {
	max-width: 760px;
	position: relative;
	z-index: 1;
}

.bush-kicker,
.bush-eyebrow {
	color: var(--bush-orange);
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	margin: 0 0 0.85rem;
	text-transform: uppercase;
}

.bush-hero h1,
.bush-title {
	color: inherit;
	font-size: clamp(2.6rem, 5vw, 5rem);
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.bush-title {
	color: var(--bush-charcoal);
	font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.bush-lead,
.bush-copy {
	color: var(--bush-muted);
	font-size: 1.05rem;
	margin: 1rem 0 0;
	max-width: 760px;
}

.bush-hero .bush-lead {
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.18rem;
}

.bush-button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

.bush-trust-strip {
	background: var(--bush-red);
	color: var(--bush-white);
	font-weight: 800;
	padding: 1rem 0;
	text-align: center;
}

.bush-section {
	padding: 4.5rem 0;
	position: relative;
}

.bush-section--compact {
	padding: 3rem 0;
}

.bush-band--light {
	background: var(--bush-white);
}

.bush-band--soft,
.bush-band--brick {
	background: var(--bush-brick-grey);
}

.bush-band--brick {
	overflow: hidden;
}

.bush-band--brick > * {
	position: relative;
	z-index: 1;
}

.bush-band--dark {
	background: var(--bush-navy);
	color: var(--bush-white);
}

.bush-band--dark .bush-title,
.bush-band--dark h2,
.bush-band--dark h3 {
	color: var(--bush-white);
}

.bush-band--dark .bush-copy,
.bush-band--dark .bush-lead,
.bush-band--dark .bush-card p,
.bush-band--dark .bush-meta {
	color: rgba(255, 255, 255, 0.78);
}

.bush-section-head {
	margin-bottom: 1.8rem;
	max-width: 760px;
}

.bush-section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.bush-grid {
	display: grid;
	gap: 1.1rem;
}

.bush-grid--2,
.bush-grid--3,
.bush-grid--4 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.bush-card,
.bush-panel {
	background: var(--bush-white);
	border: 1px solid var(--bush-line);
	box-shadow: var(--bush-shadow);
}

.bush-card {
	border-radius: 8px;
	padding: 1.25rem;
}

.bush-panel {
	border-radius: 8px;
	padding: 1.6rem;
}

.bush-card h3 {
	color: var(--bush-charcoal);
	font-size: 1.18rem;
	line-height: 1.2;
	margin: 0;
}

.bush-card p {
	color: var(--bush-muted);
	margin: 0.65rem 0 0;
}

.bush-icon {
	align-items: center;
	background: rgba(181, 65, 23, 0.12);
	border-radius: 8px;
	color: var(--bush-red);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	margin-bottom: 0.85rem;
	width: 42px;
}

.bush-icon svg {
	height: 22px;
	width: 22px;
}

.bush-pill {
	background: rgba(181, 65, 23, 0.12);
	color: var(--bush-red);
	font-size: 0.78rem;
	padding: 0.32rem 0.62rem;
}

.bush-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.bush-list li {
	color: var(--bush-muted);
	padding-left: 1.4rem;
	position: relative;
}

.bush-list li::before {
	background: var(--bush-red);
	content: "";
	height: 0.5rem;
	left: 0;
	position: absolute;
	top: 0.58rem;
	width: 0.5rem;
}

.bush-project-image,
.bush-gallery-image {
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, #d7d1ca, #f6f4f1);
	border-radius: 8px;
	object-fit: cover;
	width: 100%;
}

.bush-testimonial {
	display: grid;
	gap: 0.75rem;
}

.bush-testimonial blockquote {
	color: var(--bush-text);
	font-size: 1.05rem;
	margin: 0;
}

.bush-meta {
	color: var(--bush-muted);
	font-size: 0.9rem;
	margin: 0;
}

.bush-contact-grid {
	align-items: start;
	display: grid;
	gap: 1.3rem;
}

.bush-contact-card {
	align-items: flex-start;
	display: flex;
	gap: 0.85rem;
}

.bush-contact-card strong {
	color: var(--bush-charcoal);
	display: block;
	font-size: 0.84rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bush-form {
	display: grid;
	gap: 0.85rem;
}

.bush-form label {
	color: var(--bush-charcoal);
	display: grid;
	font-weight: 800;
	gap: 0.35rem;
}

.bush-form input,
.bush-form textarea,
.bush-form select {
	border: 1px solid var(--bush-line);
	border-radius: 8px;
	font: inherit;
	padding: 0.78rem 0.85rem;
	width: 100%;
}

.bush-footer {
	background: var(--bush-navy);
	color: rgba(255, 255, 255, 0.78);
	padding: 2.6rem 0 1.3rem;
}

.bush-footer-grid {
	display: grid;
	gap: 1.5rem;
}

.bush-footer .bush-brand-text strong,
.bush-footer .bush-brand-text span,
.bush-footer a,
.bush-footer strong {
	color: var(--bush-white);
}

.bush-footer-links {
	display: grid;
	gap: 0.35rem;
}

.bush-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.bush-notice {
	background: rgba(181, 65, 23, 0.1);
	border: 1px solid rgba(181, 65, 23, 0.2);
	border-radius: 8px;
	color: var(--bush-charcoal);
	padding: 0.8rem 1rem;
}

@media (min-width: 720px) {
	.bush-grid--2,
	.bush-contact-grid,
	.bush-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bush-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bush-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.bush-header {
		align-items: center;
	}

	.bush-header-actions {
		margin-left: auto;
	}

	.bush-phone-link {
		display: none;
	}

	.bush-menu-toggle {
		align-items: center;
		background: transparent;
		border: 0;
		display: inline-flex;
		flex-direction: column;
		gap: 5px;
		height: 44px;
		justify-content: center;
		padding: 0;
		width: 44px;
	}

	.bush-menu-toggle span {
		background: var(--bush-charcoal);
		display: block;
		height: 2px;
		transition: transform 0.2s ease, opacity 0.2s ease;
		width: 24px;
	}

	.bush-menu-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.bush-menu-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.bush-menu-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.bush-nav {
		background: var(--bush-white);
		border: 1px solid var(--bush-line);
		box-shadow: var(--bush-shadow);
		display: none;
		left: 0;
		padding: 0.85rem 1rem;
		position: absolute;
		right: 0;
		top: calc(100% + 0.25rem);
	}

	.bush-nav.is-open {
		display: block;
	}

	.bush-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0.2rem;
	}

	.bush-nav a {
		display: block;
		padding: 0.7rem 0.1rem;
	}

	.bush-brand img {
		height: 54px;
	}

	.bush-brand-text {
		display: none;
	}

	.bush-hero {
		min-height: 540px;
		padding: 4rem 0;
	}
}
