/**
 * K Slider - Style 2 레이아웃
 * 
 * @package    KthemeElementorWidgets
 * @since      2.0.0
 * @description 텍스트 좌측, 이미지 우측 레이아웃
 */

/* ========================================
   Style 2 전용 레이아웃
   ======================================== */



.k-slider-wrapper.style-2 {
	/* 기본 컨테이너 설정은 k-slider.css에서 상속 */
	margin:auto;
}

.k-slider-wrapper.style-2 .k-slider-swiper{
	height:90vh;
}

/* ========================================
   유튜브 배경 포스터 이미지 효과 (Style 2 전용)
   ======================================== */
.k-slider-wrapper.style-2 .k-slide-youtube-poster {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	opacity: 1;
	transition: opacity 10s ease-in-out;
}

.k-slider-wrapper.style-2 .k-slide-youtube-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	opacity: 0;
	transition: opacity 3s ease-in-out;
}

/* 유튜브 로드 완료 시 포스터 이미지 숨김 및 유튜브 표시 */
.k-slider-wrapper.style-2 .k-slide-youtube-bg.youtube-loaded {
	opacity: 1;
}

.k-slider-wrapper.style-2 .k-slide-youtube-bg.youtube-loaded ~ .k-slide-youtube-poster {
	opacity: 0;
}

/* ========================================
   콘텐츠 배치
   ======================================== */
.k-slider-wrapper.style-2 .k-slide-content-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	max-width: 1400px;
	padding: 0 60px;
	gap: 80px;
}

/* ========================================
   텍스트 영역 (좌측)
   ======================================== */
.k-slider-wrapper.style-2 .k-slide-text {
	flex: 1;
	max-width:none;
	text-align: left;
}

.k-slider-wrapper.style-2 .k-slide-label {
	display: inline-block;
	padding: 8px 20px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 30px;
	backdrop-filter: blur(10px);
	margin-bottom: 24px;
}

.k-slider-wrapper.style-2 .k-slide-title {
	font-size: 64px;
	font-weight: bold;
	line-height: 1.1;
	margin-bottom: 28px;
	text-transform: none;
	
}

/* 타이틀 단어별 애니메이션 효과를 위한 준비 */
.k-slider-wrapper.style-2 .k-slide-title span {
	display: inline-block;
}

.k-slider-wrapper.style-2 .k-slide-description {
	font-size: 20px;
	line-height: 1.7;
	margin-bottom: 40px;
	max-width: 540px;
}


/* ========================================
   네비게이션 스타일
   ======================================== */
.k-slider-wrapper.style-2 .k-slider-button-prev,
.k-slider-wrapper.style-2 .k-slider-button-next {
	width: 60px;
	height: 60px;
	background-color: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.k-slider-wrapper.style-2 .k-slider-button-prev:hover,
.k-slider-wrapper.style-2 .k-slider-button-next:hover {
	background-color: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.4);
}

.k-slider-wrapper.style-2 .k-slider-button-prev {
	left: 60px;
}

.k-slider-wrapper.style-2 .k-slider-button-next {
	right: 60px;
}

/* ========================================
   페이지네이션 스타일
   ======================================== */
.k-slider-wrapper.style-2 .k-slider-pagination {
	bottom: 50px;
}

.k-slider-wrapper.style-2 .swiper-pagination-bullet {
	width: 14px;
	height: 14px;
	background-color: rgba(255, 255, 255, 0.4);
	border: 2px solid transparent;
}

.k-slider-wrapper.style-2 .swiper-pagination-bullet:hover {
	background-color: rgba(255, 255, 255, 0.6);
	border-color: rgba(255, 255, 255, 0.3);
}

.k-slider-wrapper.style-2 .swiper-pagination-bullet-active {
	background-color: #ffffff;
	border-color: rgba(255, 255, 255, 0.5);
	width: 40px;
	border-radius: 7px;
}

/* ========================================
   배경 오버레이
   ======================================== */
.k-slider-wrapper.style-2 .k-slide-overlay {
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.5) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(0, 0, 0, 0.2) 100%
	);
}

/* ========================================
   슬라이드 전환 애니메이션
   ======================================== */
.k-slider-wrapper.style-2 .swiper-slide-active .k-slide-label {
	
}

.k-slider-wrapper.style-2 .swiper-slide-active .k-slide-title {
	
}

.k-slider-wrapper.style-2 .swiper-slide-active .k-slide-description {
	
}

.k-slider-wrapper.style-2 .swiper-slide-active .k-slide-support-image-1 {
	
}

.k-slider-wrapper.style-2 .swiper-slide-active .k-slide-support-image-2 {
	
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 0.3;
	}
}

/* ========================================
   반응형 - 태블릿 (768px ~ 1024px)
   ======================================== */
@media (max-width: 1024px) {
	.k-slider-wrapper.style-2 .k-slide-content-inner {
		padding: 0 40px;
		gap: 50px;
	}

	.k-slider-wrapper.style-2 .k-slide-title {
		font-size: 48px;
	}

	.k-slider-wrapper.style-2 .k-slide-description {
		font-size: 18px;
		margin-bottom: 32px;
	}

	.k-slider-wrapper.style-2 .k-slide-images {
		max-width: 450px;
		height: 450px;
	}

	.k-slider-wrapper.style-2 .k-slider-button-prev {
		left: 30px;
	}

	.k-slider-wrapper.style-2 .k-slider-button-next {
		right: 30px;
	}

	.k-slider-wrapper.style-2 .k-slider-pagination {
		bottom: 40px;
	}
}

/* ========================================
   반응형 - 모바일 (최대 767px)
   ======================================== */
@media (max-width: 767px) {
	.k-slider-wrapper.style-2 {
		height: auto;
		min-height: 700px;
	}

	.k-slider-wrapper.style-2 .k-slide-content-inner {
		flex-direction: column;
		padding: 80px 20px 60px;
		gap: 40px;
		text-align: center;
	}

	.k-slider-wrapper.style-2 .k-slide-text {
		max-width: 100%;
		text-align: center;
		order: 2;
	}

	.k-slider-wrapper.style-2 .k-slide-label {
		margin-bottom: 16px;
		padding: 6px 16px;
		font-size: 12px;
	}

	.k-slider-wrapper.style-2 .k-slide-title {
		font-size: 36px;
		margin-bottom: 20px;
	}

	.k-slider-wrapper.style-2 .k-slide-description {
		font-size: 16px;
		margin-bottom: 28px;
		max-width: 100%;
	}

	.k-slider-wrapper.style-2 .k-slide-images {
		max-width: 100%;
		height: 350px;
		order: 1;
	}

	.k-slider-wrapper.style-2 .k-slide-support-image-2 {
		width: 70%;
		height: 70%;
	}

	.k-slider-wrapper.style-2 .k-slider-button-prev,
	.k-slider-wrapper.style-2 .k-slider-button-next {
		width: 45px;
		height: 45px;
	}

	.k-slider-wrapper.style-2 .k-slider-button-prev {
		left: 15px;
	}

	.k-slider-wrapper.style-2 .k-slider-button-next {
		right: 15px;
	}

	.k-slider-wrapper.style-2 .k-slider-pagination {
		bottom: 25px;
	}

	.k-slider-wrapper.style-2 .swiper-pagination-bullet {
		width: 10px;
		height: 10px;
	}

	.k-slider-wrapper.style-2 .swiper-pagination-bullet-active {
		width: 30px;
	}
}

/* ========================================
   다크모드 지원 (선택사항)
   ======================================== */
@media (prefers-color-scheme: dark) {
	.k-slider-wrapper.style-2 .k-slide-overlay {
		background: linear-gradient(
			135deg,
			rgba(0, 0, 0, 0.6) 0%,
			rgba(0, 0, 0, 0.4) 50%,
			rgba(0, 0, 0, 0.3) 100%
		);
	}
}

/* ========================================
   인쇄 스타일
   ======================================== */
@media print {
	.k-slider-wrapper.style-2 .k-slider-navigation,
	.k-slider-wrapper.style-2 .k-slider-pagination {
		display: none;
	}

	.k-slider-wrapper.style-2 {
		height: auto;
		min-height: auto;
	}
}

