/* 服务商详情页样式 - 基于首页设计风格 */

/* 面包屑导航 */
.zh_breadcrumb {
  background: #f8f9fa;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
  margin-top: 0;
}

.zh_breadcrumb_inner {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #868686;
}

.zh_breadcrumb_inner i.fa-home {
  color: #5c937f;
  font-size: 16px;
}

.zh_breadcrumb_inner i.fa-angle-right {
  font-size: 14px;
  color: #d0d0d0;
}

.zh_breadcrumb_inner a {
  color: #5c937f;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.zh_breadcrumb_inner a:hover {
  color: #3e8383;
}

.zh_breadcrumb_inner span {
  color: #404041;
  font-weight: 600;
}

/* 服务商详情 */
.zh_provider_detail {
  padding: 80px 0;
  background: #ffffff;
}

/* 服务商信息卡片 */
.zh_provider_card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 50px;
  margin-bottom: 60px;
}

.zh_provider_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f8f9fa;
}

.zh_provider_title {
  font-size: 42px;
  font-weight: 800;
  color: #404041;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.zh_provider_badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f7c9aa 0%, #ff717a 100%);
  color: #ffffff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(255, 113, 122, 0.3);
}

.zh_provider_badge i {
  font-size: 16px;
}

.zh_provider_main {
  display: flex;
  gap: 50px;
}

/* 左侧图片 */
.zh_provider_gallery {
  width: 45%;
}

.zh_provider_image_wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  height: 450px;
}

.zh_provider_image_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.zh_provider_image_wrapper:hover img {
  transform: scale(1.08);
}

.zh_provider_image_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(92, 147, 127, 0.9) 0%, rgba(62, 131, 131, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.zh_provider_image_wrapper:hover .zh_provider_image_overlay {
  opacity: 1;
}

.zh_provider_image_overlay i {
  font-size: 48px;
  color: #ffffff;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.zh_provider_image_wrapper:hover .zh_provider_image_overlay i {
  transform: scale(1);
}

/* 右侧信息 */
.zh_provider_info_box {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.zh_info_section {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 30px;
  border-left: 4px solid #5c937f;
}

.zh_info_section_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.zh_info_section_header i {
  font-size: 24px;
  color: #5c937f;
}

.zh_info_section_header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #404041;
  margin: 0;
}

.zh_info_content p {
  font-size: 16px;
  line-height: 1.9;
  color: #404041;
  margin: 0;
}

/* 联系方式 */
.zh_contact_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.zh_contact_item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.zh_contact_item:hover {
  transform: translateX(8px);
  box-shadow: 0 5px 20px rgba(92, 147, 127, 0.15);
}

.zh_contact_icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #71a896 0%, #3e8383 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zh_contact_icon i {
  font-size: 20px;
  color: #ffffff;
}

.zh_contact_content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.zh_contact_label {
  font-size: 13px;
  color: #868686;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.zh_contact_value {
  font-size: 18px;
  font-weight: 700;
  color: #404041;
}

/* 服务列表 */
.zh_service_section {
  margin-bottom: 60px;
}

.zh_section_header {
  text-align: center;
  margin-bottom: 50px;
}

.zh_section_title {
  font-size: 42px;
  font-weight: 800;
  color: #404041;
  margin-bottom: 20px;
  line-height: 1.2;
}

.zh_section_line {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #f7c9aa 0%, #ff717a 100%);
  margin: 0 auto;
  border-radius: 2px;
}

.zh_service_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 35px;
}

.zh_service_card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zh_service_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.zh_service_image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.zh_service_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zh_service_card:hover .zh_service_image img {
  transform: scale(1.1);
}

.zh_service_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(92, 147, 127, 0.95) 0%, rgba(62, 131, 131, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.zh_service_card:hover .zh_service_overlay {
  opacity: 1;
}

.zh_service_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: #5c937f;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.zh_service_card:hover .zh_service_btn {
  transform: translateY(0);
}

.zh_service_btn:hover {
  background: linear-gradient(135deg, #f7c9aa 0%, #ff717a 100%);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 113, 122, 0.4);
}

.zh_service_content {
  padding: 25px;
}

.zh_service_title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.zh_service_title a {
  color: #404041;
  text-decoration: none;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_service_title a:hover {
  color: #5c937f;
}

/* 空状态 */
.zh_empty_section {
  text-align: center;
  padding: 80px 0;
  margin-bottom: 60px;
}

.zh_empty_section i {
  font-size: 80px;
  color: #d0d0d0;
  margin-bottom: 20px;
}

.zh_empty_section p {
  font-size: 18px;
  color: #868686;
  margin: 0;
}

/* 相关服务商 */
.zh_related_section {
  margin-bottom: 40px;
}

.zh_related_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.zh_related_card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.zh_related_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.zh_related_image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.zh_related_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zh_related_card:hover .zh_related_image img {
  transform: scale(1.1);
}

.zh_related_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.zh_related_info {
  padding: 20px;
}

.zh_related_title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.zh_related_title a {
  color: #404041;
  text-decoration: none;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_related_title a:hover {
  color: #5c937f;
}

.zh_related_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #868686;
  font-size: 14px;
}

.zh_related_meta i {
  font-size: 13px;
  color: #5c937f;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .zh_provider_card {
    padding: 40px;
  }

  .zh_provider_title {
    font-size: 36px;
  }

  .zh_section_title {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .zh_provider_main {
    flex-direction: column;
  }

  .zh_provider_gallery,
  .zh_provider_info_box {
    width: 100%;
  }

  .zh_provider_image_wrapper {
    height: 380px;
  }

  .zh_service_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .zh_related_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .zh_provider_detail {
    padding: 60px 0;
  }

  .zh_provider_card {
    padding: 30px 20px;
  }

  .zh_provider_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .zh_provider_title {
    font-size: 28px;
  }

  .zh_provider_main {
    gap: 30px;
  }

  .zh_section_title {
    font-size: 28px;
  }

  .zh_service_grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .zh_related_grid {
    grid-template-columns: 1fr;
  }

  .zh_provider_image_wrapper {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .zh_provider_title {
    font-size: 24px;
  }

  .zh_section_title {
    font-size: 24px;
  }

  .zh_info_section {
    padding: 20px;
  }

  .zh_contact_item {
    padding: 15px;
  }

  .zh_contact_value {
    font-size: 16px;
  }
}
