/**
 * Base Styles
 * استایل‌های پایه و ریست
 */

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden; /* حذف اسکرول افقی */
	width: 100%;
	max-width: 100%;
	/* بهینه‌سازی برای Smooth Scroll */
	scroll-behavior: auto; /* Lenis خودش مدیریت می‌کند */
	-webkit-overflow-scrolling: touch;
}

body {
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background-color: #000000;
	color: #ffffff;
	line-height: 1.6;
	direction: rtl;
	text-align: right;
	overflow-x: hidden; /* حذف اسکرول افقی */
	width: 100%;
	max-width: 100%;
	position: relative;
	/* بهینه‌سازی برای Smooth Scroll */
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: none; /* جلوگیری از bounce effect در iOS */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Peyda', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: #ffffff;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.7;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Container */
.site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden; /* حذف اسکرول افقی */
	width: 100%;
	max-width: 100%;
	position: relative;
}

/* .main removed - no longer using main-content */

/* Utility Classes */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.sr-only,
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.skip-link {
	position: absolute;
	top: -40px;
	right: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 999999;
}

.skip-link:focus {
	top: 0;
}

