:root {
	--brand-primary: #e90808;
	--brand-secondary: #ffbf00;
}
html {
	background-color: #000;

	& * {
		background-repeat: no-repeat;
		box-sizing: border-box;
	}
}

body {
	background: #222;
	background-image: none;
	margin: 0 auto;
	max-width: 1460px;
	min-width: auto;
	min-height: auto;
	text-wrap-style: balance;
	padding-top: max(15px, env(safe-area-inset-top));
}

a:focus {
	outline: 2px solid var(--brand-primary);
	outline-offset: 2px;
}


h2 {
	margin: 0 auto .5em;
	text-align: center;
	font-size: clamp(1em, 2em + 3vw, 4em);
	font-weight: 900;
	color: var(--brand-primary);
	line-height: 1;
}

h3 {
	color: var(--brand-secondary);
	font-size: 2.3em;
	line-height: 1;
}

img {
	width: 100%;
}

/* Header and Navigation */
.masthead-container,
:where(section, footer) .content-container {
	max-width: 1400px;
	margin: 0 auto;
}

.page #masthead {
	position: static;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	width: auto;
	margin: 0;
}

.masthead-container {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	background-color: transparent;
	padding: 20px clamp(30px, 4vw, 60px);
}

.admin-bar #masthead {
	top: var(--wp-admin--admin-bar--height);
}

#submenu ul {
	display: flex;
	flex-flow: row nowrap;
	gap: 20px;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#submenu li {
	padding: 0;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

#submenu li a {
	padding: 0;
	-moz-text-shadow: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

.logo img {
	width: clamp(86px, 26vw, 270px);
	height: auto;
	margin: 0;
}

/* Hero Section */
.hero-section {
	position: relative;
	margin: 0 auto;
	background-image: url('/wp-content/themes/NWFirepits/images/home-page-photo-v5-mb.webp');
	background-size: cover;
	background-position: center bottom -10vw;
	text-shadow: 0px 3px 1px #000;
}

.hero-section .content-container {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
}

.hero-content {
	font-size: clamp(1.1em, 1em + 1vw, 1.7em);
	color: #fff;
	max-width: 25em;
	padding: 2em clamp(30px, 4vw, 60px) 1em;
}

.hero-content h1 {
	color: #fff;
	font-size: clamp(.5em, 2em + 2.25vw, 3.88em);
	font-weight: 900;
	line-height: 1;
	margin: 0;
}

.hero-content p {
	margin: .25em auto;
}

.hero-content h1 span {
	font-weight: 400;
	display: block;
	color: var(--brand-secondary);
}

.hero-ctas {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
	margin-top: 14em;
}

.hero-ctas a:not([href^="tel:"]) {
	display: inline-block;
	background-color: var(--brand-secondary);
	border: 2px solid var(--brand-secondary);
	color: #000;
	text-shadow: none;
	box-shadow: 0px 3px 1px #000;
	padding: .5em 1em;
}

.hero-ctas span {
	display: inline-block;
	padding: .5em 1em;
	font-size: .8em;
	text-align: center;

	& strong {
		display: block;
		font-size: 1.2em;
	}
}

.hero-ctas .secondary,
.hero-ctas a[href^="tel:"] {
	background-color: transparent;
	color: var(--brand-secondary);
}

section {
	background-color: #222;
	background-image: radial-gradient(circle, transparent 60%, #111 95%);
	color: #fff;
}

section:nth-of-type(odd):not(.hero-section) {
	background-color: var(--brand-secondary);
	background-image: radial-gradient(circle, transparent 60%, #1113 95%);
	color: #111;

	& h2 {
		color: #111;
	}

	& h3 {
		color: var(--brand-primary);
	}

}

:where(section, footer) .content-container {
	padding: 60px clamp(30px, 4vw, 60px);
}

.differentiators .content-container {
	display: flex;
	flex-flow: column nowrap;
	gap: 3em;
}


.differentiators h3 {
  margin: 0;
}

.differentiators h3::before {
	display: block;
	margin: 0 auto .5em;
	content: " ";
	width: clamp(150px, 55vw, 250px);
	height: clamp(150px, 55vw, 250px);
	border-radius: 100%;
	box-shadow: 0px 6px 6px #000 inset;
	background-position: center;
	background-size: cover;
}

.differentiators .diffitem:nth-of-type(1) h3::before {
	background-image: url(../images/nwfp-hand-crafted.jpg);
}

.differentiators .diffitem:nth-of-type(2) h3::before {
	background-image: url(../images/heavy-gauge-steel.jpg);
}

.differentiators .diffitem:nth-of-type(3) h3::before {
	background-image: url(../images/built-to-last.jpg);
}

.diffitem {
  text-align: center;
}

.locations {
	text-align: center;
	
	& h4 {
		font-size: 1.5em;
	}
	
	& ul {
		list-style-type: none;
		padding: 0;
		display: flex;
		flex-flow: column nowrap;
		justify-items: center;
		font-style: italic;
		font-size: .8em;
		gap: 1.75em;
		text-align: center;
	}
	
	& .location-item a {
		display: block;
		overflow: hidden;
		text-indent: 200%;
		white-space: nowrap;
		background-position: center;
		background-size: cover;
		margin: 0 auto .5em;
		text-decoration: none;
	}

	& .mcmenamins a {
		background-image: url(../images/mcmenamins-sun-and-moon.png);
		width: 20em;
		height: 21em;
		font-size: .4em;
	}

	& .grandtarghee a {
		background-image: url(../images/grand-targhee-logo.svg);
		width: 14.5em;
		height: 8.3em;
		font-size: .9em;
	}

	& .tamarack a {
		background-image: url(../images/tamarack-logo.svg);
		width: 18.3em;
		height: 5.6em;
		font-size: .75em;
	}

}

.product-showcase .products {
	display: flex;
	flex-flow: column nowrap;
	gap: 3em;

	.product-item h3 {
			margin: 0;
	}
}


.durability-advantage {
	background-color: #000;

	& .content-container {
		background-image: url(../images/outlast-bkg-night-fire.jpg);
		background-position: center top;
		text-align: center;
		font-size: 1.22em;
	}

	& h2 {
		color: var(--brand-secondary);
		font-size: 2.5em;
		text-shadow: 0px 0px 2px #000;
		margin: 0 auto 8.5em;
	}
}

.social-proof-section .content-container {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	gap: 2em;
	
	& h2, .ctas {
		flex: 0 0 100%;
	}
	
	& .testimonial {
		flex: 1 1 auto;
		margin: 0;
		background-color: #fff3;
		padding: 2em;
		border-left: 4px solid #c19100;
		color: #333;
	}
	
}

.content-container .cta {
	text-align: center;
	margin: 4em auto 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
	gap: 2em;

	& .cta-link {
		flex: auto;
		display: inline-block;
		padding: 1em 2em;
		background-color: #fff;
		color: #000;
		font-size: 1.2em;
		box-shadow: 0px 1px 2px #0006;
	}
}


.home-footer .content-container {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
	gap: 3em;
	
	& .logo {
	}

	& .logo img {
		max-width: 200px;
		margin: 0 auto;
		padding: 0;
	}
	
	& .footer-nav {
		flex: 1 0 50%;
		
		& ul {
			list-style-type: none;
			padding: 0;
			margin: 0;
			display: flex;
			flex-flow: row wrap;
			justify-content: center;
			gap: 1em;
			font-size: 1.4em;
		}
		
		& a {
			color: white;
			font-weight: 600;
			font-family: BebasNeueRegular, Arial, Verdana, "Century Gothic", sans-serif;
		}
	}

	& #wwp-tag {
		position: static;
		height: auto;
		padding: 0;
		width: 19em;
		max-width: none;
		padding-left: 100px;
		background-size: 80px;
		background-position: left top;
	}
}

#footer {
	position: static;

	& .fcred {
		text-align: center;
	}
}

@media screen and (min-width: 768px) {

	.hero-section {
		background-image: url('/wp-content/themes/NWFirepits/images/home-page-photo-v5.jpg');
		background-position: center;
		/*height: clamp(0px, 56vw, 720px);*/
		background-size: cover;
	}

	.hero-ctas {
		margin-top: 1em;
	}


	.differentiators .content-container {
		flex-flow: row wrap;
		justify-content: space-between;
	  
	  & h2 {
			flex: 0 0 100%;
	    grid-area: heading;
	  }
		
		& .diffitem {
			flex: 0 0 calc( 33% - 2em);
		}
		
		& .locations {
			flex: 0 0 100%;
			
			& ul {
				display: flex;
				flex-flow: row wrap;
				justify-content: space-evenly;
				align-items: center;
			}
		}
	  
	}

	.durability-advantage .content-container {
		background-position: right center;
		text-align: left;
		font-size: 1.22em;
		line-height: 1.5;

		& h2 {
			font-size: 3em;
			margin: 0 0 .25em;
			max-width: 10em;
			text-align: left;
		}
		
		& p {
			max-width: 26em;
		}
	}

	.social-proof-section .content-container .testimonial {
			flex: 1 0 30%;
	}

	
	.product-showcase .products {
		flex-flow: row wrap;
		justify-content: space-between;

		& .product-item {
			width: 30%;
			background-color: #fff;
			padding: 20px;
			box-shadow: 0px 3px 6px #0006;
		}
	}
	
}
