/* Custom CSS (Simulation de css/style.css) */

/* Base Styles */
body {
	background-color: #020617; /* dark-950 */
	color: #f0f9ff; /* brand-50 */
	overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: #0f172a;
}
::-webkit-scrollbar-thumb {
	background: #1e293b;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #38bdf8;
}

/* Glassmorphism Utilities */
.glass {
	background: rgba(30, 41, 59, 0.7);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
	background: linear-gradient(
		145deg,
		rgba(30, 41, 59, 0.6) 0%,
		rgba(15, 23, 42, 0.8) 100%
	);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(56, 189, 248, 0.1);
}

/* Code Syntax Highlighting Simulation */
.code-keyword {
	color: #c678dd;
} /* Purple */
.code-function {
	color: #61afef;
} /* Blue */
.code-string {
	color: #98c379;
} /* Green */
.code-comment {
	color: #5c6370;
	font-style: italic;
} /* Grey */
.code-number {
	color: #d19a66;
} /* Orange */

/* Utility for delaying animations */
.delay-100 {
	animation-delay: 100ms;
}
.delay-200 {
	animation-delay: 200ms;
}
.delay-300 {
	animation-delay: 300ms;
}

/* 3D Tilt Utilities */
.js-tilt {
	transform-style: preserve-3d;
	transform: perspective(1000px);
}

/* RTL Support for Arabic */
[dir="rtl"] {
	direction: rtl;
}

[dir="rtl"] .flex {
	flex-direction: row-reverse;
}

[dir="rtl"] .text-left {
	text-align: right;
}

[dir="rtl"] .text-right {
	text-align: left;
}

/* Reverse margins and paddings for RTL */
[dir="rtl"] .mr-2 {
	margin-right: 0;
	margin-left: 0.5rem;
}

[dir="rtl"] .mr-3 {
	margin-right: 0;
	margin-left: 0.75rem;
}

[dir="rtl"] .ml-2 {
	margin-left: 0;
	margin-right: 0.5rem;
}

[dir="rtl"] .ml-4 {
	margin-left: 0;
	margin-right: 1rem;
}

/* Language dropdown positioning for RTL */
[dir="rtl"] #lang-dropdown {
	right: auto;
	left: 0;
}
