/* =============================================================================
   UrbanTaxi Hero Slider — Frontend Styles
   ============================================================================= */

/* --- Layout guardrails (Elementor/theme compatibility) --------------------- */
.elementor-widget-urbantaxi_hero_slider,
.elementor-widget-urbantaxi_hero_slider .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100%;
	flex: 0 0 100% !important;
	padding: 0 !important;
}
.ut-hero-slider-wrapper {
	position: relative;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.ut-hero-slider-wrapper .ut-hero-slider.swiper {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	overflow: hidden !important;
	grid-column: 1;
}
.ut-hero-slider.swiper {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}
.ut-hero-slider .swiper-wrapper {
	height: 100%;
}
.ut-hero-slider .swiper-slide {
	width: 100% !important;
	height: 750px;
}
/* --- Fallback: editor/render delay before Swiper is initialized ----------- */
.ut-hero-slider:not(.swiper-initialized) .swiper-slide {
	display: none;
}
.ut-hero-slider:not(.swiper-initialized) .swiper-slide:first-child {
	display: flex;
}
.ut-hero-slider:not(.swiper-initialized) .ut-slide__mini-title,
.ut-hero-slider:not(.swiper-initialized) .ut-slide__title,
.ut-hero-slider:not(.swiper-initialized) .ut-slide__description,
.ut-hero-slider:not(.swiper-initialized) .ut-slide__buttons {
	opacity: 1;
}
/* --- Slider container ------------------------------------------------- */
.ut-hero-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.slider-main-outer-box {
    width: 100%;
    display: flex !important;
    margin: 0 auto !important;
    justify-content: center;
}
.slider-sidebar-form-box{
	position: relative;
}
/* --- Sidebar box (right column layout) --------------------------------- */
.ut-hero-slider-wrapper.ut-has-sidebar .ut-hero-slider-sidebar {
	background: #000;
    position: relative !important;
    top: 15% !important;
    right: 0 !important;
    left: 15% !important;
    z-index: auto;
    pointer-events: auto !important;
    border-radius: 6px;
    max-width: 440px !important;
    max-height: fit-content !important;
    height: fit-content;
    padding: 0;
}
.ut-sidebar-content {
	width: 100%;
	height: 100%;
	overflow-y: auto;
}
.ut-sidebar-static-content {
	margin: 0 0 20px;
}
.ut-sidebar-static-header {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ut-sidebar-static-icon-wrap {
	flex: 0 0 auto;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ut-sidebar-static-icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
	display: block;
}
.ut-sidebar-static-text {
	min-width: 0;
	flex: 1 1 auto;
}
.ut-sidebar-static-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
	color: #ffffff;
}
.ut-sidebar-static-mini-title {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #cfcfcf;
}
.ut-sidebar-shortcode-output {
	margin-top: 0;
}
/* --- Individual slide ------------------------------------------------- */
.ut-slide {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.ut-slide .container {
	position: relative;
    z-index: 2;
    width: 100%;
    height: fit-content;
    position: relative;
    top: 15%;
}
/* --- Background image ------------------------------------------------- */
/* --- Dark overlay ----------------------------------------------------- */
.ut-slide__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: none !important;
}
/* --- Content wrapper -------------------------------------------------- */
.ut-slide__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 620px;
	padding: 0 0px;
}
/* --- Mini title ------------------------------------------------------- */
.ut-slide__mini-title {
	width: 100%;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #f5c518;
}
/* --- Main title ------------------------------------------------------- */
.ut-slide__title {
	width: 100%;
	font-weight: 800;
	line-height: 1.1;
	color: #ffffff;
	opacity: 1;
}
.ut-slide__title .ut-highlight {
	color: #f5c518;
}
/* --- Description ------------------------------------------------------ */
.ut-slide__description {
	width: 100%;
	line-height: 1.7;
	color: #e0e0e0;
	max-width: 500px;
}
/* --- Buttons ---------------------------------------------------------- */
.ut-slide__buttons {
	display: flex;
	gap: 14px;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
}
.ut-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.ut-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 8px;
	line-height: 1;
}
.ut-btn__icon i,
.ut-btn__icon svg {
	width: 14px;
	height: 14px;
	font-size: 14px;
	fill: currentColor;
}
.ut-btn--primary {
	background-color: #f5c518;
	color: #000000;
	border-color: #f5c518;
}
.ut-btn--primary:hover {
	background-color: #d4a800;
	border-color: #d4a800;
	color: #000000;
}
.ut-btn--secondary {
	background-color: transparent;
	color: #ffffff;
	border-color: #ffffff;
	font-size: 16px;
}
.ut-btn--secondary:hover {
	background-color: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}
/* --- Animate-in when slide is active ---------------------------------- */
.swiper-slide-active .ut-slide__mini-title,
.swiper-slide-active .ut-slide__title,
.swiper-slide-active .ut-slide__description,
.swiper-slide-active .ut-slide__buttons {
	opacity: 1;
}

/* --- Navigation arrows ------------------------------------------------ */
.ut-hero-slider__arrow {
	color: #ffffff;
	--swiper-navigation-size: 20px;
}
.ut-hero-slider__arrow::after {
	font-weight: 900;
}
.swiper-button-prev.ut-hero-slider__arrow,
.swiper-button-next.ut-hero-slider__arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	transition: background-color 0.25s, border-color 0.25s;
	cursor: pointer;
	opacity: 1;
}
.swiper-button-prev.ut-hero-slider__arrow:hover,
.swiper-button-next.ut-hero-slider__arrow:hover {
	background-color: #f5c518;
	border-color: #f5c518;
	color: #000000;
}
/* --- Pagination bullets ----------------------------------------------- */
.ut-hero-slider__pagination {
	bottom: 24px !important;
}
.ut-hero-slider__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	transition: background-color 0.25s, transform 0.25s;
	cursor: pointer;
}
.ut-hero-slider__pagination .swiper-pagination-bullet-active {
	background: #f5c518;
	transform: scale(1.25);
}
.swiper-button-next.ut-hero-slider__arrow{
	right: 50px;
}
.swiper-button-prev.ut-hero-slider__arrow{
	left: 50px;
}
.swiper-button-prev.ut-hero-slider__arrow, .swiper-button-next.ut-hero-slider__arrow{
	z-index: 2 !important;
}
/* --- Responsive --- */
@media screen and (max-width:1199px){
	.ut-hero-slider-wrapper.ut-has-sidebar .ut-hero-slider-sidebar{
		left: 0% !important;
	}
}
@media (max-width: 768px) {
	.ut-slide__content {
		padding: 20px 0px;
		max-width: 100%;
	}
	.ut-btn {
		padding: 12px 22px;
		font-size: 14px;
	}
}
@media screen and (max-width: 767px){
	.ut-hero-slider-wrapper.ut-has-sidebar .ut-hero-slider-sidebar {
		background: #000;
		position: relative !important;
		top: 0 !important;
		right: 0 !important;
		left: 0 !important;
		z-index: auto;
		pointer-events: auto !important;
		border-radius: 6px;
		max-width: 100% !important;
		max-height: fit-content !important;
		grid-column: 2;
		margin: 0 auto;
		/* flex-direction: column; */
		height: fit-content;
		padding: 0;
	}
	.ut-hero-slider .swiper-slide{
		height: fit-content;
	}
	.urbantaxi-imported .ut-hero-slider-wrapper .swiper-pagination{
		position: relative;
		bottom: 0px !important;
		top: 0px;
	}
	.ut-sidebar-content{
		padding: 0px;
	}
	.ut-hero-slider-wrapper .ut-hero-slider.swiper{
		padding: 30px 0px;
	}
	.ut-slide .container{
		padding: 0;
	}
	.swiper-button-prev.ut-hero-slider__arrow, .swiper-button-next.ut-hero-slider__arrow{
		display: none;
	}
	.ut-hero-slider .ut-slide__buttons{
		justify-content: center !important;
	}
}

