/* ==========================================================================
   Octo Scroll Scene
   Base Widget Styles
   ========================================================================== */


/*
|--------------------------------------------------------------------------
| Main Widget
|--------------------------------------------------------------------------
*/

.octo-scroll-scene {
	position: relative;

	/*
	 * این مقدار بعداً از Elementor
	 * به صورت CSS Variable وارد می‌شود.
	 */
	--octo-hero-height: 100vh;

	/*
	 * رنگ پایه صحنه
	 */
	--octo-background: #07111f;

	width: 100%;
}


/*
|--------------------------------------------------------------------------
| Stage
|--------------------------------------------------------------------------
|
| Stage همان محدوده‌ای است که Canvas داخل آن دیده می‌شود.
|
*/

.octo-scroll-scene-placeholder,
.octo-stage {
	position: relative;

	width: 100%;
	height: var(--octo-hero-height);

	min-height: 320px;

	overflow: hidden;

	background: var(--octo-background);
}


/*
|--------------------------------------------------------------------------
| Canvas
|--------------------------------------------------------------------------
|
| Canvas تمام صفحه Stage را می‌پوشاند.
|
*/

.octo-poster,
.octo-canvas {
	position: absolute;
	top: 50%;
	left: 50%;

	display: block;

	width: max(
		100%,
		calc(var(--octo-hero-height) * 1.7777778)
	);

	height: max(
		100%,
		calc(100vw * 0.5625)
	);

	max-width: none;
	max-height: none;

	transform: translate(-50%, -50%);
}

.octo-poster {
	z-index: 1;
	object-fit: cover;
	pointer-events: none;
}

.octo-canvas {
	z-index: 1;
}
@media (max-width: 767px) {

	.octo-poster,
	.octo-canvas {
		left: 30%;
	}
}


/*
|--------------------------------------------------------------------------
| Placeholder
|--------------------------------------------------------------------------
|
| فقط برای تست اولیه Widget.
| بعداً حذف می‌شود.
|
*/

.octo-scroll-scene-placeholder {
	display: flex;

	flex-direction: column;

	align-items: center;
	justify-content: center;

	padding: 40px;

	box-sizing: border-box;

	color: #ffffff;

	text-align: center;
}


.octo-scroll-scene-placeholder h2 {
	margin: 0 0 12px;

	color: #ffffff;

	font-size: 28px;
	line-height: 1.3;
}


.octo-scroll-scene-placeholder p {
	margin: 0 0 12px;

	color: rgba(255, 255, 255, 0.7);

	font-size: 15px;
}


.octo-scroll-scene-placeholder small {
	max-width: 90%;

	color: rgba(255, 255, 255, 0.45);

	font-size: 12px;

	word-break: break-all;
}


/*
|--------------------------------------------------------------------------
| Elementor Editor
|--------------------------------------------------------------------------
|
| کمی فضای امن برای کار کردن داخل Elementor.
|
*/

.elementor-editor-active .octo-scroll-scene {
	min-height: 320px;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

	.octo-scroll-scene {
		--octo-hero-height: 100svh;
	}


	.octo-scroll-scene-placeholder,
	.octo-stage {
		min-height: 320px;
	}

}

.octo-scroll-scene {
	position: relative;

	width: 100vw;
	max-width: 100vw;

	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);

	--octo-hero-height: 100vh;
	--octo-background: #07111f;
}
@media (max-width: 767px) {

	.octo-canvas {
		left: 30%;
		right: auto;

		transform: translate(-50%, -50%);
	}

}



.octo-hero-content {
	position: absolute;

	z-index: 5;

	left: var(--octo-content-x);
	top: var(--octo-content-y);

	transform: translate(-50%, -50%);

	width: min(450px, 90vw);

	color: #ffffff;

	pointer-events: none;
	text-align:right;
}

.octo-hero-title {
	margin: 0 0 20px;

	color: #000000;

	font-size: clamp(25px, 4vw, 30px);
	line-height: 1.75;
	font-weight: 500;
	text-align:right;
}

.octo-hero-subtitle {
	margin: 0 0 28px;

	color: rgba(0, 20, 0, 0.8);

	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.8;
}

.octo-hero-button {
	display: inline-flex;

	align-items: center;
	justify-content: center;

	padding: 13px 26px;

	color: rgba(184, 138, 74, 1);

	background: rgba(7, 17, 31, 0);

	border: 1px solid rgba(184, 138, 74, 1);

	border-radius: 999px;

	text-decoration: none;

	transition:
		background 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;

	pointer-events: auto;
}

.octo-hero-button:hover {
	color: #ffffff;

	background: rgba(7, 17, 31, 0.95);

	border-color: rgba(255, 255, 255, 0.7);

	transform: translateY(-2px);
}

@media (max-width: 767px) {

	.octo-hero-content {
		left: var(--octo-content-mobile-x);
		top: var(--octo-content-mobile-y);

		width: min(90vw, 420px);
		text-align:right;
	}

	.octo-hero-title {
		font-size: clamp(28px, 8vw, 42px);
	}

	.octo-hero-subtitle {
		font-size: 16px;
	}

}

.octo-canvas-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;

	background: #F6F1E8;
	opacity: 0.15;

	mix-blend-mode: screen;

	pointer-events: none;
}
.octo-decorative-line {
	position: absolute;
	z-index: 3;

	top: 0;
	left: 0;

	width: 50%;
	height: 100%;

	background-image: url('/akbari/wp-content/uploads/sites/4/2026/09/Decorative-line-1.svg');
	background-repeat: no-repeat;
	background-position: left top;
	background-size: auto 100%;

	pointer-events: none;
}