﻿header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 30px;
	position: relative;
	z-index: 999;
	flex-wrap: wrap;
	background: white;
}

	/* Logo */
	header .logo {
		flex-shrink: 0;
		margin-left: 100px;
		margin-top: 50px;
	}

		header .logo img {
			height: 95px;
			max-width: 100%;
		}

/* Desktop Menu */
nav #menu {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-right: 100px;
	margin-top: 50px;
}

	nav #menu a,
	nav #menu button#more-btn {
		background: transparent;
		border: none;
		color: black;
		font-size: 25px;
		font-weight: 600;
		cursor: pointer;
		text-decoration: none;
		display: flex;
		align-items: center;
		gap: 8px;
	}

#more-btn img {
	width: 30px;
	height: 33px;
	margin-top: 7px;
}

#more-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: white;
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	border-radius: 5px;
	min-width: 150px;
	z-index: 10000;
}

	#more-dropdown a {
		display: block;
		padding: 15px 20px;
		color: black;
		text-decoration: none;
	}

/* Mobile Menu Button */
.hamburger {
	display: none;
	font-size: 30px;
	cursor: pointer;
	color: #005AA9;
}

/* Mobile Side Menu */
.mobile-menu {
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, #005AA9, #007bff);
	position: fixed;
	top: 0;
	right: -250px;
	height: 100%;
	width: 250px;
	padding-top: 80px;
	transition: right 0.3s ease;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
	z-index: 100000;
}

	.mobile-menu a {
		padding: 15px 20px;
		text-decoration: none;
		font-size: 20px;
		color: white;
		font-weight: bold;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
		transition: background 0.2s;
	}

		.mobile-menu a:hover {
			background: rgba(255, 255, 255, 0.15);
		}

	.mobile-menu.show {
		right: 0;
	}

/* Tablet */
@media (max-width: 991px) {
	header {
		padding: 10px 15px;
		justify-content: center;
	}

		header .logo {
			margin: 10px auto 20px auto;
		}

	nav #menu {
		margin: 0;
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

		nav #menu a,
		nav #menu button#more-btn {
			font-size: 20px;
			gap: 5px;
		}
}

/* Mobile Menu Style */
@media (max-width: 768px) {
	/* إخفاء القائمة العادية في الموبايل */
	#menu

{
	display: none;
}

/* زر الهامبرجر */
.hamburger {
	display: block;
	font-size: 28px;
	cursor: pointer;
	margin-right: 15px;
	z-index: 1001;
}

/* القائمة الجانبية */
.mobile-menu {
	position: fixed;
	top: 0;
	right: -250px; /* مخفية خارج الشاشة */
	width: 250px;
	height: 100%;
	background: white;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
	transition: right 0.3s ease-in-out;
	z-index: 1000;
	padding-top: 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-left: 20px;
}

	.mobile-menu a {
		text-decoration: none;
		font-size: 18px;
		color: black;
		font-weight: 600;
	}

	.mobile-menu.show {
		right: 0; /* تظهر */
	}

}
/* في الشاشات الكبيرة أخفي زرار الهامبرجر */
@media (min-width: 769px) {
	.hamburger {
		display: none;
	}
}


/* Small Mobile */
@media (max-width: 575px) {
	header {
		flex-direction: column;
		padding: 10px 10px;
	}

		header .logo {
			margin: 0 auto 15px auto;
		}

	nav #menu {
		width: 100%;
		justify-content: space-around;
		margin: 0;
	}

		nav #menu a,
		nav #menu button#more-btn {
			font-size: 18px;
			gap: 5px;
		}
}
