/* ============================================================
   WPBakery Image Slider – Frontend Styles
   ============================================================ */

.wpbis-slider {
	--wpbis-height: 550px;
	--wpbis-height-tablet: 450px;
	--wpbis-height-mobile: 400px;
	--wpbis-overlay: rgba(0, 0, 0, 0.45);

	position: relative;
	width: 100%;
	height: var(--wpbis-height);
	overflow: hidden;
	background: #111;
}

/* Track / slides container */
.wpbis-track {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

/* Single slide */
.wpbis-slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Dark overlay – sits above the image, below the text */
.wpbis-overlay {
	position: absolute;
	inset: 0;
	background: var(--wpbis-overlay);
	z-index: 1;
	pointer-events: none;
}

/* Centered content block */
.wpbis-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 920px;
	padding: 0 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

/* Title */
.wpbis-title {
	margin: 0;
	font-size: clamp(28px, 4.5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Subtitle */
.wpbis-subtitle {
	margin: 0 0 8px;
	font-size: clamp(16px, 2vw, 22px);
	font-weight: 400;
	line-height: 1.4;
	color: #fff;
	opacity: 0.95;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Button */
.wpbis-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.wpbis-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
	filter: brightness(1.08);
}

.wpbis-btn-icon {
	font-size: 1.2em;
	line-height: 1;
	transition: transform 0.2s ease;
}

.wpbis-btn:hover .wpbis-btn-icon {
	transform: translateX(3px);
}

/* Navigation arrows */
.wpbis-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	border: none;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.3s ease, background 0.25s ease;
}

.wpbis-slider:hover .wpbis-arrow {
	opacity: 1;
}

.wpbis-arrow:hover {
	background: rgba(0, 0, 0, 0.6);
}

.wpbis-prev {
	left: 20px;
}

.wpbis-next {
	right: 20px;
}

/* Dots */
.wpbis-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	gap: 8px;
}

.wpbis-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.2s ease;
}

.wpbis-dot.is-active {
	background: #fff;
	transform: scale(1.15);
}

.wpbis-dot:hover {
	background: rgba(255, 255, 255, 0.8);
}

/* Responsive heights */
@media (max-width: 1024px) {
	.wpbis-slider {
		height: var(--wpbis-height-tablet);
	}
}

@media (max-width: 767px) {
	.wpbis-slider {
		height: var(--wpbis-height-mobile);
	}

	.wpbis-title {
		font-size: clamp(22px, 6vw, 32px);
	}

	.wpbis-subtitle {
		font-size: 15px;
	}

	.wpbis-btn {
		padding: 10px 22px;
		font-size: 14px;
	}

	.wpbis-arrow {
		width: 40px;
		height: 40px;
		opacity: 0.7;
	}

	.wpbis-prev {
		left: 10px;
	}

	.wpbis-next {
		right: 10px;
	}

	.wpbis-dots {
		bottom: 16px;
	}
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
	.wpbis-track {
		transition: none;
	}
}
