/* 全站共用样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}
html, body {
  background: #0f0f0f;
  color: #e0e0e0;
  line-height: 1.85;
}

/* 头部 */
.header {
  background: #181818;
  padding: 35px 20px;
  text-align: center;
  border-bottom: 3px solid #d4af7a;
}
.header h1 {
  font-size: 28px;
  color: #d4af7a;
  font-weight: normal;
}
.header p {
  color: #999;
  margin-top: 8px;
  font-size: 15px;
}

/* 导航 */
.nav {
  background: #222;
  text-align: center;
  padding: 14px 0;
}
.nav a {
  color: #ddd;
  text-decoration: none;
  margin: 0 15px;
  font-size: 15px;
  display: inline-block;
  padding: 4px 2px;
}
.nav a:hover {
  color: #d4af7a;
}

/* 轮播：16:10 比例 + 和页面同宽 + 等比缩放 */
.slider{
  position:relative;
  width: 100%;
  max-width: 920px;
  margin: 20px auto;
  overflow:hidden;
  background:#111;
  border-radius: 8px;
}
/* 16:10 比例 → 高度是宽度的 62.5% */
.slider::before {
  content: "";
  display: block;
  padding-top: 62.5%;
}
.slide-box{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  animation:slide 12s linear infinite;
}
.slide-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  flex-shrink:0;
}
@keyframes slide{
  0%{transform:translateX(0)}
  30%{transform:translateX(0)}
  35%{transform:translateX(-100%)}
  65%{transform:translateX(-100%)}
  70%{transform:translateX(-200%)}
  95%{transform:translateX(-200%)}
  100%{transform:translateX(0)}
}

/* 容器 */
.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 20px;
}
.card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
}
.card h3 {
  font-size: 20px;
  color: #d4af7a;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #d4af7a;
}
.card h2 {
  color: #d4af7a;
  margin-bottom: 20px;
}

/* 文章 */
.about {
  text-align: justify;
  color: #ccc;
  font-size: 15px;
}

/* 服务模块 */
.service-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.service-item {
  background: #252525;
  padding: 22px;
  border-radius: 6px;
  text-align: center;
  transition: 0.3s;
}
.service-item:hover {
  background: #2a2a2a;
}
.service-item a {
  color: #d4af7a;
  text-decoration: none;
  font-size: 16px;
    font-weight: bold;
}
.service-item a:hover {
  color: #fff;
}

/* 文章列表 */
.article-item {
  background: #252525;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.article-item h4 {
  color: #d4af7a;
  font-size: 16px;
  margin-bottom: 6px;
}
.article-item p {
  color: #999;
  font-size: 14px;
}

/* 图片组（详情页统一样式） */
.img-group{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:25px 0;
}
.img-group img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}
@media(max-width:600px){
  .img-group{grid-template-columns:1fr}
  .img-group img{height:200px}
}

/* 信息行 */
.info-line {
  font-size: 15px;
  color: #ccc;
  margin: 10px 0;
}
.info-line strong {
  color: #d4af7a;
}

/* 返回按钮 */
.back{
  color:#d4af7a;
  text-decoration:none;
  margin-top:20px;
  display:inline-block;
}

/* 底部 */
.footer {
  background: #181818;
  text-align: center;
  padding: 35px 20px;
  color: #777;
  font-size: 14px;
  border-top: 1px solid #222;
}
