﻿/* 产品中心页面整体样式 */
.products-content {
  margin-top: 80px;
  padding-bottom: 60px;
  background: #fff;
}

/* 页面标题栏 */
.page-banner {
  background: url(https://picsum.photos/1920/300?random=7) no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 60px 0;
  text-align: center;
  position: relative;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.7);
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}
.page-banner p {
  font-size: 18px;
  opacity: 0.9;
}

/* 产品/服务展示网格 */
.products-grid {
  padding: 80px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.product-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-image {
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-item:hover .product-image img {
  transform: scale(1.05);
}
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 204, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-item:hover .product-overlay {
  opacity: 1;
}
.view-details {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  border: 2px solid #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.view-details:hover {
  background: #fff;
  color: #0066cc;
}
.product-info {
  padding: 20px;
}
.product-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
.product-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

