﻿
:root {
	--primary-color: #c10a28;
	--secondary-color: #0b2046;
	--whatsapp-color: #25D366;
	--text-color: #4a4a4a;
	--bg-light: #f4f7f6;
	--white: #ffffff;
	--transition: all 0.3s ease-in-out;
}

/* الإعدادات الأساسية */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	font-family: 'Tajawal', sans-serif;
	background-color: var(--white);
	color: var(--text-color);
	line-height: 1.8;
	overflow-x: hidden;
	width: 100%;
	scroll-behavior: smooth;
}

.container {
	width: 90%;
	max-width: 1250px;
	margin: auto;
}

/* شريط التنقل (Navbar) */
nav {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.08);
	z-index: 1000;
	padding: 10px 0;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.nav-logo img {
	max-width: 140px;
	transition: var(--transition);
}

.nav-links {
	display: flex;
	align-items: center;
}

	.nav-links a {
		text-decoration: none;
		color: var(--secondary-color);
		font-weight: 700;
		margin: 0 12px;
		font-size: 1rem;
		transition: var(--transition);
	}

		.nav-links a:hover {
			color: var(--primary-color);
		}

/* زر تغيير اللغة */
.lang-btn {
	background-color: #f1f1f1;
	padding: 5px 12px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #ddd;
}

	.lang-btn:hover {
		background-color: var(--primary-color) !important;
		color: var(--white) !important;
		border-color: var(--primary-color);
	}

/* زر قائمة الموبايل (Hamburger Menu) */
.menu-toggle {
	display: none;
	font-size: 1.8rem;
	color: var(--secondary-color);
	cursor: pointer;
	transition: var(--transition);
}

/* أيقونة الواتساب العائمة */
.floating-whatsapp {
	position: fixed;
	bottom: 25px;
	left: 25px;
	background-color: var(--whatsapp-color);
	color: var(--white);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.2rem;
	box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
	z-index: 999;
	animation: pulse 2s infinite;
	text-decoration: none;
	transition: var(--transition);
}

	.floating-whatsapp:hover {
		transform: scale(1.1);
	}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}

	70% {
		box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* تأثير النقر للأزرار (Mobile Tap Effect) */
.btn:active, .hero-btn:active, .store-btn:active {
	transform: scale(0.92) !important;
	transition: transform 0.1s ease;
}

/* قسم البطل (Hero Section) */
.hero {
	position: relative;
	background-image: url('/images/home-background.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white);
}

	.hero::before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: linear-gradient(to bottom, rgba(11, 32, 70, 0.7), rgba(193, 10, 40, 0.5));
	}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 20px;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 800;
	margin-bottom: 15px;
	text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
	line-height: 1.4;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	font-weight: 500;
}

.hero-btn {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 12px 35px;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 50px;
	text-decoration: none;
	transition: var(--transition);
	border: 2px solid var(--primary-color);
	box-shadow: 0 10px 20px rgba(193, 10, 40, 0.3);
	display: inline-block;
}

	.hero-btn:hover {
		background-color: transparent;
		color: var(--white);
		border-color: var(--white);
		transform: translateY(-3px);
	}

/* العناوين والأقسام العامة */
.section-title {
	text-align: center;
	margin-bottom: 40px;
}

	.section-title h2 {
		font-size: 2.2rem;
		color: var(--secondary-color);
		position: relative;
		display: inline-block;
		padding-bottom: 10px;
	}

		.section-title h2::after {
			content: '';
			position: absolute;
			bottom: 0;
			left: 50%;
			transform: translateX(-50%);
			width: 60px;
			height: 3px;
			background-color: var(--primary-color);
			border-radius: 2px;
		}

.section-padding {
	padding: 70px 0;
}

/* قسم من نحن */
.about {
	background-color: var(--white);
}

.about-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.about-text {
	flex: 1;
}

	.about-text p {
		font-size: 1.1rem;
		margin-bottom: 15px;
		color: #555;
		text-align: justify;
	}

.about-image {
	flex: 1;
	position: relative;
}

	.about-image img {
		width: 100%;
		border-radius: 15px;
		box-shadow: 0 15px 30px rgba(0,0,0,0.1);
	}

/* قسم لماذا تختارنا */
.features {
	background-color: var(--bg-light);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.feature-box {
	background: var(--white);
	padding: 30px 15px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0,0,0,0.05);
	transition: var(--transition);
}

	.feature-box:hover {
		transform: translateY(-10px);
		box-shadow: 0 10px 20px rgba(193, 10, 40, 0.1);
	}

.feature-icon {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 15px;
}

.feature-box h3 {
	font-size: 1.3rem;
	color: var(--secondary-color);
	margin-bottom: 10px;
}

.feature-box p {
	font-size: 1rem;
}

/* قسم الخدمات */
.services {
	background-color: var(--white);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	justify-content: center;
}

.service-card {
	background: var(--white);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	transition: var(--transition);
}

	.service-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 15px 30px rgba(0,0,0,0.12);
	}

.service-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.service-info {
	padding: 25px 20px;
	text-align: center;
}

	.service-info h3 {
		font-size: 1.6rem;
		color: var(--secondary-color);
		margin-bottom: 10px;
	}

	.service-info p {
		color: #666;
		margin-bottom: 20px;
		font-size: 1rem;
	}

.btn-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.btn {
	padding: 12px 15px;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: bold;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: var(--transition);
}

.btn-online {
	background-color: var(--secondary-color);
	color: var(--white);
	border: 2px solid var(--secondary-color);
}

	.btn-online:hover {
		background-color: var(--white);
		color: var(--secondary-color);
	}

.btn-whatsapp {
	background-color: var(--whatsapp-color);
	color: var(--white);
	border: 2px solid var(--whatsapp-color);
}

	.btn-whatsapp:hover {
		background-color: var(--white);
		color: var(--whatsapp-color);
	}

/* قسم التطبيق */
.app-section {
	background: linear-gradient(135deg, var(--secondary-color), #1a3673);
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.app-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.app-text {
	flex: 1;
	min-width: 280px;
}

	.app-text h2 {
		font-size: 2.2rem;
		margin-bottom: 15px;
		color: #fff;
	}

	.app-text p {
		font-size: 1.1rem;
		margin-bottom: 25px;
		opacity: 0.9;
	}

.store-btns {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.store-btn {
	background: var(--white);
	color: var(--secondary-color);
	padding: 10px 20px;
	border-radius: 50px;
	text-decoration: none;
	font-size: 1rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 10px;
	transition: var(--transition);
}

	.store-btn:hover {
		background: var(--primary-color);
		color: var(--white);
		transform: translateY(-3px);
	}

.app-mockup {
	flex: 1;
	text-align: center;
	min-width: 280px;
}

	.app-mockup img {
		max-width: 100%;
		height: auto;
		max-height: 450px;
		border-radius: 20px;
		animation: float 6s ease-in-out infinite;
	}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-15px);
	}

	100% {
		transform: translateY(0px);
	}
}

/* الفوتر الجديد */
footer {
	background-color: #051024;
	color: #d1d5db;
	padding: 60px 0 20px;
	border-top: 4px solid var(--primary-color);
	font-size: 0.95rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-col h4 {
	color: var(--white);
	font-size: 1.3rem;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 10px;
}

	.footer-col h4::after {
		content: '';
		position: absolute;
		bottom: 0;
		right: 0;
		width: 40px;
		height: 3px;
		background: var(--primary-color);
	}

.footer-contact p {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 15px;
}

.footer-contact i {
	color: var(--primary-color);
	margin-top: 5px;
	font-size: 1.1rem;
}

.footer-contact a {
	color: #d1d5db;
	text-decoration: none;
	transition: var(--transition);
}

	.footer-contact a:hover {
		color: var(--primary-color);
	}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

	.footer-links a {
		color: #d1d5db;
		text-decoration: none;
		transition: var(--transition);
		display: flex;
		align-items: center;
		gap: 8px;
	}

		.footer-links a::before {
			content: '\f104';
			font-family: 'Font Awesome 6 Free';
			font-weight: 900;
			color: var(--primary-color);
			font-size: 0.8rem;
		}

		.footer-links a:hover {
			color: var(--white);
			transform: translateX(-5px);
		}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.1);
}

	.footer-bottom p {
		margin-bottom: 5px;
	}

.designed-by {
	font-size: 0.9rem;
	color: #9ca3af;
}

	.designed-by a {
		color: #3b82f6;
		text-decoration: none;
		font-weight: bold;
		transition: var(--transition);
	}

		.designed-by a:hover {
			color: var(--white);
		}

/* 📱 تجاوب الشاشات (Mobile & Tablet) */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}

	.hero h1 {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--white);
		flex-direction: column;
		align-items: flex-start;
		padding: 0;
		box-shadow: 0 10px 15px rgba(0,0,0,0.1);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s ease-in-out;
	}

		.nav-links.active {
			max-height: 300px;
			padding: 10px 0;
		}

		.nav-links a {
			width: 100%;
			padding: 12px 20px;
			margin: 0;
			border-bottom: 1px solid #f1f1f1;
		}

	.lang-btn {
		width: max-content;
		margin: 10px 20px !important;
	}

	.section-padding {
		padding: 40px 0;
	}

	.section-title {
		margin-bottom: 25px;
	}

		.section-title h2 {
			font-size: 1.8rem;
		}

	.hero-content {
		padding: 10px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
		margin-bottom: 20px;
	}

	.app-wrapper {
		text-align: center;
		flex-direction: column;
	}

	.store-btns {
		justify-content: center;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		text-align: right;
	}

	.floating-whatsapp {
		bottom: 20px;
		left: 20px;
		width: 50px;
		height: 50px;
		font-size: 1.8rem;
	}
}