/*
Theme Name: Farshid Najarian Child
Theme URI: https://farshidnajarian.com/
Description: پوسته فرزند سبک برای وب‌سایت فرشید نجاریان، بر پایه Hello Elementor.
Author: 1Hashtag
Template: hello-elementor
Version: 1.0.0
Text Domain: farshid-najarian-child
Requires at least: 6.4
Requires PHP: 7.4
*/

/*
 * Calibri is proprietary and is not bundled. This local face works immediately
 * on systems that have Calibri installed. functions.php adds the supplied WOFF2
 * files when present, or enqueues Vazirmatn when they are absent.
 */
@font-face {
	font-family: "Calibri";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: local("Calibri"), local("Calibri Regular");
}

:root {
	--farshid-bg: #92afad;
	--farshid-ink: #21303b;
	--farshid-brand-red: #905753;
	--farshid-button: #a05351;
	--farshid-button-hover: #8f4846;
	--farshid-divider: #bd7661;
	--farshid-white: #ffffff;
	--farshid-font: "Calibri", "Segoe UI", "Vazirmatn", Tahoma, sans-serif;
}

html {
	scroll-behavior: smooth;
}

html[dir="rtl"],
body.rtl,
.farshid-hero {
	direction: rtl;
}

body.elementor-page {
	margin: 0;
}

.farshid-hero,
.farshid-hero * {
	box-sizing: border-box;
}

.farshid-hero {
	min-height: 100svh;
	overflow: hidden;
	padding: 0 !important;
	background: var(--farshid-bg);
	font-family: var(--farshid-font);
}

.farshid-hero > .elementor-container {
	min-height: 100svh;
}

.farshid-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	min-height: 100svh;
	padding: 44px 74px 70px 118px;
}

.farshid-header {
	flex: 0 0 auto;
	margin-bottom: 60px;
}

.farshid-header > .elementor-container,
.farshid-hero-body > .elementor-container {
	width: 100%;
	max-width: none;
	direction: rtl;
}

.farshid-header > .elementor-container {
	align-items: flex-start;
}

.farshid-brand .elementor-widget-heading {
	margin: 0;
}

.farshid-brand-name .elementor-heading-title,
.farshid-brand-role .elementor-heading-title,
.farshid-title .elementor-heading-title,
.farshid-subtitle .elementor-heading-title {
	font-family: var(--farshid-font);
}

.farshid-brand-name .elementor-heading-title {
	color: var(--farshid-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.farshid-brand-role {
	margin-top: 7px;
}

.farshid-brand-role .elementor-heading-title {
	color: var(--farshid-brand-red);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
}

.farshid-nav {
	width: 100%;
}

.farshid-nav .elementor-widget-container {
	width: 100%;
}

.farshid-primary-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	width: 100%;
	padding-top: 8px;
	direction: rtl;
	font-family: var(--farshid-font);
	white-space: nowrap;
}

.farshid-primary-nav a {
	color: var(--farshid-white);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity 160ms ease;
}

.farshid-primary-nav a:hover,
.farshid-primary-nav a:focus-visible {
	color: var(--farshid-white);
	opacity: 0.78;
}

.farshid-primary-nav .divider {
	display: block;
	flex: 0 0 1px;
	width: 1px;
	height: 18px;
	background: var(--farshid-divider);
}

.farshid-hero-body {
	display: flex;
	flex: 1 1 auto;
	margin: 0;
}

.farshid-hero-body > .elementor-container {
	flex: 1 1 auto;
	align-items: center;
	min-height: 100%;
}

.farshid-copy > .elementor-widget-wrap {
	align-content: center;
	justify-content: center;
}

.farshid-title,
.farshid-subtitle,
.farshid-cta {
	width: 100%;
}

.farshid-title .elementor-heading-title {
	margin: 0;
	color: var(--farshid-white);
	font-size: 56px;
	font-weight: 700;
	line-height: 70px;
	letter-spacing: 0;
}

.farshid-subtitle {
	margin-top: 48px;
}

.farshid-subtitle .elementor-heading-title {
	margin: 0;
	color: var(--farshid-ink);
	font-size: 21px;
	font-weight: 500;
	line-height: 1.5;
}

.farshid-cta {
	margin-top: 34px;
}

.farshid-cta .elementor-button {
	padding: 15px 26px;
	border: 0;
	border-radius: 6px;
	background: var(--farshid-button);
	color: var(--farshid-white);
	font-family: var(--farshid-font);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

.farshid-cta .elementor-button:hover,
.farshid-cta .elementor-button:focus-visible {
	background: var(--farshid-button-hover);
	color: var(--farshid-white);
	transform: translateY(-1px);
}

.farshid-logo > .elementor-widget-wrap {
	align-content: center;
	align-items: center;
	justify-content: center;
}

.farshid-logo-image {
	width: 100%;
	text-align: center;
}

.farshid-logo-image img {
	display: block;
	width: min(460px, 100%);
	height: auto;
	margin-inline: auto;
}

@media (max-width: 1024px) {
	.farshid-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding: 36px 36px 50px;
	}

	.farshid-header {
		margin-bottom: 46px;
	}

	.farshid-primary-nav {
		gap: 14px;
		white-space: normal;
	}

	.farshid-primary-nav a {
		font-size: 16px;
	}

	.farshid-title .elementor-heading-title {
		font-size: 46px;
		line-height: 58px;
	}

	.farshid-logo-image img {
		width: min(380px, 100%);
	}
}

@media (max-width: 767px) {
	.farshid-hero {
		min-height: 100svh;
		overflow: visible;
	}

	.farshid-hero > .elementor-container,
	.farshid-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
		min-height: 100svh;
	}

	.farshid-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
		padding: 28px 22px 40px;
	}

	.farshid-header {
		margin-bottom: 48px;
	}

	.farshid-header > .elementor-container,
	.farshid-hero-body > .elementor-container {
		flex-direction: column;
	}

	.farshid-brand,
	.farshid-nav-column,
	.farshid-copy,
	.farshid-logo {
		width: 100% !important;
	}

	.farshid-brand > .elementor-widget-wrap,
	.farshid-copy > .elementor-widget-wrap {
		text-align: right;
	}

	.farshid-primary-nav {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 10px 14px;
		margin-top: 24px;
		padding-top: 0;
	}

	.farshid-primary-nav a {
		font-size: 15px;
	}

	.farshid-primary-nav .divider {
		height: 15px;
	}

	.farshid-hero-body > .elementor-container {
		gap: 54px;
	}

	.farshid-title .elementor-heading-title {
		font-size: 40px;
		line-height: 52px;
	}

	.farshid-subtitle {
		margin-top: 34px;
	}

	.farshid-subtitle .elementor-heading-title {
		font-size: 19px;
	}

	.farshid-cta {
		margin-top: 28px;
	}

	.farshid-logo-image img {
		width: min(330px, 76vw);
	}
}

@media (max-width: 420px) {
	.farshid-title .elementor-heading-title {
		font-size: 34px;
		line-height: 44px;
	}

	.farshid-brand-name .elementor-heading-title {
		font-size: 20px;
	}

	.farshid-primary-nav {
		gap: 9px 11px;
	}

	.farshid-primary-nav a {
		font-size: 14px;
	}

	.farshid-subtitle .elementor-heading-title {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.farshid-primary-nav a,
	.farshid-cta .elementor-button {
		transition: none;
	}
}
