/* NorthernClick.CA - Custom Styles */
/* Canadian Red (#CF2A27) | Dark Slate (#1E293B) | Maple Gold (#D4A84B) | Warm Cream (#FDF6F0) */

/* ---- Sticky Header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease;
}

/* ---- Hero Sections ---- */
.northpeak-hero {
	position: relative;
	overflow: hidden;
}

.northpeak-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(212, 168, 75, 0.12) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

/* ---- Buttons ---- */
.wp-block-button__link,
.wp-element-button {
	transition: all 0.3s ease;
	letter-spacing: 0.02em;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(207, 42, 39, 0.3);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-width: 2px;
}

/* ---- Cards ---- */
.northpeak-card {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.northpeak-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ---- Service Icons ---- */
.northpeak-service-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	margin-bottom: 1.25rem;
}

/* ---- Testimonial Stars ---- */
.northpeak-stars {
	color: #D4A84B;
	font-size: 1.2rem;
	letter-spacing: 2px;
	margin-bottom: 0.75rem;
}

/* ---- Stat Numbers ---- */
.northpeak-stat-number {
	font-size: 2.75rem;
	font-weight: 700;
	color: #CF2A27;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.northpeak-stat-label {
	font-size: 0.9rem;
	color: #6C757D;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ---- Badge ---- */
.northpeak-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #FDF6F0;
	border: 1px solid #E8D5C0;
	border-radius: 999px;
	padding: 0.5rem 1.25rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1E293B;
}

/* ---- Section Dividers ---- */
.northpeak-section-light {
	background: #FDF6F0;
}

.northpeak-section-dark {
	background: #1E293B;
	color: #fff;
}

.northpeak-section-dark h2,
.northpeak-section-dark h3,
.northpeak-section-dark p {
	color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
	.northpeak-hero h1 {
		font-size: 2rem !important;
	}

	.northpeak-card {
		padding: 1.5rem;
	}

	.northpeak-stat-number {
		font-size: 2rem;
	}

	.site-header {
		padding: 0.5rem 1rem;
	}
}

@media (max-width: 480px) {
	.northpeak-hero h1 {
		font-size: 1.6rem !important;
	}
}

/* ---- Smooth scrolling ---- */
html {
	scroll-behavior: smooth;
}

/* ---- Focus styles for accessibility ---- */
:focus-visible {
	outline: 2px solid #D4A84B;
	outline-offset: 2px;
}

/* ---- Skip link ---- */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 9999;
	background: #1E293B;
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 0 0 6px 6px;
	font-weight: 600;
}

.skip-link:focus {
	top: 0;
}

/* ---- Blog sidebar CTA ---- */
.northpeak-sidebar-cta {
	background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
	color: #fff;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
}

.northpeak-sidebar-cta h3 {
	color: #fff;
	margin-bottom: 0.75rem;
}

.northpeak-sidebar-cta p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1.25rem;
}

/* ---- Case Study Cards ---- */
.northpeak-case-study {
	border-left: 4px solid #CF2A27;
	padding-left: 1.5rem;
}

.northpeak-case-study .result-metric {
	color: #D4A84B;
	font-weight: 700;
	font-size: 1.1rem;
}

/* ---- Team Member ---- */
.northpeak-team-member {
	text-align: center;
}

.northpeak-team-member img {
	border-radius: 50%;
	width: 160px;
	height: 160px;
	object-fit: cover;
	margin-bottom: 1rem;
	border: 4px solid #FDF6F0;
}

/* ---- Footer ---- */
.site-footer a {
	text-decoration: none;
}

.site-footer a:hover {
	color: #CF2A27 !important;
}

/* ---- Canadian accent stripe ---- */
.northpeak-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #CF2A27 0%, #CF2A27 33%, #FFFFFF 33%, #FFFFFF 66%, #CF2A27 66%, #CF2A27 100%);
}

/* ---- Animations ---- */
@media (prefers-reduced-motion: no-preference) {
	.northpeak-card,
	.wp-block-button__link {
		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}
}
