/* ===== home.css - 首页专用样式 (L2视觉冲击型) ===== */

/* ---- Hero Banner ---- */
.hero {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background-color: #1C1C1C;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-text {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: 42px;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 4px;
  line-height: 1.2;
}

.hero-text .hero-sub {
  font-size: 18px;
  color: #F7E7CE;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.hero-text .hero-desc {
  font-size: 14px;
  color: #CCCCCC;
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Banner Dots ---- */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.hero-dot {
  width: 40px;
  height: 4px;
  background-color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background-color: #C8A96B;
}

/* ---- Slogan Bar ---- */
.slogan-bar {
  background-color: #C8A96B;
  padding: 25px 0;
  text-align: center;
}

.slogan-bar p {
  font-size: 16px;
  color: #FFFFFF;
  letter-spacing: 3px;
  font-weight: 600;
}

/* ---- Services Overview (C1图文左齐卡片) ---- */
.services-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid #F0F0F0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #C8A96B;
  box-shadow: 0 8px 30px rgba(200,169,107,0.15);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 20px;
  text-align: left;
}

.service-card-body h3 {
  font-size: 16px;
  color: #1C1C1C;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.service-card-body p {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
}

.service-card-body .card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #C8A96B;
}

.service-card-body .card-link:hover {
  color: #1C1C1C;
}

/* ---- Process Section (F2=4步) ---- */
.process-section {
  padding: 80px 0;
  background-color: #FAFAFA;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 35px 25px;
  background-color: #FFFFFF;
  border: 1px solid #F0F0F0;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: #C8A96B;
  transform: translateY(-5px);
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: #C8A96B;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 50px;
  margin: 0 auto 18px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #1C1C1C;
}

.process-step p {
  font-size: 13px;
  color: #666666;
  line-height: 1.7;
}

/* ---- About Preview ---- */
.about-preview {
  padding: 80px 0;
  background-color: #1C1C1C;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-text h2 {
  font-size: 28px;
  color: #F7E7CE;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.about-preview-text p {
  color: #AAAAAA;
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 14px;
}

.about-preview-text .btn {
  margin-top: 15px;
}

.about-preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.stat-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255,255,255,0.03);
  border: 1px solid #333333;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: #C8A96B;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: #888888;
  letter-spacing: 1px;
}

/* ---- News Preview ---- */
.news-preview {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.news-item {
  padding: 25px;
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
}

.news-item:hover {
  border-color: #C8A96B;
  background-color: #FDFBF7;
}

.news-date {
  font-size: 12px;
  color: #C8A96B;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.news-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1C1C1C;
  line-height: 1.4;
}

.news-item p {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 70px 0;
  background-color: #C8A96B;
  text-align: center;
}

.cta-section h2 {
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
}

.cta-section .btn-dark:hover {
  background-color: #FFFFFF;
  color: #1C1C1C;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-preview-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-text h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 500px;
  }
  .hero-text h1 {
    font-size: 24px;
  }
  .hero-text .hero-sub {
    font-size: 14px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  .about-preview-stats {
    grid-template-columns: 1fr;
  }
  .slogan-bar p {
    font-size: 14px;
  }
}
