/*
Theme Name: No-Website Play — Plumbing & HVAC
Theme URI: https://github.com/pacolmg/ai-niche-webs
Description: Pitch-demo child theme for plumbing & HVAC businesses. Built on Kadence.
Author: ai-niche-webs
Template: kadence
Version: 0.2.0
Text Domain: nwp-plumbing-hvac
*/

/* Brand tokens — replaced by the fill script per lead. Same {{TOKEN}} convention as every pattern file. */
:root {
	--nwp-primary: {{PRIMARY_COLOR}};
	--nwp-primary-dark: {{PRIMARY_COLOR_DARK}};
	--nwp-secondary: {{SECONDARY_COLOR}};
	--nwp-emergency: #b33a2e; /* fixed urgency red — intentionally independent of brand color */
}

/* Emergency banner */
.nwp-emergency-banner {
	background: var(--nwp-emergency);
	color: #fff;
	text-align: center;
	font-weight: 600;
	padding: 0.5rem 1rem;
}

/* Trust bar */
.nwp-trust-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	font-size: 0.95rem;
}

/* Buttons */
.nwp-cta-button {
	background: var(--nwp-primary);
	color: #fff;
	border-radius: 4px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	border: 2px solid var(--nwp-primary);
}

.nwp-cta-button:hover {
	background: var(--nwp-primary-dark);
	border-color: var(--nwp-primary-dark);
	color: #fff;
}

.nwp-cta-outline {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	border-radius: 4px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
}

.nwp-cta-outline:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Header nav accents pick up the secondary color, keeping it distinct from the CTA primary */
.wp-block-navigation a {
	color: var(--nwp-secondary);
}

/* Services grid — icons */
.nwp-services-icons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding: 1rem 0;
}

.nwp-service-item {
	text-align: center;
}

.nwp-service-icon {
	width: 40px;
	height: 40px;
	color: var(--nwp-primary);
	margin-bottom: 0.5rem;
}

@media (max-width: 782px) {
	.nwp-services-icons {
		grid-template-columns: 1fr;
	}
}

/* Hero slider */
.nwp-hero-slider {
	position: relative;
	min-height: 520px;
	overflow: hidden;
}

.nwp-hero-slider__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease;
}

.nwp-hero-slider__slide.is-active {
	opacity: 1;
}

.nwp-hero-slider__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.nwp-hero-slider__overlay {
	position: relative;
	z-index: 1;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding: 2rem;
	gap: 1rem;
}

.nwp-hero-slider__overlay h1 {
	font-size: 3rem;
	margin: 0;
	color: #fff;
}

.nwp-hero-slider__ctas {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
	.nwp-hero-slider__slide {
		transition: none;
	}
}

/* Cookie notice */
.nwp-cookie-notice {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	max-width: 420px;
	background: #14202b;
	color: #fff;
	padding: 1rem 1.25rem;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	z-index: 100;
	font-size: 0.85rem;
}

.nwp-cookie-notice p {
	margin: 0 0 0.6rem;
}

.nwp-cookie-notice a {
	color: var(--nwp-primary);
}

.nwp-cookie-notice button {
	background: var(--nwp-primary);
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.4rem 1rem;
	cursor: pointer;
	font-weight: 600;
}
