/* 案例列表页样式 */

/* 页面标题区域 */
.page-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 180px 0 80px;
  color: #fff;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #e94560;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

/* 案例筛选 */
.cases-filter {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.filter-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-label {
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.95rem;
  white-space: nowrap;
}

.filter-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  color: #495057;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  background: #e9ecef;
}

.filter-btn.active {
  background: #e94560;
  border-color: #e94560;
  color: #fff;
}

/* 案例列表 */
.cases-list {
  padding: 60px 0;
  background: #f8f9fa;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 案例卡片 */
.case-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.case-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.case-card:hover .case-overlay {
  opacity: 1;
}

.btn-view-case {
  padding: 12px 28px;
  background: #e94560;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transform: translateY(20px);
  transition: all 0.3s;
}

.case-card:hover .btn-view-case {
  transform: translateY(0);
}

.btn-view-case:hover {
  background: #d63d56;
}

.case-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e94560;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.case-content {
  padding: 25px;
}

.case-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.case-date,
.case-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.85rem;
}

.case-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-desc {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.case-stats {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 15px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #495057;
  font-size: 0.85rem;
}

.stat-item i {
  color: #e94560;
}

.case-products {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-tag {
  padding: 4px 10px;
  background: #f8f9fa;
  color: #495057;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}

.page-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.page-btn:hover {
  background: #e94560;
  border-color: #e94560;
  color: #fff;
}

.page-btn.active {
  background: #e94560;
  border-color: #e94560;
  color: #fff;
}

.page-dots {
  color: #6c757d;
}

/* 数据统计 */
.cases-stats {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background: #e94560;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.8rem;
  }

  .filter-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}
