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

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

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

.city-hero-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.city-highlight {
	color: var(--accent-color);
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.city-hero-content p {
	font-size: 1.3rem;
	margin-bottom: 40px;
	opacity: 0.9;
}

.city-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-top: 50px;
	flex-wrap: wrap;
}

.stat-item {
	text-align: center;
}

.stat-number {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--accent-color);
}

.stat-label {
	font-size: 1rem;
	opacity: 0.8;
}

/* قسم خدمات المدينة */
.city-services-section {
	padding: 100px 0;
	background-color: var(--bg-light);
}

.services-grid {
	margin-top: 50px;
}

.service-category-card {
	background: var(--bg-white);
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	box-shadow: var(--shadow-medium);
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid var(--border-color);
}

.service-category-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-hover);
}

.service-category-card .service-icon {
	width: 80px;
	height: 80px;
	background: var(--service-icon-bg);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
}

.service-category-card .service-icon i {
	font-size: 2rem;
	color: var(--text-white);
}

.service-category-card h4 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 15px;
	font-size: 1.4rem;
}

.service-category-card p {
	color: var(--text-gray);
	margin-bottom: 20px;
	line-height: 1.6;
}

.service-count {
	background: var(--bg-light);
	padding: 8px 15px;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 20px;
}

.service-count span {
	color: var(--secondary-color);
	font-weight: 600;
	font-size: 0.9rem;
}

.service-link {
	color: var(--secondary-color);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
}

.service-link:hover {
	color: var(--primary-color);
	gap: 12px;
}

/* قسم مقدمي الخدمات */
.providers-section {
	padding: 100px 0;
	background: var(--bg-white);
}

.providers-grid {
	margin-top: 50px;
}

.provider-card {
	background: var(--bg-white);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: var(--shadow-medium);
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.provider-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-hover);
}

.provider-image {
	position: relative;
	height: 200px;
	overflow: hidden;
}

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

.provider-card:hover .provider-image img {
	transform: scale(1.05);
}

.provider-rating {
	position: absolute;
	top: 15px;
	left: 15px;
	background: rgba(255, 255, 255, 0.95);
	padding: 8px 12px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 5px;
}

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

.rating-value {
	font-weight: 600;
	color: var(--text-dark);
	font-size: 0.9rem;
}

.provider-info {
	padding: 25px;
}

.provider-info h5 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.provider-specialty {
	color: var(--secondary-color);
	font-weight: 500;
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.provider-stats {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-top: 15px;
	border-top: 1px solid var(--border-color);
}

.provider-stats span {
	color: var(--text-gray);
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	gap: 5px;
}

.provider-stats i {
	color: var(--secondary-color);
}

.provider-link {
	color: var(--secondary-color);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	font-size: 0.9rem;
}

.provider-link:hover {
	color: var(--primary-color);
	gap: 12px;
}

/* قسم محتوى SEO */
.seo-content-section {
	padding: 80px 0;
	background: var(--bg-light);
}

.seo-content {
	background: var(--bg-white);
	padding: 50px;
	border-radius: 15px;
	box-shadow: var(--shadow-medium);
}

.seo-content h2 {
	color: var(--text-dark);
	font-weight: 700;
	margin-bottom: 25px;
	font-size: 2rem;
}

.seo-content h3 {
	color: var(--secondary-color);
	font-weight: 600;
	margin: 30px 0 15px;
	font-size: 1.4rem;
}

.seo-content p {
	line-height: 1.8;
	margin-bottom: 20px;
	font-size: 1.1rem;
}

.seo-content ul {
	margin: 20px 0;
	padding-right: 20px;
}

.seo-content li {
	margin-bottom: 10px;
	line-height: 1.6;
	position: relative;
	padding-right: 25px;
}

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

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

	.city-stats {
		gap: 40px;
	}

	.stat-number {
		font-size: 2rem;
	}

	.service-category-card {
		padding: 30px 20px;
	}
}

@media (max-width: 768px) {
	.city-hero-section {
		padding: 150px 0 80px;
	}

	.city-hero-content h1 {
		font-size: 2.2rem;
	}

	.city-hero-content p {
		font-size: 1.1rem;
	}

	.city-stats {
		gap: 30px;
	}

	.stat-item {
		flex: 0 0 calc(50% - 30px);
	}

	.seo-content {
		padding: 30px 20px;
	}

	.seo-content h2 {
		font-size: 1.6rem;
	}

	.seo-content h3 {
		font-size: 1.2rem;
	}
}

@media (max-width: 576px) {
	.city-stats {
		flex-direction: column;
		gap: 20px;
	}

	.stat-item {
		flex: 0 0 100%;
	}

	.provider-stats {
		flex-direction: column;
		gap: 10px;
	}
}

  /* خدمات المدينة */
.city-services-section {
   padding: 80px 0;
   background: #f8f9fa;
}

.services-buttons-container {
   max-width: 1200px;
   margin: 0 auto;
}

.services-white-box {
   background: #fff;
   border-radius: 15px;
   padding: 30px;
   box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
   border: 1px solid #eef2f6;
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
   gap: 15px;
}

.service-search-box {
   position: relative;
   max-width: 500px;
   margin: 0 auto;
}

.service-search-box .form-control {
   padding-right: 50px;
   border-radius: 50px;
   border: 2px solid #eef2f6;
   height: 55px;
   font-size: 16px;
   transition: all 0.3s ease;
}

.service-search-box .form-control:focus {
   border-color: #007bff;
   box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
}

.service-search-box .fa-search {
   position: absolute;
   right: 20px;
   top: 50%;
   transform: translateY(-50%);
   color: #6c757d;
   font-size: 18px;
}

/* أزرار الخدمات */
.service-white-btn {
   display: block;
   background: #fff;
   border: 2px solid #f0f4f8;
   border-radius: 12px;
   padding: 20px 15px;
   text-decoration: none;
   color: #2d3748;
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   overflow: hidden;
}

.service-white-btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 0;
   background: var(--btn-color, linear-gradient(135deg, #007bff, #0056b3));
   transition: height 0.3s ease;
   z-index: 1;
}

.service-white-btn:hover::before {
   height: 100%;
}

.service-white-btn:hover {
   border-color: var(--btn-color, #007bff);
   transform: translateY(-3px);
   box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.btn-content {
   position: relative;
   z-index: 2;
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   gap: 10px;
}

.btn-icon {
   width: 50px;
   height: 50px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-bottom: 5px;
   transition: all 0.3s ease;
   background: var(--icon-bg, linear-gradient(135deg, #007bff, #0056b3));
}

.service-white-btn:hover .btn-icon {
   background: rgba(255, 255, 255, 0.2);
   transform: scale(1.1);
}

.btn-icon i {
   color: #fff;
   font-size: 20px;
}

.service-white-btn:hover .btn-icon i {
   color: #fff;
}

.btn-text {
   font-weight: 600;
   font-size: 15px;
   line-height: 1.4;
   transition: all 0.3s ease;
}

.service-white-btn:hover .btn-text {
   color: #fff;
   transform: translateY(-1px);
}

/* ألوان مختلفة لكل فئة */
.service-white-btn[data-category*="تنظيف"] {
   --btn-color: linear-gradient(135deg, #17a2b8, #138496);
   --icon-bg: linear-gradient(135deg, #17a2b8, #138496);
}

.service-white-btn[data-category*="سباك"] {
   --btn-color: linear-gradient(135deg, #007bff, #0056b3);
   --icon-bg: linear-gradient(135deg, #007bff, #0056b3);
}

.service-white-btn[data-category*="كهرب"] {
   --btn-color: linear-gradient(135deg, #ffc107, #e0a800);
   --icon-bg: linear-gradient(135deg, #ffc107, #e0a800);
}

.service-white-btn[data-category*="نقل"] {
   --btn-color: linear-gradient(135deg, #28a745, #1e7e34);
   --icon-bg: linear-gradient(135deg, #28a745, #1e7e34);
}

.service-white-btn[data-category*="دهان"] {
   --btn-color: linear-gradient(135deg, #e83e8c, #d91a72);
   --icon-bg: linear-gradient(135deg, #e83e8c, #d91a72);
}

.service-white-btn[data-category*="حداد"] {
   --btn-color: linear-gradient(135deg, #6f42c1, #59359a);
   --icon-bg: linear-gradient(135deg, #6f42c1, #59359a);
}

.service-white-btn[data-category*="حشرات"] {
   --btn-color: linear-gradient(135deg, #dc3545, #c82333);
   --icon-bg: linear-gradient(135deg, #dc3545, #c82333);
}

.service-white-btn[data-category*="تكييف"] {
   --btn-color: linear-gradient(135deg, #20c997, #199d76);
   --icon-bg: linear-gradient(135deg, #20c997, #199d76);
}

/* تأثيرات البحث */
.service-white-btn.hidden {
   display: none;
   animation: fadeOut 0.3s ease;
}

.service-white-btn.visible {
   display: block;
   animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
   from { opacity: 0; transform: scale(0.8); }
   to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
   from { opacity: 1; transform: scale(1); }
   to { opacity: 0; transform: scale(0.8); }
}

/* Responsive */
@media (max-width: 768px) {
   .services-white-box {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 12px;
      padding: 20px;
   }
   
   .service-white-btn {
      padding: 15px 10px;
   }
   
   .btn-icon {
      width: 45px;
      height: 45px;
   }
   
   .btn-icon i {
      font-size: 18px;
   }
   
   .btn-text {
      font-size: 14px;
   }
}

@media (max-width: 480px) {
   .services-white-box {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      padding: 15px;
   }
}