/* parks.html 专用样式 */

.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0B1426 0%, #0D3B2E 40%, #0D7C66 100%);
  padding: 100px 24px 60px;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero-bg .hero-orb-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13,124,102,0.3) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  border-radius: 50%;
  animation: orb-float 8s ease-in-out infinite;
}
.page-hero-bg .hero-orb-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,150,59,0.2) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
  border-radius: 50%;
  animation: orb-float 10s ease-in-out infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.page-hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, #A8E6CF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0 0 28px;
}
.page-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.page-hero-stat {
  text-align: center;
}
.page-hero-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #C9963B;
  font-family: 'Inter', sans-serif;
}
.page-hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* 筛选栏 */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid #E8ECF1;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
}
.filter-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid #DDE1E7;
  background: #fff;
  font-size: 14px;
  color: #5A6577;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover {
  border-color: #0D7C66;
  color: #0D7C66;
}
.filter-tab.active {
  background: #0D7C66;
  color: #fff;
  border-color: #0D7C66;
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F5F7FA;
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 240px;
}
.filter-search svg {
  color: #8B9BB4;
  flex-shrink: 0;
}
.filter-search input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  color: #1A2332;
  width: 100%;
}
.filter-search input::placeholder {
  color: #8B9BB4;
}

/* 园区列表 */
.parks-section {
  background: #F5F7FA;
  padding: 40px 24px 60px;
}
.parks-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* 园区卡片 */
.park-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.park-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.park-card-header {
  padding: 20px 20px 16px;
  color: #fff;
  position: relative;
}
.park-card-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.25);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
}
.park-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}
.park-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
}
.park-card-body {
  padding: 20px;
}
.park-card-desc {
  font-size: 14px;
  color: #5A6577;
  line-height: 1.6;
  margin: 0 0 14px;
}
.park-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.tag-green { background: #E8F8F0; color: #0D7C66; }
.tag-amber { background: #FEF5E7; color: #C9963B; }
.tag-blue { background: #EBF5FB; color: #2980B9; }
.tag-purple { background: #F4ECF7; color: #8E44AD; }
.tag-primary { background: #E8F8F0; color: #0D7C66; }
.tag-success { background: #EBF5FB; color: #2980B9; }
.tag-warning { background: #FEF5E7; color: #C9963B; }
.tag-info { background: #F4ECF7; color: #8E44AD; }

.park-card-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #F0F2F5;
  border-bottom: 1px solid #F0F2F5;
  margin-bottom: 14px;
}
.park-card-info.compact {
  grid-template-columns: repeat(3, 1fr);
}
.park-card-info div {
  text-align: center;
}
.park-card-info strong {
  display: block;
  font-size: 11px;
  color: #8B9BB4;
  margin-bottom: 2px;
}
.park-card-info span {
  font-size: 15px;
  font-weight: 600;
  color: #1A2332;
}

.park-card-enterprises {
  margin-bottom: 16px;
}
.park-card-enterprises h4 {
  font-size: 13px;
  color: #5A6577;
  margin: 0 0 8px;
  font-weight: 500;
}
.enterprise-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.enterprise-chip {
  padding: 4px 10px;
  border-radius: 6px;
  background: #F5F7FA;
  font-size: 12px;
  color: #3A4A5C;
  border: 1px solid #E8ECF1;
}

.btn-park-detail {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #0D7C66;
  background: #fff;
  color: #0D7C66;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-park-detail:hover {
  background: #0D7C66;
  color: #fff;
}

/* 企业卡片 */
.enterprise-card .park-card-body {
  padding: 20px;
}
.enterprise-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.enterprise-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1A2332;
  margin: 0 0 4px;
}
.enterprise-addr {
  font-size: 13px;
  color: #8B9BB4;
  margin: 0 0 10px;
}

/* 园区详情弹框 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.park-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .park-modal {
  transform: translateY(0);
}
.park-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #F5F7FA;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5A6577;
  transition: background 0.2s;
}
.park-modal-close:hover {
  background: #E8ECF1;
}
.pm-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: #E8F8F0;
  color: #0D7C66;
  font-size: 13px;
  font-weight: 500;
}
.pm-section {
  margin-bottom: 20px;
}
.pm-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1A2332;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #F0F2F5;
}
.pm-section p {
  font-size: 14px;
  color: #5A6577;
  line-height: 1.7;
  margin: 0;
}
.pm-advantages {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.pm-advantages li {
  padding: 8px 12px;
  background: #F5F7FA;
  border-radius: 6px;
  font-size: 13px;
  color: #3A4A5C;
  position: relative;
  padding-left: 24px;
}
.pm-advantages li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  color: #0D7C66;
  font-weight: 700;
}
.pm-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-contacts div {
  font-size: 14px;
  color: #5A6577;
}

/* 导航 */
/* 导航栏和按钮样式统一使用 home.css */

  padding-top: 16px;
  border-top: 1px solid #1E3048;
}

/* 移动端 */
@media (max-width: 768px) {
  .page-hero-content h1 { font-size: 26px; }
  .page-hero-stats { gap: 20px; }
  .page-hero-stat strong { font-size: 24px; }
  .home-nav-links, .home-nav-actions { display: none; }
  .home-nav-toggle { display: block; }
  .parks-container { grid-template-columns: 1fr; }
  .filter-bar-inner { flex-direction: column; align-items: stretch; }
  .filter-search { min-width: auto; }
  .pm-advantages { grid-template-columns: 1fr; }
  .park-modal { padding: 20px; margin: 10px; }
}
