/* Hero Slider — Razzi Child */

.rc-hero-swiper {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: var(--color-border);
}

.rc-hero-swiper .swiper-slide {
	position: relative;
	width: 100%;
	height: 100%;
}

.rc-hero-slide__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.rc-hero-slide__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 40px 80px;
	gap: 16px;
}

.rc-hero-slide__title {
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
}

.rc-hero-slide__description {
	max-width: 640px;
	font-family: var(--font-body);
	line-height: 1.6;
}

.rc-hero-slide__description p {
	margin: 0;
}

.rc-hero-slide__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 8px;
}

.rc-hero-slide__button {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 4px;
	text-decoration: none;
	font-family: var(--font-body);
	font-weight: 600;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Navigation arrows */
.rc-hero-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 20px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s ease;
	opacity: 0.4;
	color: var(--color-text);
}

.rc-hero-nav-btn:hover {
	opacity: 1;
}

.rc-hero-swiper .swiper-button-prev {
	left: 20px;
	padding: 0 !important;
}

.rc-hero-swiper .swiper-button-next {
	right: 20px;
	padding: 0 !important;
}

.rc-hero-swiper .swiper-button-prev::after,
.rc-hero-swiper .swiper-button-next::after {
	display: none;
}

.rc-hero-nav-btn svg {
	height: 50px;
	width: 50px;
	display: block;
}

.rc-hero-nav-btn img {
	height: 50x;
	width: 50px;
	display: block;
}

/* Scroll down indicator */
.rc-hero-scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	animation: rc-hero-bounce 2s infinite;
}

.rc-hero-scroll-down img {
	width: 44px;
	height: auto;
	display: block;
}

@keyframes rc-hero-bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-8px);
	}
	60% {
		transform: translateX(-50%) translateY(-4px);
	}
}

@media (max-width: 767px) {
	.rc-hero-slide__content {
		padding: 30px 24px;
	}

	.rc-hero-nav-btn {
		padding: 12px;
	}

	.rc-hero-swiper .swiper-button-prev {
		left: 8px;
	}

	.rc-hero-swiper .swiper-button-next {
		right: 8px;
	}
}
