/* ===============================
   业务子页面通用样式
   rental / venue / theater 共享
=============================== */

/* ---- 页面头部 ---- */
.page {
  padding: 80px 0 40px;
}
.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 2px;
}
.page-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.9;
  color: #bbb;
  text-align: center;
}
.page-content p {
  margin-bottom: 16px;
}

/* ---- 案例卡片 ---- */
.case-card {
  background: #16161b;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.case-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.case-name {
  font-size: 15px;
  font-weight: 600;
  color: #eaeaea;
  padding: 14px 16px 4px;
  line-height: 1.4;
}
.case-desc {
  font-size: 13px;
  color: #888;
  padding: 0 16px 16px;
}

/* ---- 设备清单 ---- */
.equipment {
  padding: 60px 0;
}
.equipment-category {
  margin-bottom: 48px;
}
.equipment-title {
  font-size: 20px;
  font-weight: 600;
  color: #d4af37;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid #d4af37;
}
.equipment-item {
  background: #16161b;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
  transition: transform .25s;
}
.equipment-item:hover {
  transform: translateY(-4px);
}
.equipment-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #111116;
  padding: 12px;
}
.equipment-item h4 {
  font-size: 15px;
  color: #e0e0e0;
  margin: 12px 0 6px;
  font-weight: 600;
}
.equipment-item p {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  padding: 0 10px;
}

/* ---- 能力卡片（theater 用） ---- */
.capability-card {
  background: #16161b;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  border-top: 3px solid #a855f7;
  transition: transform .25s;
}
.capability-card:hover {
  transform: translateY(-4px);
}
.capability-card h4 {
  font-size: 17px;
  color: #e0e0e0;
  margin-bottom: 10px;
  font-weight: 600;
}
.capability-card p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* ---- 网格 ---- */
.grid-4 > * {
  flex: 1 1 calc(25% - 18px);
  min-width: 200px;
}
.grid-5 > * {
  flex: 1 1 calc(20% - 20px);
  min-width: 180px;
}

/* ---- 响应式 ---- */
@media (max-width: 768px) {
  .page { padding: 60px 0 30px; }
  .page-title { font-size: 26px; }
  .page-img { max-height: 240px; border-radius: 8px; }
  .page-content { font-size: 15px; padding: 0 8px; }
  .equipment-title { font-size: 18px; }
  .equipment-img { height: 140px; }
  .case-img { height: 160px; }
  .grid-4 > * { flex: 1 1 calc(50% - 12px); min-width: 140px; }
  .grid-5 > * { flex: 1 1 calc(50% - 12px); min-width: 150px; }
}

@media (max-width: 480px) {
  .page-title { font-size: 22px; }
  .grid-4 > *,
  .grid-5 > * { flex: 1 1 100%; min-width: auto; }
}

/* ===== 图片预览弹窗 ===== */
.img-lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  z-index: 1;
  transition: opacity 0.2s;
}
.img-lightbox-close:hover { opacity: 0.7; }
.img-lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
