/*
Theme Name: A1 Garage Door Pros Site
Author: Local Service Theme Studio
Description: A dedicated Gutenberg site theme for A1 GARAGE DOOR PROS with five starter pages and bundled branding.
Requires at least: 6.6
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: local-garage-pro
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, wide-blocks
*/

:root {
	--garage-accent: #f28c00;
	--garage-accent-contrast: #0b0d0f;
	--garage-accent-readable: #914800;
	--garage-highlight: #ffb037;
	--garage-ink: #0b0d0f;
	--garage-steel: #d5d9dd;
	--garage-surface: #f7f5f0;
	--garage-radius: 0.4rem;
	--garage-shadow: 0 18px 45px rgba(16, 42, 67, 0.12);
}

html {
	scroll-behavior: smooth;
}

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

body.admin-bar .site-header {
	top: 32px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--garage-accent);
	outline-offset: 3px;
}

.skip-link {
	background: #fff;
	color: var(--garage-ink);
	font-weight: 700;
	left: 1rem;
	padding: 0.75rem 1rem;
	position: fixed;
	top: -8rem;
	z-index: 100000;
}

.skip-link:focus {
	top: 1rem;
}

.site-header {
	background: #fff;
	box-shadow: 0 1px 0 rgba(16, 42, 67, 0.12);
	position: sticky;
	top: 0;
	z-index: 100;
}

.garage-utility-bar {
	background: var(--garage-ink);
	color: #fff;
	font-size: 0.82rem;
	letter-spacing: 0.025em;
}

.garage-utility-bar a {
	color: #fff;
}

.garage-header-main {
	min-height: 78px;
}

.garage-brand-name {
	color: var(--garage-ink);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	font-size: clamp(1rem, 2vw, 1.3rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	max-width: 18rem;
	text-transform: uppercase;
}

.garage-header-main .wp-block-site-logo img {
	max-height: 52px;
	width: auto;
}

.garage-header-main .wp-block-navigation-item__content {
	font-size: 0.95rem;
	font-weight: 700;
}

.garage-call-button {
	align-items: center;
	background: var(--garage-accent);
	border: 2px solid var(--garage-accent);
	border-radius: var(--garage-radius);
	box-shadow: 0 8px 20px color-mix(in srgb, var(--garage-accent) 28%, transparent);
	color: var(--garage-accent-contrast);
	display: inline-flex;
	font-weight: 800;
	gap: 0.45rem;
	justify-content: center;
	line-height: 1.15;
	padding: 0.9rem 1.2rem;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.garage-call-button:hover {
	background: var(--garage-accent);
	box-shadow: 0 12px 24px color-mix(in srgb, var(--garage-accent) 34%, transparent);
	color: var(--garage-accent-contrast);
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.garage-call-button.is-outline {
	background: transparent;
	box-shadow: none;
	color: var(--garage-ink);
}

.garage-call-button.is-outline:hover {
	background: color-mix(in srgb, var(--garage-accent) 12%, transparent);
}

.garage-call-button.is-light {
	background: #fff;
	border-color: #fff;
	box-shadow: none;
	color: var(--garage-ink);
}

.garage-hero {
	background:
		linear-gradient(100deg, var(--garage-ink) 0%, color-mix(in srgb, var(--garage-ink) 82%, #335b75) 100%),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 14px);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.garage-hero::after {
	background: var(--garage-accent);
	bottom: 0;
	content: "";
	height: 7px;
	left: 0;
	position: absolute;
	width: 38%;
}

.garage-eyebrow,
.garage-section-eyebrow {
	color: var(--garage-accent-readable);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 0.65rem;
	text-transform: uppercase;
}

.garage-hero .garage-eyebrow,
.garage-area-panel .garage-eyebrow {
	color: var(--garage-highlight);
}

.garage-hero h1 {
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4.9rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0 0 1.25rem;
	max-width: 800px;
}

.garage-hero .garage-hero-copy {
	color: #e8eef4;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	max-width: 680px;
}

.garage-hero-points {
	gap: 0.55rem 1rem;
	list-style: none;
	margin: 1.3rem 0;
	padding: 0;
}

.garage-hero-points li::before {
	color: var(--garage-highlight);
	content: "✓";
	font-weight: 900;
	margin-right: 0.45rem;
}

.garage-info-card {
	background: #fff;
	border-left: 6px solid var(--garage-accent);
	box-shadow: var(--garage-shadow);
	color: var(--garage-ink);
	padding: clamp(1.5rem, 4vw, 2.4rem);
}

.garage-info-card h2,
.garage-info-card h3 {
	color: var(--garage-ink);
	margin-top: 0;
}

.garage-addresses {
	font-style: normal;
	line-height: 1.7;
}

.garage-addresses span {
	display: block;
}

.garage-addresses span + span {
	border-top: 1px solid var(--garage-steel);
	margin-top: 0.75rem;
	padding-top: 0.75rem;
}

.garage-trust-bar {
	background: var(--garage-accent);
	color: var(--garage-accent-contrast);
	font-size: 0.93rem;
	font-weight: 800;
}

.garage-trust-item {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	justify-content: center;
	text-align: center;
}

.garage-trust-item::before {
	background: var(--garage-ink);
	border-radius: 50%;
	color: #fff;
	content: "✓";
	display: inline-grid;
	font-size: 0.72rem;
	height: 1.4rem;
	place-items: center;
	width: 1.4rem;
}

.garage-section {
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
	padding-top: clamp(3.5rem, 8vw, 6.5rem);
}

.garage-section-heading {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	max-width: 760px;
}

.garage-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.3rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin-top: 0;
}

.garage-service-grid,
.garage-process-grid,
.garage-testimonial-grid {
	align-items: stretch !important;
}

.garage-service-card {
	background: #fff;
	border: 1px solid var(--garage-steel);
	border-top: 5px solid var(--garage-accent);
	box-shadow: 0 8px 25px rgba(16, 42, 67, 0.07);
	height: 100%;
	padding: clamp(1.35rem, 3vw, 2rem);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.garage-service-card:hover {
	box-shadow: var(--garage-shadow);
	transform: translateY(-4px);
}

.garage-service-number {
	color: var(--garage-accent-readable);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.garage-service-card h3 {
	margin: 0.75rem 0 0.65rem;
}

.garage-process-step {
	border-left: 3px solid var(--garage-steel);
	padding-left: 1.4rem;
}

.garage-process-step strong {
	color: var(--garage-accent-readable);
	font-family: var(--wp--preset--font-family--display, "Barlow Condensed Local", "Arial Narrow", sans-serif);
	display: block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 0.8rem;
}

.garage-area-panel {
	background: var(--garage-ink);
	color: #fff;
	overflow: hidden;
	position: relative;
}

.garage-area-panel::before {
	border: 70px solid transparent;
	border-right-color: color-mix(in srgb, var(--garage-accent) 22%, transparent);
	border-top-color: color-mix(in srgb, var(--garage-accent) 22%, transparent);
	content: "";
	position: absolute;
	right: 0;
	top: 0;
}

.garage-area-panel h2,
.garage-area-panel h3 {
	color: #fff;
}

.garage-area-list {
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.7;
}

.garage-testimonial-card {
	background: #fff;
	border: 1px solid var(--garage-steel);
	box-shadow: 0 8px 22px rgba(16, 42, 67, 0.06);
	height: 100%;
	padding: 1.6rem;
}

.garage-stars {
	color: var(--garage-accent-readable);
	font-size: 1.1rem;
	letter-spacing: 0.12em;
}

.garage-faq .wp-block-details {
	background: #fff;
	border: 1px solid var(--garage-steel);
	margin-bottom: 0.8rem;
	padding: 1.1rem 1.25rem;
}

.garage-faq summary {
	cursor: pointer;
	font-weight: 800;
}

.garage-cta {
	background: var(--garage-accent);
	color: var(--garage-accent-contrast);
	position: relative;
}

.garage-cta h2 {
	color: var(--garage-accent-contrast);
	font-size: clamp(2rem, 5vw, 3.7rem);
	letter-spacing: -0.04em;
	line-height: 1;
}

.garage-footer {
	background: var(--garage-ink);
	color: #cbd5df;
}

.garage-footer h2,
.garage-footer h3,
.garage-footer a,
.garage-footer .garage-brand-name {
	color: #fff;
}

.garage-footer a:hover {
	color: var(--garage-highlight);
}

.garage-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.83rem;
}

.garage-entry-header {
	background: var(--garage-surface);
	border-bottom: 1px solid var(--garage-steel);
}

.garage-entry-content > * {
	margin-block-start: 1.5rem;
}

.garage-entry-content > h2,
.garage-entry-content > h3 {
	margin-block-start: 2.5rem;
}

.garage-query-card {
	border-bottom: 1px solid var(--garage-steel);
	padding: 1.5rem 0;
}

@media (max-width: 900px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.garage-header-main {
		min-height: 68px;
	}

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

	.garage-utility-inner {
		justify-content: center !important;
	}

	.garage-utility-address {
		display: none;
	}
}

@media (max-width: 781px) {
	.garage-hero .wp-block-columns,
	.garage-area-panel .wp-block-columns {
		gap: 2rem;
	}

	.garage-hero h1 {
		font-size: clamp(2.35rem, 13vw, 4rem);
	}

	.garage-trust-bar .wp-block-columns {
		gap: 0.75rem;
	}

	.garage-trust-item {
		justify-content: flex-start;
	}

	.garage-cta {
		text-align: center;
	}

	.garage-cta .wp-block-buttons {
		justify-content: center;
	}
}

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

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
