

/* Banner样式 */
.detail-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 40px;
}

.detail-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-text p span{
    text-wrap-mode: wrap !important;
}
.detail-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.detail-text p img{
  max-width: 100%;
}
.detail-banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 80%;
  max-width: 1200px;
}

.detail-banner-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.detail-banner-breadcrumb {
  font-size: 14px;
  letter-spacing: 1px;
}

.detail-banner-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.detail-banner-breadcrumb a:hover {
  color: #ff8500;
}

/* 内容区域样式 */
.detail-section {
  padding: 80px 0;
  background-color: #fff;
}

.detail-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.detail-gallery {
  width: 100%;
  max-width: 600px;
}

.detail-main-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  background: #000;
  margin-bottom: 20px;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.img-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.img-count svg {
  margin-left: 2px;
}

.detail-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumbnail {
  width: calc(16.666% - 8.5px);
  height: 70px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail.active {
  opacity: 1;
  border-color: #ff8500;
}

.thumbnail:hover {
  opacity: 1;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info {
  flex: 1;
  min-width: 300px;
}

.detail-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 500;
}

.detail-meta {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin-bottom: 30px;
}

.meta-item {
  margin-bottom: 10px;
  display: flex;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.meta-label {
  font-weight: 500;
  color: #666;
  width: 100px;
}

.meta-value {
  color: #333;
}

.detail-description h3 {
  font-size: 18px;
  margin: 25px 0 15px;
  color: #333;
  font-weight: 500;
}

.detail-description h3:first-child {
  margin-top: 0;
}

.detail-description p {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* 相关案例 */
.related-cases {
  margin-top: 60px;
}

.section-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  width: 40px;
  height: 3px;
  background: #ff8500;
  position: absolute;
  bottom: 0;
  left: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-item {
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.related-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-img {
  height: 180px;
  overflow: hidden;
  background: #000;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.related-item:hover .related-img img {
  transform: scale(1.05);
}

.related-title {
  padding: 15px;
  font-size: 16px;
  color: #333;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.related-item:hover .related-title {
  color: #ff8500;
}

/* 详情页新增内容样式 */
.detail-container {
  padding: 0 20px 80px;
}

.detail-main-title {
  font-size: 28px;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.detail-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

/* 图片预览区域 */
.detail-image-preview {
  width: 100%;
}

.preview-container {
  position: relative;
  background: #000;
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.preview-img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-height: 600px;
  cursor: zoom-in;
}

.img-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.img-count svg {
  margin-left: 2px;
}

/* 导航按钮 */
.preview-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 2;
}

.nav-btn {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.8);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.prev-btn {
  padding-left: 10px;
}

.next-btn {
  padding-right: 10px;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
}

.prev-btn svg {
  margin-right: 5px;
}

.next-btn svg {
  margin-left: 5px;
}

/* 详情文本区域 */
.detail-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.detail-text p {
  margin-bottom: 15px;
}

/* 导航链接区域 */
.detail-navigation {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.nav-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #ff8500;
}

.nav-label {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}

.nav-title {
  font-size: 16px;
  font-weight: 500;
}

/* 全屏图片预览 */
.image-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: zoom-out;
}

.image-preview-wrapper {
  max-width: 90%;
  max-height: 90%;
}

.preview-full-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* 响应式样式 - 大屏幕 */
@media screen and (min-width: 1400px) {
  .detail-container {
    padding: 0 20px 100px;
  }
  
  .detail-main-title {
    font-size: 32px;
    margin-bottom: 50px;
  }
  
  .detail-content-wrapper {
    gap: 40px;
    margin-bottom: 80px;
  }
  
  .preview-container {
    max-width: 1000px;
  }
  
  .preview-img {
    max-height: 700px;
  }
  
  .detail-text {
    font-size: 18px;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .detail-text p {
    margin-bottom: 20px;
  }
  
  .nav-btn {
    padding: 10px 20px;
    font-size: 16px;
  }
  
  .nav-btn svg {
    width: 24px;
    height: 24px;
  }
  
  .detail-navigation {
    padding-top: 40px;
  }
  
  .nav-label {
    font-size: 16px;
  }
  
  .nav-title {
    font-size: 18px;
  }
}

/* 响应式样式 - 中等屏幕 */
@media screen and (max-width: 1200px) {
  .detail-container {
    padding: 0 20px 70px;
  }
  
  .detail-main-title {
    font-size: 26px;
    margin-bottom: 35px;
  }
  
  .detail-content-wrapper {
    gap: 25px;
    margin-bottom: 50px;
  }
  
  .preview-img {
    max-height: 550px;
  }
  
  .detail-text {
    font-size: 15px;
  }
}

/* 响应式样式 - 平板大屏 */
@media screen and (max-width: 992px) {
  .detail-banner{
    height: 200px;
  }
  .detail-container {
    padding: 0 15px 60px;
  }
  
  .detail-main-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .detail-content-wrapper {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .preview-container {
    max-width: 700px;
  }
  
  .preview-img {
    max-height: 500px;
  }
  
  .nav-btn {
    padding: 7px 14px;
    font-size: 13px;
  }
  
  .nav-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .detail-text {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .detail-text p {
    margin-bottom: 12px;
  }
  
  .detail-navigation {
    padding-top: 25px;
  }
  
  .nav-links {
    gap: 15px;
  }
  
  .nav-title {
    font-size: 15px;
  }
}

/* 响应式样式 - 平板 */
@media screen and (max-width: 768px) {
  .detail-container {
    padding: 0 12px 50px;
  }
  
  .detail-main-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  
  .detail-content-wrapper {
    gap: 20px;
    margin-bottom: 35px;
  }
  
  .preview-container {
    max-width: 100%;
  }
  
  .preview-img {
    max-height: 400px;
  }
  
  .img-count {
    font-size: 11px;
    padding: 3px 7px;
    right: 8px;
    bottom: 8px;
  }
  
  .img-count svg {
    width: 14px;
    height: 14px;
  }
  
  .preview-nav {
    gap: 15px;
  }
  
  .nav-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .detail-text {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .detail-text p {
    margin-bottom: 12px;
  }
  
  .detail-navigation {
    padding-top: 20px;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-label {
    font-size: 13px;
    margin-bottom: 3px;
  }
  
  .nav-title {
    font-size: 14px;
  }
}

/* 响应式样式 - 手机 */
@media screen and (max-width: 576px) {
  .detail-container {
    padding: 0 10px 40px;
  }
  
  .detail-main-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .detail-content-wrapper {
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .preview-img {
    max-height: 300px;
  }
  
  .img-count {
    font-size: 10px;
    padding: 2px 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 2px;
  }
  
  .img-count svg {
    width: 12px;
    height: 12px;
  }
  
  .preview-nav {
    gap: 10px;
    bottom: 8px;
  }
  
  .nav-btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 3px;
  }
  
  .nav-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .detail-text {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .detail-text p {
    margin-bottom: 10px;
  }
  
  .detail-navigation {
    padding-top: 15px;
  }
  
  .nav-links {
    gap: 12px;
  }
  
  .nav-label {
    font-size: 12px;
    margin-bottom: 2px;
  }
  
  .nav-title {
    font-size: 13px;
  }
}

/* 响应式样式 - 小手机 */
@media screen and (max-width: 375px) {
  .detail-container {
    padding: 0 8px 30px;
  }
  
  .detail-main-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .detail-content-wrapper {
    gap: 12px;
    margin-bottom: 25px;
  }
  
  .preview-img {
    max-height: 250px;
  }
  
  .preview-nav {
    gap: 8px;
    bottom: 6px;
  }
  
  .nav-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .nav-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .detail-text {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .detail-text p {
    margin-bottom: 8px;
  }
  
  .nav-label {
    font-size: 11px;
  }
  
  .nav-title {
    font-size: 12px;
  }
} 