/**
 * MyCreaTools - Hero Banner Carousel Widget CSS
 * Height driven by Elementor height control; object-fit & position customizable per slide or globally.
 */

.mct-hbc-container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Swiper Outer Wrapper */
.mct-hbc-swiper-wrapper {
	position: relative;
	width: 100%;
}

/* Outer Container Frame - Figma Linear Gradient Border (#E3A649 0% to #FF1100 100%) */
.mct-hbc-swiper-wrapper .swiper-container {
	width: 100%;
	height: var(--mct-hbc-height, 360px);
	max-height: var(--mct-hbc-height, 360px);
	overflow: hidden;
	border-radius: var(--mct-hbc-radius, 20px);
	border: var(--mct-hbc-border-width, 3px) solid transparent;
	background-image: 
		linear-gradient(var(--mct-hbc-bg-color, #ff5e62), var(--mct-hbc-bg-color, #ff5e62)),
		linear-gradient(var(--mct-hbc-border-angle, 135deg), var(--mct-hbc-border-start, #E3A649) 0%, var(--mct-hbc-border-end, #FF1100) 100%);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	box-shadow: 0 10px 30px rgba(255, 94, 98, 0.22);
	position: relative;
	box-sizing: border-box;
}

/* Individual Slide Card */
.mct-hbc-slide-card {
	position: relative;
	width: 100%;
	height: 100%;
	max-height: 100%;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

/* Slide Link Wrapper & Image */
.mct-hbc-slide-img-link,
.mct-hbc-slide-img-wrap {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	text-decoration: none;
	overflow: hidden;
}

.mct-hbc-slide-img {
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: var(--mct-hbc-img-fit, cover);
	object-position: var(--mct-hbc-img-pos, center center);
	display: block;
	transition: transform 0.35s ease;
}

.mct-hbc-slide-img-link:hover .mct-hbc-slide-img {
	transform: scale(1.02);
}

/* Graph Paper Grid Line Overlay */
.mct-hbc-grid-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
	z-index: 1;
}

/* Content Container (Center Text Block) */
.mct-hbc-content {
	position: relative;
	z-index: 3;
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 40px 24px;
}

.mct-hbc-title-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.mct-hbc-title-line {
	margin: 0;
	line-height: 1.15;
	font-weight: 900;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.mct-hbc-title-line-1 { font-size: 32px; font-weight: 900; letter-spacing: 1px; }
.mct-hbc-title-line-2 { font-size: 36px; font-weight: 900; }
.mct-hbc-title-line-3 { font-size: 32px; font-weight: 900; }

.mct-hbc-subtitle {
	margin-top: 10px;
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.5;
}

/* CTA Button */
.mct-hbc-btn-wrap {
	margin-top: 16px;
}

.mct-hbc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	background-color: #0f172a;
	border-radius: 50px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: none;
}

.mct-hbc-btn:hover {
	background-color: #1e293b;
	transform: translateY(-2px);
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   Creative Ghost Floating Stickers Overlay
   -------------------------------------------------------------------------- */
.mct-hbc-stickers-layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	pointer-events: none;
}

.mct-hbc-sticker {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
	animation: mctStickerFloat 4s ease-in-out infinite alternate;
}

.mct-hbc-sticker svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Sticker Positioning */
.mct-hbc-sticker-1  { top: 6%;  left: 7%;   width: 80px; height: 80px; animation-delay: 0s; }
.mct-hbc-sticker-2  { top: 8%;  left: 31%;  width: 55px; height: 55px; animation-delay: 0.5s; }
.mct-hbc-sticker-3  { top: 12%; left: 44%;  width: 55px; height: 55px; animation-delay: 1s; }
.mct-hbc-sticker-4  { top: 6%;  left: 58%;  width: 60px; height: 60px; animation-delay: 1.5s; }
.mct-hbc-sticker-5  { top: 8%;  right: 21%; width: 80px; height: 80px; animation-delay: 0.2s; }
.mct-hbc-sticker-6  { top: 31%; right: 7%;  width: 65px; height: 65px; animation-delay: 0.7s; }
.mct-hbc-sticker-7  { top: 32%; left: 5%;   width: 65px; height: 65px; animation-delay: 1.2s; }
.mct-hbc-sticker-8  { top: 37%; left: 16%;  width: 75px; height: 75px; animation-delay: 1.7s; }
.mct-hbc-sticker-9  { bottom: 8%; left: 3%;  width: 80px; height: 80px; animation-delay: 0.4s; }
.mct-hbc-sticker-10 { bottom: 12%; left: 27%; width: 65px; height: 65px; animation-delay: 0.9s; }
.mct-hbc-sticker-11 { bottom: 8%; left: 42%; width: 55px; height: 55px; animation-delay: 1.4s; }
.mct-hbc-sticker-12 { bottom: 10%; right: 38%; width: 65px; height: 65px; animation-delay: 1.9s; }
.mct-hbc-sticker-13 { bottom: 8%; right: 18%; width: 75px; height: 75px; animation-delay: 0.3s; }
.mct-hbc-sticker-14 { bottom: 8%; right: 4%;  width: 80px; height: 80px; animation-delay: 0.8s; }

@keyframes mctStickerFloat {
	0% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-5px) rotate(1.5deg); }
	100% { transform: translateY(3px) rotate(-1.5deg); }
}

/* --------------------------------------------------------------------------
   Carousel Swiper Pagination Dots (Pill Capsule - Matching Attachment)
   -------------------------------------------------------------------------- */
.mct-hbc-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: 56px;
	position: relative;
	z-index: 10;
}

.mct-hbc-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--mct-hbc-dot-inactive, #cbd5e1);
	opacity: 1;
	margin: 0 !important;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.mct-hbc-pagination .swiper-pagination-bullet-active {
	width: 24px;
	height: 6px;
	border-radius: 10px;
	background-color: var(--mct-hbc-dot-active, #dc2626);
}

/* --------------------------------------------------------------------------
   Carousel Navigation Arrows
   -------------------------------------------------------------------------- */
.mct-hbc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.9);
	color: #0f172a;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: 1px solid #e2e8f0;
	transition: all 0.2s ease;
	box-shadow: none;
}

.mct-hbc-arrow:hover {
	background-color: #ffffff;
	transform: translateY(-50%) scale(1.08);
	box-shadow: none;
}

.mct-hbc-arrow-prev { left: 16px; }
.mct-hbc-arrow-next { right: 16px; }

/* Responsive Layout */
@media (max-width: 991px) {
	.mct-hbc-title-line-1 { font-size: 26px; }
	.mct-hbc-title-line-2 { font-size: 30px; }
	.mct-hbc-title-line-3 { font-size: 26px; }
	.mct-hbc-sticker { transform: scale(0.85); }
}

@media (max-width: 767px) {
	.mct-hbc-content { padding: 24px 16px; }
	.mct-hbc-title-line-1 { font-size: 20px; }
	.mct-hbc-title-line-2 { font-size: 24px; }
	.mct-hbc-title-line-3 { font-size: 20px; }
	.mct-hbc-subtitle { font-size: 14px; }
	.mct-hbc-sticker { transform: scale(0.65); }
}
