/* 西安VR全景拍摄服务网站 - 案例页面样式 */

.page-header {
  padding: 120px 0 80px;
  background: var(--gradient-bg);
  text-align: center;
  position: relative;
}

.page-header-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--light-text);
}

.page-header-content p {
  font-size: 16px;
  color: var(--metallic-silver);
}

/* 案例分类导航 */
.case-categories {
  padding: 40px 0;
  background: rgba(0, 31, 63, 0.3);
  position: sticky;
  top: 80px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.category-tabs {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.category-tab {
  padding: 12px 30px;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 25px;
  color: var(--metallic-silver);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-tab:hover,
.category-tab.active {
  background: var(--neon-blue);
  color: var(--dark-bg);
  border-color: var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* 案例展示区域 */
.case-section {
  padding: 80px 0;
}

.case-section:nth-child(even) {
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.3), var(--dark-bg));
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.case-item {
  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;
}

.case-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
  transform: scale(1.1);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
  opacity: 1;
}

.case-info {
  padding: 25px;
}

.case-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--light-text);
}

.case-info p {
  color: var(--metallic-silver);
  font-size: 14px;
  line-height: 1.6;
}

/* 更多案例提示 */
.more-cases {
  padding: 80px 0;
  background: var(--dark-bg);
  text-align: center;
}

.more-cases-content {
  max-width: 800px;
  margin: 0 auto;
}

.more-cases-content p {
  font-size: 20px;
  color: var(--metallic-silver);
  margin-bottom: 40px;
}

.more-cases-content .btn {
  margin: 0 10px;
}

/* 响应式 */
@media (max-width: 768px) {
  .page-header-content h1 {
    font-size: 32px;
  }

  .category-tabs {
    gap: 10px;
  }

  .category-tab {
    padding: 10px 20px;
    font-size: 13px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .more-cases-content .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .case-categories {
    top: 70px;
  }
}
