/*
	Custom brand overrides for Mill Creek Hand Car Wash.
	Loaded after main.css (the compiled HTML5UP "Story" template) so it can
	override colors/typography/spacing without touching the generated file.
	There is no Sass build step in this project (no node/sass on the host) --
	assets/sass/* is not compiled into main.css, so all live styling changes
	belong in this file.
*/

:root {
	--brand-navy: #0e2436;
	--brand-navy-light: #17374f;
	--brand-accent: #47D3E5;
	--brand-accent-dark: #1fa9bd;
	--brand-bg-alt: #f3f7f9;
}

html {
	scroll-behavior: smooth;
}

body,
input,
textarea,
select {
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--brand-navy);
}

/* Primary buttons: navy default, accent on hover (accent hover already
   compiled into main.css -- we only need to fix the base color + hover text
   contrast) */
.button.primary {
	background-color: var(--brand-navy);
}

.button.primary:hover {
	color: var(--brand-navy) !important;
}

/* Alternating section background, applied selectively in the markup */
.section-alt {
	background-color: var(--brand-bg-alt);
}

/* ---------------------------------------------------------------------- */
/* Site header / navigation                                               */
/* ---------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 9000;
	background-color: var(--brand-navy);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.site-header-inner {
	max-width: 90rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 2rem;
	gap: 1.5rem;
}

.site-logo {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
}

.site-logo .site-logo-main {
	font-family: 'Poppins', 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: 700;
	font-size: 1.15rem;
	color: #ffffff;
}

.site-logo .site-logo-sub {
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brand-accent);
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.85rem;
	flex-wrap: wrap;
}

.site-nav a {
	position: relative;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.35rem 0;
}

.site-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: var(--brand-accent);
	transition: width 0.25s ease-in-out;
}

.site-nav a:hover {
	color: #ffffff;
}

.site-nav a:hover::after {
	width: 100%;
}

.site-header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-call-btn.button.primary {
	background-color: var(--brand-accent);
	color: var(--brand-navy) !important;
	height: 2.75em;
	line-height: 2.75em;
	font-size: 0.7rem;
}

.site-call-btn .icon {
	margin-right: 0.5rem;
}

.site-call-btn .icon:before {
	line-height: inherit;
}

.site-call-btn.button.primary:hover {
	background-color: #ffffff;
	color: var(--brand-navy) !important;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	color: #ffffff;
	font-size: 1.35rem;
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
}

@media screen and (max-width: 980px) {

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		background-color: var(--brand-navy-light);
		box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
	}

	.site-header.nav-open .site-nav {
		display: flex;
	}

	.site-nav a {
		width: 100%;
		padding: 1rem 2rem;
	}

	.site-nav a::after {
		display: none;
	}

	.site-call-btn .site-call-text {
		display: none;
	}

	.site-call-btn.button.primary {
		padding: 0 1em;
	}

	.nav-toggle {
		display: inline-block;
	}

}

/* ---------------------------------------------------------------------- */
/* Services cards                                                         */
/* ---------------------------------------------------------------------- */

.items.style1 > * {
	border-color: transparent;
}

.items.style1 > * > .inner {
	position: relative;
	height: 100%;
	background-color: #ffffff;
	border-radius: 0.75rem;
	box-shadow: 0 1px 4px rgba(14, 36, 54, 0.1);
	transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.items.style1 > *:hover > .inner {
	transform: translateY(-6px);
	box-shadow: 0 16px 28px rgba(14, 36, 54, 0.16);
}

.items.style1 > * strong {
	color: var(--brand-accent-dark);
	font-size: 1.2rem;
}

.popular-package > .inner {
	border: 2px solid var(--brand-accent);
}

.popular-package > .inner::before {
	content: 'Most Popular';
	position: absolute;
	top: -0.85rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--brand-accent);
	color: var(--brand-navy);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 0.35rem 1rem;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	white-space: nowrap;
}

/* ---------------------------------------------------------------------- */
/* Contact section: hours + map                                           */
/* ---------------------------------------------------------------------- */

.contact-grid {
	display: flex;
	gap: 3rem;
	text-align: left;
	margin-top: 2rem;
}

.contact-grid > .contact-form-col {
	flex: 1 1 55%;
}

.contact-grid > .contact-info-col {
	flex: 1 1 45%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.hours-card {
	background-color: #ffffff;
	border-radius: 0.75rem;
	box-shadow: 0 1px 4px rgba(14, 36, 54, 0.1);
	padding: 1.75rem 2rem;
}

.hours-card h3 {
	margin-bottom: 1rem;
}

.hours-card dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.4rem 1rem;
	margin: 0;
}

.hours-card dt {
	font-weight: 600;
}

.hours-card dd {
	margin: 0;
	text-align: right;
}

.map-card {
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(14, 36, 54, 0.1);
	line-height: 0;
}

.map-card iframe {
	width: 100%;
	height: 16rem;
	border: 0;
}

@media screen and (max-width: 736px) {

	.contact-grid {
		flex-direction: column;
	}

}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */

footer.wrapper.style1 {
	background-color: var(--brand-navy);
}

footer.wrapper.style1 p,
footer.wrapper.style1 a {
	color: rgba(255, 255, 255, 0.75);
}

footer.wrapper.style1 a:hover {
	color: var(--brand-accent);
}

footer.wrapper.style1 a.icon.style2:before {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

footer.wrapper.style1 a.icon.style2:hover:before {
	background-color: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px var(--brand-accent);
}
