/* 西安VR全景拍摄服务网站 - 案例详情页样式 */

.case-detail-header {
  padding: 120px 0 80px;
  background: var(--gradient-bg);
  text-align: center;
}

.case-header-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--light-text);
}

.case-header-content > p {
  font-size: 18px;
  color: var(--metallic-silver);
  margin-bottom: 20px;
}

.case-meta {
  font-size: 14px;
  color: var(--neon-blue);
}

.case-meta span {
  margin: 0 8px;
}

/* VR全景预览 */
.vr-preview {
  padding: 60px 0;
  background: rgba(0, 31, 63, 0.3);
}

.vr-viewer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.vr-viewer-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: var(--dark-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--neon-blue);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
  cursor: grab;
}

.vr-viewer-container:active {
  cursor: grabbing;
}

.vr-scene {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  overflow: hidden;
}

.vr-sphere {
  width: 200%;
  height: 200%;
  position: absolute;
  left: -50%;
  top: -50%;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s ease;
}

.vr-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.vr-controls button {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  color: var(--light-text);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vr-controls button:hover {
  background: var(--neon-blue);
  color: var(--dark-bg);
}

.vr-controls button.active {
  background: var(--neon-blue);
  color: var(--dark-bg);
}

.vr-tip {
  text-align: center;
  margin-top: 20px;
  color: var(--metallic-silver);
  font-size: 14px;
}

/* 案例内容 */
.case-background,
.case-solution,
.case-feedback {
  padding: 80px 0;
}

.case-background:nth-child(even),
.case-solution:nth-child(even),
.case-feedback:nth-child(even) {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.3), var(--dark-bg));
}

.background-content,
.feedback-content {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 40px;
}

.background-content p,
.feedback-content p {
  color: var(--metallic-silver);
  line-height: 2;
  margin-bottom: 20px;
  font-size: 15px;
}

.feedback-content blockquote {
  color: var(--light-text);
  font-size: 18px;
  line-height: 2;
  font-style: italic;
  border-left: 4px solid var(--neon-blue);
  padding-left: 20px;
  margin-bottom: 20px;
}

.feedback-author {
  color: var(--neon-blue);
  font-weight: bold;
  text-align: right;
}

/* 拍摄方案 */
.solution-content {
  max-width: 1000px;
  margin: 0 auto;
}

.solution-item {
  display: flex;
  gap: 30px;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.solution-item:hover {
  border-color: var(--neon-blue);
}

.solution-item h3 {
  font-size: 22px;
  color: var(--neon-blue);
  margin-bottom: 15px;
  flex-shrink: 0;
  width: 150px;
}

.solution-item > p {
  color: var(--metallic-silver);
  line-height: 1.8;
  font-size: 15px;
}

/* 案例成果 */
.case-result {
  padding: 80px 0;
  background: var(--dark-bg);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 40px 30px;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.stat-number {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: var(--metallic-silver);
}

/* 相关案例推荐 */
.related-cases {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.3), var(--dark-bg));
}

.related-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-case {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-case:hover {
  border-color: var(--neon-blue);
}

.related-case a {
  display: block;
  color: inherit;
}

.related-case img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-case h3 {
  padding: 20px;
  font-size: 16px;
  color: var(--light-text);
  margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
  .case-header-content h1 {
    font-size: 32px;
  }

  .vr-viewer-container {
    height: 400px;
  }

  .solution-item {
    flex-direction: column;
    gap: 15px;
    padding: 30px;
  }

  .solution-item h3 {
    width: 100%;
  }

  .background-content,
  .feedback-content {
    padding: 25px;
  }

  .result-stats {
    grid-template-columns: 1fr 1fr;
  }
}
