* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #0d1117; color: #e6edf3; font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; line-height: 1.8; }
a { color: #f1c40f; text-decoration: none; }
a:hover { color: #f39c12; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { background: rgba(13,17,23,0.95); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #21262d; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-size: 20px; font-weight: bold; color: #f1c40f; }
.nav-links { display: flex; list-style: none; gap: 24px; }
.nav-links a { color: #8b949e; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #f1c40f; }
.menu-btn { display: none; background: none; border: none; color: #f1c40f; font-size: 24px; cursor: pointer; }

/* Hero */
.hero { text-align: center; padding: 80px 20px; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/qiao-hero.jpg') center/cover no-repeat; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,400 Q300,200 600,350 Q900,500 1200,300 L1200,600 L0,600Z" fill="%23f1c40f" opacity="0.03"/></svg>') center/cover; }
.hero h1 { font-size: 42px; color: #f1c40f; margin-bottom: 12px; position: relative; }
.hero p { font-size: 18px; color: #8b949e; position: relative; }

/* Stats */
.stats { display: flex; justify-content: center; gap: 60px; padding: 40px 20px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 48px; font-weight: bold; color: #f1c40f; }
.stat-label { font-size: 14px; color: #8b949e; margin-top: 4px; }

/* Section */
.section { padding: 60px 20px; }
.section-title { text-align: center; font-size: 28px; color: #f1c40f; margin-bottom: 40px; }
.section-subtitle { text-align: center; font-size: 15px; color: #8b949e; margin-top: -30px; margin-bottom: 40px; }

/* Card Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.3); transition: transform 0.3s, box-shadow 0.3s; height: 260px; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
a.card { text-decoration: none; color: inherit; }
.card-img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.card-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; z-index: 1; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.card-body h3 { font-size: 18px; color: #f1c40f; margin-bottom: 4px; text-shadow: 0 2px 8px rgba(0,0,0,1); }
.card-body p { font-size: 13px; color: #ccc; text-shadow: 0 1px 6px rgba(0,0,0,1); margin: 0; }
.card-badge { display: inline-block; background: rgba(241,196,15,0.2); color: #f1c40f; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; border: 1px solid rgba(241,196,15,0.3); }

/* Filter */
.filter-bar { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn { background: #21262d; color: #8b949e; border: 1px solid #30363d; padding: 8px 20px; border-radius: 20px; cursor: pointer; font-size: 14px; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: rgba(241,196,15,0.15); color: #f1c40f; border-color: #f1c40f; }

/* Content */
.content { max-width: 900px; margin: 0 auto; line-height: 2; }
.content h2 { color: #f1c40f; font-size: 24px; margin: 40px 0 16px; }
.content h3 { color: #e6edf3; font-size: 20px; margin: 30px 0 12px; }
.content p { color: #c9d1d9; margin-bottom: 16px; }
.content ul { padding-left: 24px; color: #c9d1d9; }
.content li { margin-bottom: 8px; }
.content blockquote { border-left: 3px solid #f1c40f; padding: 12px 20px; background: rgba(241,196,15,0.05); margin: 20px 0; border-radius: 0 8px 8px 0; color: #e6edf3; font-style: italic; }

/* Info Box */
.info-box { background: rgba(241,196,15,0.08); border: 1px solid rgba(241,196,15,0.2); border-radius: 10px; padding: 20px; margin: 20px 0; }
.info-box h4 { color: #f1c40f; margin-bottom: 10px; }

/* Bridge Detail */
.bridge-hero { padding: 60px 20px; text-align: center; }
.bridge-hero h1 { font-size: 36px; color: #f1c40f; }
.bridge-meta { display: flex; justify-content: center; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
.bridge-meta span { background: #21262d; padding: 4px 14px; border-radius: 15px; font-size: 13px; color: #8b949e; }
.bridge-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 20px 0; }
.bridge-gallery .gallery-item { border-radius: 8px; overflow: hidden; height: 200px; }
.bridge-gallery .gallery-item .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }

/* Route Card */
.route-card { background: #161b22; border: 1px solid #21262d; border-radius: 12px; padding: 24px; margin: 20px 0; }
.route-card h3 { color: #f1c40f; margin-bottom: 12px; }

/* Footer */
.footer { background: #161b22; border-top: 1px solid #21262d; padding: 30px 20px; text-align: center; color: #484f58; font-size: 13px; margin-top: 60px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d1117;
    padding: 0;
    border-bottom: 1px solid #21262d;
    list-style: none;
  }
  .nav-links.show li { border-bottom: 1px solid #21262d; }
  .nav-links.show li:last-child { border-bottom: none; }
  .nav-links.show a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #e6edf3;
    font-size: 16px;
    transition: background 0.3s;
  }
  .nav-links.show a::after {
    content: '›';
    font-size: 22px;
    color: #484f58;
  }
  .nav-links.show a:hover { background: rgba(241,196,15,0.08); color: #f1c40f; }
  .nav-links.show a:hover::after { color: #f1c40f; }
  .nav-links.show a.active { color: #f1c40f; }
  .nav-links.show a.active::after { color: #f1c40f; }
  .menu-btn { display: block; }
  .hero h1 { font-size: 28px; }
  .stats { gap: 30px; }
  .stat-num { font-size: 36px; }
  .card-grid { grid-template-columns: 1fr; }
}
