/* 详情页样式 - 科技感高端风格 */

/* 继承首页的变量和基础样式 */
@import url('./index.css');

/* 详情页 Hero 区域 */
.zh_detail_hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  background: #030508;
  overflow: hidden;
  padding: 150px 0 80px 0;
}

.zh_detail_hero_content {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* 面包屑导航 */
.zh_breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14px;
}

.zh_breadcrumb a {
  color: var(--zh-text-muted);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zh_breadcrumb a:hover {
  color: var(--zh-primary);
}

.zh_breadcrumb_separator {
  color: rgba(255, 255, 255, 0.2);
}

.zh_breadcrumb span:last-child {
  color: var(--zh-primary);
}

/* 详情页标题 */
.zh_detail_title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.zh_detail_badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  border-radius: 50px;
  color: var(--zh-primary);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.zh_detail_badge i {
  font-size: 16px;
}

/* 详情内容区 */
.zh_detail_section {
  padding: 80px 0 120px 0;
  background: #030508;
  position: relative;
}

/* 主信息卡片 */
.zh_detail_main_card {
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 60px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.zh_detail_main_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.03) 0%, rgba(112, 0, 255, 0.03) 100%);
  pointer-events: none;
}

.zh_detail_grid {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}

/* 图片展示区 */
.zh_detail_gallery {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.zh_detail_image_wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.zh_detail_image_wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.zh_detail_image_wrapper:hover img {
  transform: scale(1.05);
}

.zh_detail_image_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  cursor: pointer;
}

.zh_detail_image_wrapper:hover .zh_detail_image_overlay {
  opacity: 1;
}

.zh_detail_image_overlay i {
  font-size: 48px;
  color: var(--zh-primary);
}

/* 信息区 */
.zh_detail_info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.zh_info_block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.zh_info_block:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.zh_info_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(0, 242, 255, 0.2);
}

.zh_info_header i {
  font-size: 24px;
  color: var(--zh-primary);
}

.zh_info_header h3 {
  font-size: 20px;
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.zh_info_content {
  color: var(--zh-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.zh_info_content p {
  margin: 0;
}

/* 联系方式网格 */
.zh_contact_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.zh_contact_item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.zh_contact_item:hover {
  background: rgba(0, 242, 255, 0.05);
  border-color: var(--zh-primary);
  transform: translateX(5px);
}

.zh_contact_icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zh-gradient);
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.zh_contact_info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.zh_contact_label {
  font-size: 13px;
  color: var(--zh-text-muted);
}

.zh_contact_value {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

/* 操作按钮 */
.zh_detail_actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

/* 按钮样式 */
.zh_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  gap: 8px;
}

.zh_btn_primary {
  background: var(--zh-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.zh_btn_primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(112, 0, 255, 0.4);
}

.zh_btn_outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
}

.zh_btn_outline:hover {
  border-color: var(--zh-primary);
  background: rgba(0, 242, 255, 0.1);
  color: var(--zh-primary);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* 分区标题 */
.zh_section_header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.zh_section_title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.zh_section_line {
  width: 100px;
  height: 4px;
  background: var(--zh-gradient);
  margin: 0 auto;
  border-radius: 2px;
}

/* 服务列表 */
.zh_service_section {
  margin-bottom: 60px;
}

.zh_service_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.zh_service_card {
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.zh_service_card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.zh_service_image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.zh_service_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.zh_service_card:hover .zh_service_image img {
  transform: scale(1.1);
}

.zh_service_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.zh_service_card:hover .zh_service_overlay {
  opacity: 1;
}

.zh_service_overlay i {
  font-size: 36px;
  color: var(--zh-primary);
}

.zh_service_content {
  padding: 24px;
}

.zh_service_title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.zh_service_title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_service_title a:hover {
  color: var(--zh-primary);
}

.zh_service_footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.zh_service_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zh-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.zh_service_link:hover {
  gap: 12px;
  color: #fff;
}

/* 空状态 */
.zh_empty_section {
  text-align: center;
  padding: 80px 0;
  color: var(--zh-text-muted);
}

.zh_empty_section i {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.zh_empty_section p {
  font-size: 18px;
  margin: 0;
}

/* 相关推荐 */
.zh_related_section {
  margin-bottom: 60px;
}

.zh_related_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.zh_related_card {
  background: var(--zh-card-bg);
  border: 1px solid var(--zh-card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.zh_related_card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 242, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.zh_related_image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.zh_related_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.zh_related_card:hover .zh_related_image img {
  transform: scale(1.1);
}

.zh_related_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.zh_related_info {
  padding: 20px;
}

.zh_related_title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

.zh_related_title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zh_related_title a:hover {
  color: var(--zh-primary);
}

.zh_related_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--zh-text-muted);
  font-size: 14px;
}

.zh_related_meta i {
  color: var(--zh-primary);
}

/* CTA 区域 */
.zh_cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background: #030508;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.zh_cta_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: radial-gradient(circle at 50% 50%, #1a2a4a 0%, #030508 100%);
}

.zh_cta_content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.zh_cta_title {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
}

.zh_cta_desc {
  color: var(--zh-text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* 响应式 */
@media (max-width: 1200px) {
  .zh_detail_grid {
    grid-template-columns: 400px 1fr;
    gap: 40px;
  }

  .zh_service_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zh_related_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .zh_detail_hero {
    padding: 120px 0 60px 0;
    min-height: 300px;
  }

  .zh_detail_title {
    font-size: 32px;
  }

  .zh_detail_badge {
    font-size: 12px;
    padding: 8px 16px;
  }

  .zh_detail_grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .zh_detail_gallery {
    position: relative;
    top: 0;
  }

  .zh_detail_main_card {
    padding: 24px;
  }

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

  .zh_detail_actions {
    flex-direction: column;
  }

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

  .zh_related_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zh_section_title {
    font-size: 28px;
  }

  .zh_cta_title {
    font-size: 32px;
  }

  .zh_cta_desc {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .zh_detail_title {
    font-size: 24px;
  }

  .zh_breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }

  .zh_info_block {
    padding: 20px;
  }

  .zh_contact_icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

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

  .zh_section_title {
    font-size: 24px;
  }
}
