/* ============================================
   张会长官方网站 - 全局样式
   www.zhanghuizhang.com
   ============================================ */
:root {
  --gold: #b8860b;
  --gold-light: #d4af37;
  --gold-dark: #8b6914;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --text: #2c2c2c;
  --text-light: #666;
  --bg-light: #f8f5ef;
  --white: #ffffff;
  --border: #e8e0d0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { color: inherit; text-decoration: none; transition: all .3s; }
img { max-width: 100%; }

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all .3s;
}
.navbar.scrolled { background: rgba(26, 26, 46, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.navbar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.navbar-brand .logo-circle { width: 42px; height: 42px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.1rem; }
.navbar-brand .site-name { color: white; font-size: 1rem; font-weight: 600; }
.navbar-brand .site-sub { color: var(--gold-light); font-size: .7rem; display: block; }
.nav-menu { display: flex; align-items: center; list-style: none; gap: 4px; }
.nav-item { position: relative; }
.nav-link { color: rgba(255,255,255,.85); padding: 8px 16px; font-size: .9rem; border-radius: 6px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-item .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--dark2); border: 1px solid rgba(212,175,55,.2); border-radius: 8px; min-width: 160px; padding: 8px 0; box-shadow: 0 10px 30px rgba(0,0,0,.3); z-index: 100; }
.nav-item:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 8px 20px; color: rgba(255,255,255,.8); font-size: .875rem; }
.dropdown a:hover { color: var(--gold-light); background: rgba(255,255,255,.05); }

/* ===== 首页Banner ===== */
.hero-banner { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.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; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,26,46,.7) 0%, rgba(0,0,0,.4) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: white; z-index: 10; }
.hero-text h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-text .gold-line { width: 80px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); margin: 16px auto; }
.hero-text p { font-size: 1.3rem; color: rgba(255,255,255,.85); margin-bottom: 32px; letter-spacing: .1em; }
.btn-gold { display: inline-block; padding: 14px 40px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: white; border-radius: 50px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(184,134,11,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(184,134,11,.5); color: white; }
.btn-outline-gold { display: inline-block; padding: 12px 36px; border: 2px solid var(--gold-light); color: var(--gold-light); border-radius: 50px; font-size: .95rem; }
.btn-outline-gold:hover { background: var(--gold-light); color: white; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .3s; }
.hero-dots .dot.active { background: var(--gold-light); width: 24px; border-radius: 4px; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label { display: inline-block; color: var(--gold); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; color: var(--dark); position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin: 16px auto 0; border-radius: 2px; }
.section-header p { color: var(--text-light); font-size: 1rem; margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== 关于板块（首页摘要）===== */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 12px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.about-img::before { content: ''; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 2px solid var(--gold-light); border-radius: 12px; z-index: -1; opacity: .4; }
.about-text .pre-title { color: var(--gold); font-size: .85rem; letter-spacing: .15em; margin-bottom: 12px; }
.about-text h2 { font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
.about-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 24px; }
.about-stats { display: flex; gap: 32px; margin-bottom: 32px; }
.stat-item .num { font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-item .unit { font-size: .9rem; color: var(--text-light); }

/* ===== 业务板块 ===== */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.business-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; border: 1px solid var(--border); }
.business-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.12); border-color: var(--gold-light); }
.business-card .card-img { height: 200px; overflow: hidden; background: var(--dark); display: flex; align-items: center; justify-content: center; }
.business-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.business-card:hover .card-img img { transform: scale(1.05); }
.business-card .card-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.business-card .card-body { padding: 28px; }
.business-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.business-card p { color: var(--text-light); font-size: .9rem; line-height: 1.7; }
.business-card .card-link { color: var(--gold); font-size: .875rem; font-weight: 600; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }

/* ===== 新闻列表 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: all .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.news-card .card-img { height: 180px; overflow: hidden; background: #eee; }
.news-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card .card-body { padding: 20px; }
.news-card .cat-badge { font-size: .75rem; color: var(--gold); background: rgba(184,134,11,.1); padding: 2px 10px; border-radius: 50px; margin-bottom: 10px; display: inline-block; }
.news-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; }
.news-card .news-meta { color: var(--text-light); font-size: .8rem; margin-top: 12px; display: flex; justify-content: space-between; }

/* ===== 荣誉展示 ===== */
.honors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; transition: all .3s; }
.honor-card:hover { border-color: var(--gold-light); box-shadow: 0 8px 24px rgba(184,134,11,.1); }
.honor-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 12px; }
.honor-card .honor-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: white; font-size: 1.6rem; }
.honor-card h5 { font-size: .9rem; font-weight: 600; color: var(--dark); }
.honor-card p { color: var(--text-light); font-size: .8rem; margin-top: 6px; }

/* ===== 时间轴（履历）===== */
.timeline { position: relative; padding: 0 0 0 40px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--gold), transparent); }
.tl-item { position: relative; margin-bottom: 36px; }
.tl-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); border: 3px solid white; box-shadow: 0 0 0 2px var(--gold); }
.tl-year { display: inline-block; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: white; padding: 3px 12px; border-radius: 50px; font-size: .8rem; font-weight: 600; margin-bottom: 8px; }
.tl-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.tl-item .org { color: var(--gold); font-size: .9rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-light); font-size: .875rem; }

/* ===== 联系表单 ===== */
.contact-form-wrap { background: white; border-radius: 16px; padding: 48px; box-shadow: 0 8px 40px rgba(0,0,0,.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .95rem; font-family: inherit; outline: none; transition: border-color .3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== 相册 ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .3s; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; }
.gallery-item:hover .overlay { opacity: 1; }

/* ===== 页脚 ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand .logo-circle { width: 40px; height: 40px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.footer-brand h3 { color: white; font-size: 1rem; }
.footer-brand p { font-size: .85rem; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer h5 { color: var(--gold-light); font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,.6); font-size: .875rem; }
.footer ul li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ===== 分页 ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a { width: 40px; height: 40px; border-radius: 8px; background: white; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--text); }
.pagination a.active, .pagination a:hover { background: var(--gold); border-color: var(--gold); color: white; }

/* ===== 子页面Banner ===== */
.page-banner { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #0f3460 100%); padding: 120px 0 60px; text-align: center; color: white; }
.page-banner h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 12px; }
.page-banner .breadcrumb { color: rgba(255,255,255,.6); font-size: .875rem; }
.page-banner .breadcrumb a { color: var(--gold-light); }

/* ===== 致辞卡片 ===== */
.speech-card { background: white; border-radius: 16px; padding: 48px; box-shadow: 0 8px 40px rgba(0,0,0,.06); position: relative; overflow: hidden; }
.speech-card::before { content: '"'; position: absolute; top: -20px; left: 20px; font-size: 12rem; color: rgba(184,134,11,.06); font-family: Georgia,serif; line-height: 1; }
.speech-card .speech-photo { width: 160px; height: 200px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.speech-content { font-size: 1rem; line-height: 2; color: var(--text-light); }
.speech-sig { color: var(--gold); font-size: 1.1rem; font-weight: 600; margin-top: 24px; text-align: right; }

/* ===== 响应式 ===== */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all .3s; }
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--dark2); flex-direction: column; padding: 16px; gap: 0; }
  .nav-menu.open { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .about-preview, .business-grid, .news-grid, .honors-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
