/* -------------------------------------------------------------
 * Full-Screen Slideshow Stylesheet
 * Custom Premium Layouts & Animations
 * ------------------------------------------------------------- */

.naizex-fullpage-container {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: #0b0f19;
	color: #ffffff;
}

/* Force container parent elements to drop custom spacing and fill the screen */
.elementor-section:has(.naizex-fullpage-container),
.elementor-column:has(.naizex-fullpage-container),
.elementor-column-wrap:has(.naizex-fullpage-container),
.elementor-widget-wrap:has(.naizex-fullpage-container) {
	padding: 0 !important;
	margin: 0 !important;
}

/* Ensure absolute full-viewport coverage for sections */
.naizex-fullpage-slides-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}

/* Slide Base Style */
.naizex-fullpage-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5% 10%;
	opacity: 0;
	visibility: hidden;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
	box-sizing: border-box;
	overflow: hidden;
	transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), 
				opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1), 
				visibility 1.2s;
}

/* Background Overlay */
.naizex-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background-color: rgba(15, 23, 42, 0.7); /* Customizer override default */
	transition: background 0.5s ease;
}

/* Active State */
.naizex-fullpage-slide.slide-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	z-index: 3;
}

/* Transition Directions: Scroll Down (Current goes Down, Next enters from Top) */
.naizex-fullpage-slide.exit-down {
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	z-index: 2;
}

.naizex-fullpage-slide.enter-from-top {
	transform: translateY(-100%);
	opacity: 0;
	visibility: visible;
	z-index: 4;
}

/* Transition Directions: Scroll Up (Current goes Up, Previous enters from Bottom) */
.naizex-fullpage-slide.exit-up {
	transform: translateY(-100%);
	opacity: 0;
	visibility: hidden;
	z-index: 2;
}

.naizex-fullpage-slide.enter-from-bottom {
	transform: translateY(100%);
	opacity: 0;
	visibility: visible;
	z-index: 4;
}

/* Content Columns Layout */
.naizex-slide-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	width: 48%;
	position: relative;
	z-index: 5;
	box-sizing: border-box;
	padding-top: 40px;
	padding-bottom: 40px;
}

.naizex-slide-header-area {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: auto;
	margin-bottom: auto;
}

/* Premium Title with Word Animations */
.naizex-slide-title {
	font-family: 'Geist', 'Outfit', 'Inter', sans-serif;
	font-size: clamp(2.2rem, 4.5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
	color: #ffffff;
	letter-spacing: -0.03em;
}

.naizex-slide-title .word-wrapper {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 4px;
	margin-right: 0.22em;
}

.naizex-slide-title .animated-word {
	display: inline-block;
	transform: translateY(110%);
	transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide active word trigger with staggered delays */
.slide-active .animated-word {
	transform: translateY(0);
}

.slide-active .word-wrapper:nth-child(1) .animated-word { transition-delay: 0.10s; }
.slide-active .word-wrapper:nth-child(2) .animated-word { transition-delay: 0.15s; }
.slide-active .word-wrapper:nth-child(3) .animated-word { transition-delay: 0.20s; }
.slide-active .word-wrapper:nth-child(4) .animated-word { transition-delay: 0.25s; }
.slide-active .word-wrapper:nth-child(5) .animated-word { transition-delay: 0.30s; }
.slide-active .word-wrapper:nth-child(6) .animated-word { transition-delay: 0.35s; }
.slide-active .word-wrapper:nth-child(7) .animated-word { transition-delay: 0.40s; }
.slide-active .word-wrapper:nth-child(8) .animated-word { transition-delay: 0.45s; }
.slide-active .word-wrapper:nth-child(9) .animated-word { transition-delay: 0.50s; }
.slide-active .word-wrapper:nth-child(10) .animated-word { transition-delay: 0.55s; }

/* Custom / Default Arrow Icons */
.naizex-slide-icon {
	color: #ffffff;
	margin-bottom: 25px;
	opacity: 0;
	transform: scale(0.7) rotate(-45deg);
	transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
				transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.naizex-slide-icon svg {
	display: block;
}

.naizex-slide-icon.custom-img img {
	max-width: 48px;
	height: auto;
}

.slide-active .naizex-slide-icon {
	opacity: 1;
	transform: scale(1) rotate(0deg);
	transition-delay: 0.05s;
}

/* Description area at the bottom */
.naizex-slide-footer-area {
	margin-top: auto;
}

.naizex-slide-description {
	font-family: 'Geist', 'Inter', sans-serif;
	font-size: clamp(0.95rem, 1.25vw, 1.15rem);
	line-height: 1.6;
	max-width: 480px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
				transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-active .naizex-slide-description {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.6s;
}

/* Right Columns Layout - Illustration Image */
.naizex-slide-image-wrapper {
	position: absolute;
	right: 12%;
	top: 50%;
	transform: translateY(-50%);
	width: 40%;
	height: 60%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	box-sizing: border-box;
}

.naizex-slide-featured-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.6));
	opacity: 0;
	transform: translateY(8%) scale(0.92);
	transition: opacity 1.3s cubic-bezier(0.25, 1, 0.5, 1), 
				transform 1.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-active .naizex-slide-featured-image {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition-delay: 0.4s;
}

/* -------------------------------------------------------------
 * Thin Line Navigation Indicators
 * ------------------------------------------------------------- */
.naizex-fullpage-navigation {
	position: absolute;
	right: 4%;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	z-index: 10;
}

.naizex-nav-line-track {
	width: 2px;
	height: 200px;
	background-color: rgba(255, 255, 255, 0.15);
	position: relative;
	border-radius: 2px;
}

.naizex-nav-line-progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	border-radius: 2px;
	transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), 
				height 0.8s cubic-bezier(0.77, 0, 0.175, 1);
	transform-origin: top center;
}

.naizex-nav-dots {
	position: absolute;
	right: -7px;
	top: 0;
	height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.naizex-nav-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid transparent;
	background: transparent;
	padding: 0;
	cursor: pointer;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	outline: none;
}

.naizex-nav-dot::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.45);
	transition: all 0.3s ease;
}

.naizex-nav-dot:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.4);
}

.naizex-nav-dot:hover::before {
	background-color: #ffffff;
}

.naizex-nav-dot.active {
	border-color: #ffffff;
	background-color: transparent;
}

.naizex-nav-dot.active::before {
	width: 8px;
	height: 8px;
	background-color: #ffffff;
}

/* Tooltip Labels */
.naizex-dot-label {
	position: absolute;
	right: 32px;
	top: 50%;
	transform: translateY(-50%) translateX(10px);
	font-family: 'Geist', 'Inter', sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: #ffffff;
	background: rgba(11, 15, 25, 0.9);
	padding: 6px 12px;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.naizex-nav-dot:hover .naizex-dot-label {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

/* -------------------------------------------------------------
 * Editor Mode Enhancements (Disable disrupting overrides)
 * ------------------------------------------------------------- */
.naizex-edit-mode .naizex-fullpage-slide {
	position: absolute;
	top: 0;
	left: 0;
}

/* -------------------------------------------------------------
 * Responsive Layouts
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
	.naizex-fullpage-slide {
		flex-direction: column;
		justify-content: flex-start;
		padding: 10% 8% 8%;
		align-items: stretch;
	}

	.naizex-slide-content {
		width: 100%;
		height: auto;
		justify-content: flex-start;
		padding-top: 0;
		padding-bottom: 20px;
	}

	.naizex-slide-header-area {
		margin-top: 0;
		margin-bottom: 20px;
	}

	.naizex-slide-image-wrapper {
		position: relative;
		right: auto;
		top: auto;
		transform: none;
		width: 100%;
		height: 35vh;
		margin-top: auto;
	}

	.naizex-fullpage-navigation {
		right: 20px;
	}
}

@media (max-width: 767px) {
	.naizex-fullpage-slide {
		padding: 15% 6% 6%;
	}

	.naizex-slide-icon {
		margin-bottom: 15px;
	}

	.naizex-slide-description {
		max-width: 100%;
	}

	.naizex-slide-image-wrapper {
		height: 30vh;
	}

	.naizex-fullpage-navigation {
		display: none; /* Hide dots on small mobile screen */
	}
}
