/* ===== صفحة مقدم الخدمة - تنسيقات إضافية ===== */

/* قسم البطل الخاص بمقدم الخدمة */
.provider-hero-section {
	background: var(--gradient-primary);
	padding: 180px 0 80px;
	color: var(--text-white);
	position: relative;
	overflow: hidden;
}

.provider-hero-section p {
	color: var(--text-white);
}

.btn-hero {
	background: var(--accent-color);
}

.btn-whatsapp {
	background: #25D366;
	color: white;
	border: none;
	border-radius: 25px;
	padding: 10px 20px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.3s ease;
	text-align: center;
}

.btn-whatsapp:hover {
	background: #128C7E;
	color: white;
	transform: translateY(-2px);
	text-decoration: none;
}

.provider-badge {
	background: var(--provider-badge);
	color: var(--text-dark);
	padding: 8px 20px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-block;
	margin-bottom: 20px;
}

.provider-hero-content h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 15px;
	line-height: 1.2;
}

.provider-title {
	display: block;
	font-size: 1.5rem;
	opacity: 0.9;
	margin-top: 10px;
}

.hero-description {
	font-size: 1.2rem;
	margin-bottom: 30px;
	opacity: 0.9;
	line-height: 1.6;
}

.provider-meta {
	display: flex;
	gap: 30px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.1rem;
}

.meta-item i {
	color: var(--accent-color);
}

.provider-actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

/* دعم Breadcrumb للغة العربية (RTL) */
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	padding: 0.5rem 1rem;
	margin-bottom: 1rem;
	list-style: none;
	background-color: #fff;
	border-radius: 0.375rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	direction: rtl;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
	display: inline-block;
	padding-left: 0.5rem;
	color: #6c757d;
	content: "»";
}

.share-buttons {
	display: flex;
	gap: 10px;
	margin-right: auto;
}

.btn-share,
.btn-favorite {
	background: var(--overlay-bg);
	color: var(--text-white);
	border: 1px solid var(--stats-border);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.btn-share:hover,
.btn-favorite:hover {
	background: var(--bg-white);
	color: var(--text-dark);
}

/* الملف الشخصي */
.provider-profile {
	text-align: center;
	background: var(--stats-bg);
	backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 40px 30px;
	border: 1px solid var(--stats-border);
}

.profile-image {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 0 auto 25px;
}

.profile-image img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid var(--bg-white);
}

.online-status {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 3px solid var(--bg-white);
}

.online-status.online {
	background: var(--online-status);
}

.rating-summary {
	color: var(--text-white);
}

.rating-score .score {
	font-size: 3rem;
	font-weight: 700;
	display: block;
	line-height: 1;
}

.rating-score .stars {
	color: var(--rating-stars);
	margin: 10px 0;
	font-size: 1.2rem;
}

.reviews-count {
	opacity: 0.8;
	font-size: 0.9rem;
}

.response-time {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
	padding: 10px;
	background: var(--stats-bg);
	border-radius: 10px;
}

.response-time i {
	color: var(--accent-color);
}

/* قسم التفاصيل */
.provider-details-section {
	padding: 10px 0;
	background: var(--bg-light);
}

/* الخدمات المقدمة */
.services-section {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: var(--shadow-medium);
}

.services-section h3 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 25px;
	font-size: 1.5rem;
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 10px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
	background: var(--bg-light);
	border-radius: 10px;
	border-right: 4px solid var(--secondary-color);
	transition: all 0.3s ease;
}

.service-item:hover {
	background: var(--bg-gray);
	transform: translateX(-5px);
}

.service-item i {
	color: var(--secondary-color);
	font-size: 1.5rem;
	width: 30px;
	text-align: center;
}

.service-item span {
	color: var(--text-dark);
	font-weight: 500;
}

/* قسم عن السباك */
.about-section {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: var(--shadow-medium);
}

.about-section h3 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 25px;
	font-size: 1.5rem;
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 10px;
}

.about-section,
.about-section h1,
.about-section h2, 
.about-section h3,
.about-section h4,
.about-section h5,
.about-section h6 {
  color: var(--text-gray) !important;
}

.about-section p {
	line-height: 1.8;
	margin-bottom: 20px;
	color: var(--text-gray);
}

.about-section ul {
	margin: 20px 0;
	padding-right: 20px;
}

.about-section li {
	margin-bottom: 10px;
	line-height: 1.6;
	color: var(--text-gray);
	position: relative;
	padding-right: 25px;
}

.about-section li:before {
	content: "✓";
	position: absolute;
	right: 0;
	color: var(--secondary-color);
	font-weight: bold;
}

/* معرض الأعمال */
.portfolio-section {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: var(--shadow-medium);
}

.portfolio-section h3 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 25px;
	font-size: 1.5rem;
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 10px;
}

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}

.portfolio-item {
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 1;
}

.portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.portfolio-item:hover img {
	transform: scale(1.1);
}

.portfolio-overlay {
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	color: var(--text-white);
	padding: 20px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
	transform: translateY(0);
}

/* ===== الأسئلة الشائعة ===== */
.faq-item {
	background: var(--bg-white);
	border-radius: 10px;
	margin-bottom: 15px;
	border: 1px solid var(--border-color);
	overflow: hidden;
}

.faq-question {
	padding: 20px;
	background: var(--bg-light);
	border: none;
	width: 100%;
	text-align: right;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
}

.faq-question:hover {
	background: var(--bg-gray);
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 20px;
	max-height: 500px;
}

.faq-item.active .faq-question i {
	transform: rotate(180deg);
}

/* قسم التقييمات */
.reviews-section {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 40px;
	box-shadow: var(--shadow-medium);
}

.reviews-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 20px;
}

.reviews-header h3 {
	color: var(--text-dark);
	font-weight: 700;
	font-size: 1.5rem;
	margin: 0;
}

.average-rating {
	text-align: center;
}

.average-rating .rating {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-dark);
	display: block;
}

.average-rating .stars {
	color: var(--rating-stars);
	margin: 5px 0;
}

.total-reviews {
	color: var(--text-gray);
	font-size: 0.9rem;
}

/* إحصائيات التقييم */
.rating-stats {
	margin-bottom: 40px;
}

.rating-bar {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
}

.rating-bar span:first-child {
	width: 70px;
	color: var(--text-gray);
	font-size: 0.9rem;
}

.rating-bar .bar {
	flex: 1;
	height: 8px;
	background: var(--bg-gray);
	border-radius: 4px;
	overflow: hidden;
}

.rating-bar .fill {
	height: 100%;
	background: var(--rating-stars);
	border-radius: 4px;
}

.rating-bar span:last-child {
	width: 30px;
	text-align: left;
	color: var(--text-gray);
	font-size: 0.9rem;
}

/* قائمة التقييمات */
.reviews-list {
	margin-bottom: 30px;
}

.review-item {
	border-bottom: 1px solid var(--bg-gray);
	padding: 25px 0;
}

.review-item:last-child {
	border-bottom: none;
}

.review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.reviewer-info {
	display: flex;
	align-items: center;
	gap: 15px;
}

.reviewer-avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	object-fit: cover;
}

.reviewer-details h5 {
	color: var(--text-dark);
	font-weight: 600;
	margin-bottom: 5px;
}

.review-date {
	color: var(--text-gray);
	font-size: 0.9rem;
}

.review-rating .stars {
	color: var(--rating-stars);
}

.review-content p {
	color: var(--text-gray);
	line-height: 1.6;
	margin-bottom: 15px;
}

.review-images {
	display: flex;
	gap: 10px;
}

.review-images img {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	object-fit: cover;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.review-images img:hover {
	transform: scale(1.1);
}

.add-review-section {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid var(--bg-gray);
}

/* الشريط الجانبي */
.provider-sidebar {
	position: sticky;
	top: 120px;
}

.contact-card,
.pricing-card,
.availability-card {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 30px;
	box-shadow: var(--shadow-medium);
	margin-bottom: 25px;
}

.contact-card h5,
.pricing-card h5,
.availability-card h5 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 20px;
	font-size: 1.3rem;
	text-align: center;
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 10px;
}

.emergency-simple {
	text-align: center;
	padding: 20px;
}


.contact-info {
	margin-bottom: 25px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 12px 0;
	border-bottom: 1px solid var(--bg-light);
}

.contact-item:last-child {
	border-bottom: none;
}

.contact-item i {
	color: var(--secondary-color);
	font-size: 1.2rem;
	width: 20px;
	text-align: center;
}

.contact-item div {
	flex: 1;
}

.contact-item span {
	display: block;
	color: var(--text-dark);
	font-weight: 600;
}

.contact-item small {
	color: var(--text-gray);
	font-size: 0.8rem;
}

.pricing-list {
	margin-bottom: 20px;
}

.price-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--bg-light);
}

.price-item:last-child {
	border-bottom: none;
}

.price-item span:first-child {
	color: var(--text-gray);
}

.price {
	color: var(--secondary-color);
	font-weight: 600;
}

.pricing-note {
	text-align: center;
}

.schedule-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--bg-light);
}

.schedule-item:last-child {
	border-bottom: none;
}

.schedule-item.emergency {
	background: var(--emergency-bg);
	margin: 0 -20px;
	padding: 15px 20px;
	border-radius: 8px;
	border: 1px solid var(--emergency-border);
}

.schedule-item.emergency span {
	color: var(--emergency-text);
	font-weight: 600;
}

/* النماذج المنبثقة */
.contact-options {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-option {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 20px;
	border: 2px solid var(--bg-light);
	border-radius: 10px;
	text-decoration: none;
	color: var(--text-dark);
	transition: all 0.3s ease;
}

.contact-option:hover {
	border-color: var(--secondary-color);
	background: var(--bg-light);
}

.contact-option i {
	font-size: 1.5rem;
	color: var(--secondary-color);
	width: 30px;
	text-align: center;
}

.contact-option strong {
	display: block;
	margin-bottom: 5px;
}

.contact-option span {
	color: var(--text-gray);
	font-size: 0.9rem;
}

/* نموذج التقييم */
.rating-input {
	margin-bottom: 25px;
}

.rating-input label {
	display: block;
	margin-bottom: 15px;
	color: var(--text-dark);
	font-weight: 600;
}

.stars-input {
	display: flex;
	flex-direction: row-reverse;
	justify-content: center;
	gap: 5px;
}

.stars-input input {
	display: none;
}

.stars-input label {
	font-size: 2rem;
	color: var(--bg-gray);
	cursor: pointer;
	transition: color 0.2s ease;
	margin: 0;
}

.stars-input input:checked~label,
.stars-input label:hover,
.stars-input label:hover~label {
	color: var(--rating-stars);
}

.image-upload {
	margin-top: 10px;
}

.upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border: 2px dashed var(--bg-gray);
	border-radius: 8px;
	color: var(--text-gray);
	cursor: pointer;
	transition: all 0.3s ease;
}

.upload-btn:hover {
	border-color: var(--secondary-color);
	color: var(--secondary-color);
}

.upload-btn i {
	font-size: 1.2rem;
}

/* تحسينات الاستجابة */
@media (max-width: 992px) {
	.provider-hero-content h1 {
		font-size: 2.5rem;
	}

	.reviews-header {
		flex-direction: column;
		text-align: center;
	}

	.services-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
}

@media (max-width: 768px) {
	.provider-hero-section {
		padding: 150px 0 60px;
		text-align: center;
	}

	.provider-hero-content h1 {
		font-size: 2rem;
	}

	.provider-meta {
		justify-content: center;
	}

	.provider-actions {
		justify-content: center;
		padding-bottom: 10px;
	}

	.share-buttons {
		margin-right: 0;
		margin-top: 15px;
	}

	.portfolio-grid {
		grid-template-columns: 1fr;
	}

	.rating-bar {
		flex-wrap: wrap;
	}

	.rating-bar .bar {
		flex: none;
		width: 150px;
	}
}

/* نموذج مشاركة مقدم الخدمة */
.share-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.share-modal {
	background: white;
	border-radius: 15px;
	padding: 20px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.share-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.share-header h5 {
	margin: 0;
	color: #333;
}

.close-btn {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #666;
}

.share-platforms {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.share-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px 10px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	gap: 5px;
}

.share-btn:hover {
	transform: translateY(-2px);
}

.share-btn i {
	font-size: 20px;
}

.whatsapp {
	background: #25D366;
	color: white;
}

.facebook {
	background: #1877F2;
	color: white;
}

.twitter {
	background: #1DA1F2;
	color: white;
}

.telegram {
	background: #0088cc;
	color: white;
}

.copy {
	background: #6c757d;
	color: white;
}

.email {
	background: #ea4335;
	color: white;
}


@media (max-width: 576px) {
	.provider-hero-content h1 {
		font-size: 1.8rem;
	}

	.provider-title {
		font-size: 1.2rem;
	}

	.hero-description {
		font-size: 1rem;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.services-section,
	.about-section,
	.portfolio-section,
	.reviews-section {
		padding: 25px 20px;
	}

	.contact-card,
	.pricing-card
	 {
		padding: 20px;
	}

	.review-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

.hover-card {
	transition: all 0.3s ease;
	border: 1px solid #dee2e6 !important;
}

.hover-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
	border-color: #3498db !important;
	text-decoration: none;
}