/**
 * GPS Hero Slider widget styles.
 * Loaded in <head> by gps-necessery.php (handle: gps-necessery-hero).
 */

.gps-hero-slider-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}
/* All slides share one grid cell: the slider is always as tall as the
	tallest slide, so switching slides never moves the page (no CLS). */
.gps-slides-container {
	display: grid;
}
.gps-slide-item {
	grid-area: 1 / 1;
	min-width: 0;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s ease, visibility 0.5s ease;
}
.gps-slide-item.is-active {
	visibility: visible;
	opacity: 1;
}
.gps-hero-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 10px 0;
}
.gps-hero-left {
	flex: 0 0 52%;
	max-width: 52%;
	box-sizing: border-box;
}
.gps-hero-right {
	flex: 0 0 45%;
	max-width: 45%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}
.gps-hero-title {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 20px 0;
}
.gps-hero-highlight {
	color: #DC2626;
}
.gps-hero-desc {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 25px 0;
	max-width: 520px;
}
.gps-hero-buttons {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 25px;
}

/* --- Buttons Styling & Hover Effects (No Underline) --- */
.gps-btn-primary, .gps-btn-secondary {
	text-decoration: none !important;
	outline: none;
	font-size: 14px;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
	box-sizing: border-box;
}

.gps-btn-primary {
	background-color: #DC2626;
	color: #FFFFFF !important;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.gps-btn-primary:hover {
	background-color: #B91C1C;
	color: #FFFFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.gps-btn-secondary {
	background-color: #FFFFFF;
	color: #1F2937 !important;
	border: 1px solid #D1D5DB;
}
.gps-btn-secondary:hover {
	background-color: #F9FAFB;
	border-color: #9CA3AF;
	color: #111827 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.gps-hero-features {
	display: flex;
	align-items: center;
	gap: 25px;
	padding-top: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #4B5563;
}
.gps-feature-item {
	display: flex;
	align-items: center;
	gap: 6px;
}
.gps-hero-image {
	width: 100%;
	max-width: 480px;
	height: auto;
	object-fit: contain;
}

/* Slider Controllers */
.gps-slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #FFFFFF;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
}
.gps-slider-arrow:hover {
	background: #DC2626;
	color: #FFF;
}
.gps-arrow-prev { left: 10px; }
.gps-arrow-next { right: 10px; }
.gps-dots-container {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}
.gps-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #D1D5DB;
	cursor: pointer;
	transition: background 0.3s, width 0.3s;
}
.gps-dot.active {
	background: #DC2626;
	width: 24px;
	border-radius: 10px;
}

@media (max-width: 992px) {
	.gps-hero-container {
		flex-direction: column;
		gap: 40px;
	}
	.gps-hero-left, .gps-hero-right {
		flex: 0 0 100%;
		max-width: 100%;
		text-align: center;
	}
	.gps-hero-desc { margin: 0 auto 25px auto; }
	.gps-hero-buttons { justify-content: center; }
	.gps-hero-features { justify-content: center; flex-wrap: wrap; }
}
