/* NWA Dock Drafting site-specific enhancements.
   Keep this separate from the HTML5 UP theme so updates stay painless. */

:root {
	--site-bg: #2e3141;
	--site-bg-alt: #353849;
	--site-bg-soft: #3d4051;
	--site-border: rgba(255, 255, 255, 0.125);
	--site-text: #ffffff;
	--site-accent: #4c5c96;
	--site-accent-hover: #5e6fad;
}

.brand-logo {
	border: 2px solid var(--site-accent-hover);
	border-radius: 50%;
	height: 120px;
	margin-bottom: 0.25rem;
	object-fit: cover;
	width: 120px;
}

#banner {
	background-color: var(--site-bg);
	background-image: linear-gradient(to top, rgba(46, 49, 65, 0.9), rgba(46, 49, 65, 0.9)), url("../../images/bg.jpg");
	background-position: center, center;
	background-size: auto, cover;
	padding: 8.5em 0 5.25em 0;
}

#banner .logo {
	margin-bottom: 1em;
}

#banner h2 {
	max-width: 100%;
}

#banner p {
	max-width: 46rem;
}

body.is-preload #banner .logo,
body.is-preload #banner h2,
body.is-preload #banner p {
	filter: none;
	opacity: 1;
	transform: none;
}

.button.primary,
button.primary {
	background-color: var(--site-accent);
	background-image: linear-gradient(135deg, var(--site-accent) 0%, var(--site-accent-hover) 100%);
	box-shadow: 0 4px 12px rgba(76, 92, 150, 0.35);
	color: var(--site-text) !important;
	transition: background-image 0.2s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary:hover,
button.primary:hover {
	background-image: linear-gradient(135deg, var(--site-accent-hover) 0%, var(--site-accent) 100%);
	box-shadow: 0 8px 20px rgba(76, 92, 150, 0.45);
	transform: translateY(-2px);
}

.button.primary:active,
button.primary:active {
	transform: translateY(0);
}

a:hover {
	color: var(--site-accent-hover) !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	border-color: var(--site-accent-hover);
}

ul.contact li::before {
	color: var(--site-accent-hover);
}

::selection {
	background: var(--site-accent);
	color: var(--site-text);
}

.features article {
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.features article:hover {
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	transform: translateY(-6px);
}

.features article .image,
.features article .image img {
	border-radius: 10px 10px 0 0;
}

.features article .image img {
	transition: transform 0.35s ease;
}

.features article:hover .image img {
	transform: scale(1.08);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	border-radius: 10px;
}

.check-list {
	list-style: none;
	margin: 0 0 2rem 0;
	padding-left: 0;
}

.check-list li {
	margin: 0 0 0.75rem 0;
	padding-left: 1.75rem;
	position: relative;
}

.check-list li::before {
	content: "\f00c";
	color: var(--site-accent-hover);
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	left: 0;
	position: absolute;
	top: 0.05rem;
}

.check-list.compact {
	margin-bottom: 0;
}

.steps-grid,
.service-area-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-area-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 2rem;
}

.steps-grid article,
.service-area-grid > div {
	border: solid 2px var(--site-border);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	padding: 1.75rem;
}

.step-number {
	align-items: center;
	background: var(--site-accent);
	border-radius: 999px;
	color: var(--site-text);
	display: inline-flex;
	font-weight: 700;
	height: 2.5rem;
	justify-content: center;
	margin-bottom: 1rem;
	width: 2.5rem;
}

input[type="tel"],
form .field select {
	height: 2.75em;
}

form .field select {
	background-color: rgba(255, 255, 255, 0.025);
	border: solid 2px var(--site-border);
	border-radius: 10px;
	color: inherit;
	display: block;
	padding: 0 2.75em 0 1em;
	width: 100%;
}

form .field select option {
	background: var(--site-bg);
	color: var(--site-text);
}

form .fields .spam-check {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px !important;
	left: 0;
	margin: 0 !important;
	overflow: hidden;
	padding: 0 !important;
	position: absolute;
	top: 0;
	white-space: nowrap;
	width: 1px !important;
}

.recaptcha-field {
	margin-top: 0.5rem;
}

.g-recaptcha {
	max-width: 100%;
}

@media screen and (max-width: 1280px) {
	#banner {
		margin-bottom: -4.75em;
		padding: 7.5em 0 5.75em 0;
	}
}

#header nav .header-cta {
	margin-right: 0.75em;
	vertical-align: middle;
}

@media screen and (max-width: 736px) {
	#header nav .header-cta {
		display: none;
	}
}

@media screen and (max-width: 980px) {
	#banner {
		margin-bottom: -3.5em;
		padding: 7em 3em 5.5em 3em;
	}

	.steps-grid,
	.service-area-grid {
		gap: 1.5rem;
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 736px) {
	#banner {
		margin-bottom: -2.5em;
		padding: 4.75em 2em 3.75em 2em;
	}

	.brand-logo {
		height: 96px;
		width: 96px;
	}

	#banner p {
		line-height: 1.7;
	}

	.wrapper.spotlight .inner,
	.wrapper.spotlight .content,
	.wrapper.spotlight .check-list li {
		text-align: left;
	}

	.steps-grid article,
	.service-area-grid > div {
		padding: 1.25rem;
	}
}

@media screen and (max-width: 480px) {
	.g-recaptcha {
		transform: scale(0.89);
		transform-origin: left top;
	}

	.recaptcha-field {
		min-height: 70px;
	}
}
