/* BtnAslan Slider Frontend Styles */

:root {
	--ba-arrow-color: #ffffff;
	--ba-arrow-bg: rgba(0,0,0,0.4);
	--ba-arrow-size: 44px;
	--ba-arrow-radius: 50%;
	
	--ba-dot-color: rgba(255,255,255,0.5);
	--ba-dot-active-color: #ffffff;
	--ba-dot-size: 10px;
	--ba-dot-spacing: 6px;
}

.ba-slider-wrapper {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
}
.ba-slider-wrapper .swiper-slide {
	position: relative;
	width: 100%;
}
.ba-slider-wrapper .ba-slide-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	position: relative;
}
.ba-slider-wrapper picture,
.ba-slider-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

/* OVERLAY CONTENT */
.ba-slide-content {
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	max-width: 80%;
	z-index: 10;
}
.ba-mobile-content {
	display: none;
}
@media (max-width: 767px) {
	.ba-desktop-content {
		display: none !important;
	}
	.ba-mobile-content {
		display: block !important;
	}
}


/* ===========================
   ARROW STYLES (5 Types)
   =========================== */

/* Hide default swiper arrows */
.ba-slider-wrapper .swiper-button-prev::after,
.ba-slider-wrapper .swiper-button-next::after {
	display: none;
}
.ba-slider-wrapper .swiper-button-prev,
.ba-slider-wrapper .swiper-button-next {
	width: var(--ba-arrow-size);
	height: var(--ba-arrow-size);
	background: var(--ba-arrow-bg);
	border-radius: var(--ba-arrow-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ba-arrow-color);
	transition: all 0.3s ease;
}
.ba-slider-wrapper .swiper-button-prev:hover,
.ba-slider-wrapper .swiper-button-next:hover {
	opacity: 0.8;
}

/* 1. Minimal */
.ba-arrow-minimal .swiper-button-prev::before,
.ba-arrow-minimal .swiper-button-next::before {
	content: '';
	display: block;
	width: calc(var(--ba-arrow-size) * 0.3);
	height: calc(var(--ba-arrow-size) * 0.3);
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}
.ba-arrow-minimal .swiper-button-prev::before {
	transform: rotate(-135deg);
	margin-left: calc(var(--ba-arrow-size) * 0.1);
}
.ba-arrow-minimal .swiper-button-next::before {
	transform: rotate(45deg);
	margin-right: calc(var(--ba-arrow-size) * 0.1);
}

/* 2. Solid (Triangle) */
.ba-arrow-solid .swiper-button-prev::before,
.ba-arrow-solid .swiper-button-next::before {
	content: '';
	display: block;
	border-style: solid;
	border-width: calc(var(--ba-arrow-size) * 0.25) 0 calc(var(--ba-arrow-size) * 0.25) calc(var(--ba-arrow-size) * 0.35);
	border-color: transparent transparent transparent currentColor;
}
.ba-arrow-solid .swiper-button-prev::before {
	transform: rotate(180deg);
}
.ba-arrow-solid .swiper-button-next::before {
	/* no transform */
}

/* 3. Circle (Arrow inside circle) */
.ba-arrow-circle .swiper-button-prev::before,
.ba-arrow-circle .swiper-button-next::before {
	content: '';
	display: block;
	width: calc(var(--ba-arrow-size) * 0.5);
	height: calc(var(--ba-arrow-size) * 0.5);
	border: 2px solid currentColor;
	border-radius: 50%;
	position: relative;
}
.ba-arrow-circle .swiper-button-prev::after,
.ba-arrow-circle .swiper-button-next::after {
	content: '';
	position: absolute;
	width: calc(var(--ba-arrow-size) * 0.15);
	height: calc(var(--ba-arrow-size) * 0.15);
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: block !important;
}
.ba-arrow-circle .swiper-button-prev::after {
	transform: rotate(-135deg);
	left: calc(50% - 2px);
}
.ba-arrow-circle .swiper-button-next::after {
	transform: rotate(45deg);
	right: calc(50% - 2px);
}

/* 4. Square */
.ba-arrow-square .swiper-button-prev::before,
.ba-arrow-square .swiper-button-next::before {
	content: '';
	display: block;
	width: calc(var(--ba-arrow-size) * 0.4);
	height: calc(var(--ba-arrow-size) * 0.4);
	background: currentColor;
	clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
.ba-arrow-square .swiper-button-prev::before {
	transform: rotate(180deg);
}

/* 5. Chevron Thick */
.ba-arrow-chevron .swiper-button-prev::before,
.ba-arrow-chevron .swiper-button-next::before {
	content: '';
	display: block;
	width: calc(var(--ba-arrow-size) * 0.3);
	height: calc(var(--ba-arrow-size) * 0.3);
	border-top: 4px solid currentColor;
	border-right: 4px solid currentColor;
}
.ba-arrow-chevron .swiper-button-prev::before {
	transform: rotate(-135deg);
	margin-left: 4px;
}
.ba-arrow-chevron .swiper-button-next::before {
	transform: rotate(45deg);
	margin-right: 4px;
}


/* ===========================
   DOT STYLES (5 Types)
   =========================== */

.ba-slider-wrapper .swiper-pagination-bullet {
	background: var(--ba-dot-color);
	opacity: 1;
	width: var(--ba-dot-size);
	height: var(--ba-dot-size);
	margin: 0 var(--ba-dot-spacing) !important;
	transition: all 0.3s ease;
}
.ba-slider-wrapper .swiper-pagination-bullet-active {
	background: var(--ba-dot-active-color);
}

/* 1. Classic */
.ba-dot-classic .swiper-pagination-bullet {
	border-radius: 50%;
}

/* 2. Square */
.ba-dot-square .swiper-pagination-bullet {
	border-radius: 0;
}

/* 3. Line */
.ba-dot-line .swiper-pagination-bullet {
	border-radius: 0;
	height: 4px;
	width: calc(var(--ba-dot-size) * 2);
}

/* 4. Pill */
.ba-dot-pill .swiper-pagination-bullet {
	border-radius: var(--ba-dot-size);
}
.ba-dot-pill .swiper-pagination-bullet-active {
	width: calc(var(--ba-dot-size) * 2.5);
}

/* 5. Ring */
.ba-dot-ring .swiper-pagination-bullet {
	border-radius: 50%;
	background: transparent;
	border: 2px solid var(--ba-dot-color);
}
.ba-dot-ring .swiper-pagination-bullet-active {
	background: var(--ba-dot-active-color);
	border-color: var(--ba-dot-active-color);
}
