/* Lawn Gurus Hero Slider — front-end styles */

.lgh-hero {
	--lgh-h: 760px;
	--lgh-h-mob: 640px;
	--lgh-bg: #16301d;
	--lgh-text: #ffffff;
	--lgh-accent: #cfe6b6;
	--lgh-overlay: 0.6;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-height: var(--lgh-h);
	background: var(--lgh-bg);
	font-family: 'Mulish', system-ui, -apple-system, sans-serif;
	color: var(--lgh-text);
}

/* Rolling background images */
.lgh-roll {
	position: absolute;
	inset: 0;
}
.lgh-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.6s ease;
}
.lgh-slide.is-active {
	opacity: 1;
}
.lgh-overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg,
			rgba(13, 28, 17, calc(var(--lgh-overlay) * 1.1)) 0%,
			rgba(13, 28, 17, calc(var(--lgh-overlay) * 0.8)) 40%,
			rgba(13, 28, 17, calc(var(--lgh-overlay) * 1.2)) 100%);
}

/* Arrows */
.lgh-arrow {
	position: absolute;
	z-index: 6;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.25s, background 0.2s;
}
.lgh-hero:hover .lgh-arrow {
	opacity: 1;
}
.lgh-arrow:hover {
	background: rgba(0, 0, 0, 0.5);
}
.lgh-prev { left: 18px; }
.lgh-next { right: 18px; }

/* Header bar (logo + nav + basket) */
.lgh-bar {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 26px 36px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}
.lgh-logo-link { display: block; }
.lgh-logo { max-width: 46vw; height: auto; display: block; }
.lgh-navwrap {
	display: flex;
	align-items: center;
	gap: 34px;
	padding-top: 26px;
}
.lgh-nav {
	display: flex;
	align-items: center;
	gap: 38px;
}
.lgh-nav a {
	text-decoration: none !important;
	color: var(--lgh-text) !important;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 1.5px;
	transition: color 0.2s;
}
.lgh-nav a:hover { color: var(--lgh-accent) !important; }
.lgh-basket {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 46px;
	color: var(--lgh-text) !important;
	text-decoration: none !important;
}
.lgh-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: none;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	cursor: pointer;
	color: var(--lgh-text);
}

/* When the header is present, give the content a little less top space */
.lgh-has-header .lgh-content { padding-top: 48px; }

/* Content */
.lgh-content {
	position: relative;
	z-index: 5;
	flex: 1;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 64px 36px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.lgh-text {
	transition: opacity 0.5s ease;
	opacity: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.lgh-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: var(--lgh-text) !important;
	font-size: 64px;
	line-height: 1.08;
	margin: 0 auto !important;
	padding: 0;
	max-width: 980px;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.lgh-sub {
	color: var(--lgh-text) !important;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.5;
	margin: 30px auto 0;
	max-width: 740px;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Buttons (CTA + pills share the outline style) */
.lgh-btn {
	display: inline-block;
	color: var(--lgh-text) !important;
	text-decoration: none !important;
	font-weight: 600;
	border: 2.5px solid var(--lgh-text);
	border-radius: 20px;
	transition: background 0.2s, color 0.2s;
	cursor: pointer;
}
a.lgh-btn:hover {
	background: rgba(255, 255, 255, 0.16);
	color: var(--lgh-text) !important;
}
.lgh-cta-wrap {
	margin-top: 40px;
}
.lgh-cta {
	font-size: 17px;
	letter-spacing: 0.3px;
	padding: 18px 48px;
}
.lgh-pills {
	transition: opacity 0.5s ease;
	opacity: 1;
	width: 100%;
	max-width: 1080px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-top: 54px;
}
.lgh-pill {
	font-size: 16px;
	padding: 16px 40px;
}

/* Dots */
.lgh-dots {
	position: relative;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 0 0 30px;
}
.lgh-dot {
	width: 38px;
	height: 5px;
	border: none;
	border-radius: 99px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
	transition: background 0.3s;
}
.lgh-dot.is-active {
	background: #fff;
}

/* Responsive */
@media (max-width: 900px) {
	.lgh-hero { min-height: var(--lgh-h-mob); }
	.lgh-content { padding: 48px 22px 36px; }
	.lgh-has-header .lgh-content { padding-top: 40px; }

	/* Header → mobile */
	.lgh-bar { padding: 16px 20px 0; align-items: center; }
	.lgh-navwrap { padding-top: 0; gap: 12px; }
	.lgh-burger { display: flex; }
	.lgh-logo { width: 190px !important; }
	.lgh-nav {
		position: absolute;
		top: 74px;
		right: 16px;
		left: 16px;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		background: rgba(16, 38, 25, 0.97);
		border: 1px solid rgba(255, 255, 255, 0.14);
		border-radius: 14px;
		padding: 8px;
		box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
		display: none;
		z-index: 9;
	}
	.lgh-navwrap.lgh-open .lgh-nav { display: flex; }
	.lgh-nav a { padding: 13px 16px; border-radius: 9px; font-size: 14px; }
	.lgh-nav a:active { background: rgba(255, 255, 255, 0.08); }
	.lgh-title { font-size: 38px; }
	.lgh-sub { font-size: 19px; margin-top: 18px; }
	.lgh-pills { flex-direction: column; gap: 12px; margin-top: 32px; }
	.lgh-pill { width: 100%; text-align: center; padding: 15px 20px; }
	.lgh-cta { padding: 16px 34px; font-size: 16px; }
	.lgh-arrow { display: none; }
}
@media (max-width: 480px) {
	.lgh-title { font-size: 30px; }
	.lgh-sub { font-size: 17px; }
	.lgh-content { padding: 36px 18px 28px; }
	.lgh-logo { width: 160px !important; }
}
