/* Frontend styling for Circular About Me Slider */

.circular-about-slider-wrapper {
	--cas-circle-size: 250px;
	--cas-border-width: 4px;
	--cas-border-color: #3b82f6;
	--cas-anim-speed: 500ms;

	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	box-sizing: border-box;
	padding: 20px 10px;
}

.circular-about-slider-wrapper * {
	box-sizing: border-box;
}

.cas-slider-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: visible;
}

.cas-slider-stage {
	width: 100%;
	position: relative;
	min-height: calc(var(--cas-circle-size) + 120px);
	display: flex;
	justify-content: center;
	outline: none;
}

.circular-about-slider-wrapper.cas-hide-text .cas-slider-stage {
	min-height: calc(var(--cas-circle-size) + 15px);
}

/* Individual slides */
.cas-slide {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transform: scale(0.95);
	transition: opacity var(--cas-anim-speed) ease-in-out, 
				transform var(--cas-anim-speed) cubic-bezier(0.4, 0, 0.2, 1),
				visibility var(--cas-anim-speed) ease-in-out;
}

.cas-slide.cas-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	transform: scale(1);
	position: relative;
}

/* Circle Frame Crop */
.cas-circle-frame {
	width: var(--cas-circle-size);
	height: var(--cas-circle-size);
	border-radius: 50%;
	border: var(--cas-border-width) solid var(--cas-border-color);
	background: var(--cas-circle-bg, #ffffff);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.cas-circle-frame:hover {
	transform: translateY(-4px);
}

.cas-slide-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cas-circle-frame:hover .cas-slide-image {
	transform: scale(1.06);
}

/* Shadows presets */
.cas-shadow-none {
	box-shadow: none;
}
.cas-shadow-soft {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}
.cas-shadow-medium {
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}
.cas-shadow-hard {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 1px 5px rgba(0, 0, 0, 0.15);
}

/* Text info */
.cas-text-content {
	margin-top: 25px;
	width: 100%;
	max-width: 450px;
}

.cas-slide-title {
	font-size: 1.35rem;
	font-weight: 600;
	margin: 0 0 10px 0;
	color: #0f172a;
	line-height: 1.4;
}

.cas-slide-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.cas-slide-title a:hover {
	color: var(--cas-border-color);
}

.cas-slide-description {
	font-size: 0.95rem;
	color: #475569;
	margin: 0;
	line-height: 1.6;
}

/* Navigation controls */
.cas-arrow-btn {
	position: absolute;
	top: calc(var(--cas-circle-size) / 2);
	transform: translateY(-50%);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #334155;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	z-index: 10;
	transition: all 0.2s ease;
	outline: none;
}

.cas-arrow-btn:hover {
	background: var(--cas-border-color);
	color: #ffffff;
	border-color: var(--cas-border-color);
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.cas-prev-btn {
	left: calc(50% - (var(--cas-circle-size) / 2) - 60px);
}

.cas-next-btn {
	right: calc(50% - (var(--cas-circle-size) / 2) - 60px);
}

/* Mobile arrows fallback responsive */
@media (max-width: 480px) {
	.cas-prev-btn {
		left: 0;
	}
	.cas-next-btn {
		right: 0;
	}
	.cas-arrow-btn {
		width: 34px;
		height: 34px;
	}
	.circular-about-slider-wrapper {
		--cas-circle-size: 200px !important;
	}
	.cas-slide-title {
		font-size: 1.15rem;
	}
	.cas-slide-description {
		font-size: 0.88rem;
	}
}

/* Navigation Bullets */
.cas-bullets-nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
}

.cas-bullet-btn {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #cbd5e1;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
	outline: none;
}

.cas-bullet-btn:hover {
	background: #94a3b8;
}

.cas-bullet-btn.cas-active {
	background: var(--cas-border-color);
	transform: scale(1.25);
}

/* Custom Pagination Dot Styles */
.cas-bullets-nav.cas-dot-style-squares .cas-bullet-btn {
	border-radius: 0;
}
.cas-bullets-nav.cas-dot-style-squares .cas-bullet-btn.cas-active {
	transform: scale(1.15) rotate(45deg);
}

.cas-bullets-nav.cas-dot-style-lines .cas-bullet-btn {
	width: 14px;
	height: 3px;
	border-radius: 2px;
}
.cas-bullets-nav.cas-dot-style-lines .cas-bullet-btn.cas-active {
	width: 24px;
	transform: none;
}

.cas-bullets-nav.cas-dot-style-outline .cas-bullet-btn {
	border: 2px solid var(--cas-border-color);
	background: transparent;
	width: 10px;
	height: 10px;
}
.cas-bullets-nav.cas-dot-style-outline .cas-bullet-btn:hover {
	background: rgba(59, 130, 246, 0.1);
}
.cas-bullets-nav.cas-dot-style-outline .cas-bullet-btn.cas-active {
	background: var(--cas-border-color);
	transform: scale(1);
}
