/* index.css - 首页专属样式 */

/* Hero 区 */
.hero-section {
  position: relative;
  min-height: 460px;
  padding: 60px 0;
  background: linear-gradient(105deg, rgba(11, 50, 100, 0.92) 0%, rgba(15, 76, 151, 0.85) 50%, rgba(8, 42, 86, 0.9) 100%),
              url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 180 L20 80 L50 80 L50 180 M60 180 L60 60 L100 60 L100 180 M110 180 L110 90 L150 90 L150 180 M160 180 L160 110 L190 110 L190 180' stroke='rgba(255,255,255,0.06)' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-size: cover, 200px 200px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  color: var(--color-white);
  text-align: center;
}

.hero-title {
  font-size: 62px;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 22px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
}

.hero-stat-label {
  font-size: 13px;
  opacity: 0.85;
}

/* Stats 信息行 */
.stats-section {
  padding: 24px 0;
  background-color: var(--color-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 24px;
}

.stats-box {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background-color: var(--color-white);
}

.stats-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.stats-box-title span {
  color: var(--color-primary);
}

.stats-box-more {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-gray);
}

.stats-box-more:hover {
  color: var(--color-primary);
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed #eee;
}

.stats-list li:last-child {
  border-bottom: none;
}

.stats-list a {
  color: var(--color-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 70%;
}

.stats-list a:hover {
  color: var(--color-primary);
}

.stats-list .tag {
  flex-shrink: 0;
  padding: 2px 8px;
  background-color: #f0f4f8;
  color: var(--color-secondary);
  font-size: 11px;
  border-radius: 3px;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-links a {
  display: block;
  padding: 8px;
  text-align: center;
  background-color: #f8f8f8;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--color-gray);
  transition: all 0.2s;
}

.service-links a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* 页面主内容统一背景 */
#main-content {
  background-color: var(--color-bg);
}

/* 推荐优选厂房 */
.property-section {
  padding: 40px 0;
  background-color: var(--color-bg);
}

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

.hot-panel-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hot-panel-card .hot-panel {
  height: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #ff7e29, #ff6a00);
  border-radius: 8px;
  padding: 20px;
  color: var(--color-white);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hot-panel-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hot-panel-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hot-panel-btns a {
  display: block;
  padding: 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
}

.hot-panel-btns a:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

/* 投资价值园区推荐 */
.park-section {
  padding: 40px 0;
  background-color: var(--color-bg);
}

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

/* 厂房指南 */
.guide-section {
  padding: 40px 0;
  background-color: var(--color-bg);
}

.guide-layout {
  display: flex;
  gap: 20px;
}

.guide-left {
  flex-shrink: 0;
  width: 540px;
}

.guide-right {
  flex: 1;
}

.guide-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.guide-tabs a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
}

.guide-tabs a.active,
.guide-tabs a:hover {
  color: var(--color-primary);
}

/* 媒体查询 */
@media (max-width: 1279px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .park-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1023px) {
  .hero-inner {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hot-panel-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hot-panel-btns a {
    flex: 1;
    min-width: 120px;
  }

  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .park-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-layout {
    flex-direction: column;
  }

  .guide-left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 32px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .property-grid,
  .park-grid {
    grid-template-columns: 1fr;
  }

  .news-featured {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .guide-tabs {
    flex-wrap: wrap;
    gap: 12px;
  }
}
