/* ==========================================
   张浩 · 宫宴行业个人网站 — 样式表
   中国风配色：朱红 / 玄黑 / 描金
   ========================================== */

:root {
  --red: #A81E1E;
  --red-deep: #7A0F0F;
  --red-light: #C84040;
  --black: #1A1A1A;
  --ink: #2A2620;
  --gold: #B8860B;
  --gold-light: #D4AF37;
  --gold-soft: #E8D5A0;
  --cream: #FBF5E5;
  --paper: #FAF7F0;
  --grey: #666666;
  --light-grey: #B0AFA8;
  --line: #D4C088;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(168, 30, 30, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 134, 11, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 60px 20px;
  background:
    linear-gradient(135deg, rgba(168, 30, 30, 0.05) 0%, rgba(184, 134, 11, 0.08) 100%),
    var(--paper);
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  opacity: 0.3;
}

.hero::before { top: -200px; left: -200px; }
.hero::after { bottom: -200px; right: -200px; }

.hero-deco {
  position: absolute;
  font-size: 200px;
  color: var(--red);
  opacity: 0.04;
  font-family: "STKaiti", "KaiTi", serif;
  z-index: 0;
}
.hero-deco.left  { top: 50%; left: 5%;  transform: translateY(-50%); }
.hero-deco.right { top: 50%; right: 5%; transform: translateY(-50%); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.hero-tagline {
  display: inline-block;
  padding: 6px 18px;
  background: var(--red);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 30px;
  border: 1px solid var(--red-deep);
  box-shadow: 0 2px 8px rgba(168, 30, 30, 0.2);
}

.hero-name {
  font-family: "STKaiti", "KaiTi", "STSong", serif;
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  text-shadow: 2px 2px 0 var(--cream);
  position: relative;
}

.hero-name::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gold);
  margin: 20px auto;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.3em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--grey);
  font-style: italic;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.hero-slogan {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero-slogan::before, .hero-slogan::after {
  content: "\2756";
  color: var(--gold);
  font-size: 14px;
  margin: 0 15px;
  vertical-align: middle;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.2em;
  border: 1px solid var(--red-deep);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(168, 30, 30, 0.25);
}

.hero-cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(168, 30, 30, 0.35);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.3em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 22px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-logo span {
  color: var(--gold);
  margin-left: 4px;
  font-size: 14px;
  font-family: "Microsoft YaHei", sans-serif;
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-menu a:hover { color: var(--red); }
.nav-menu a:hover::after { width: 100%; }

/* ---------- 容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 30px;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title-zh {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 38px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.section-title-en {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---------- 关于我 ---------- */
.about {
  background: var(--cream);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--cream);
  font-family: "STKaiti", "KaiTi", serif;
  text-align: center;
  padding: 40px;
  box-shadow: 12px 12px 0 var(--gold-soft);
}

.about-photo-big {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 4px 4px 0 var(--red-deep);
}

.about-photo-sub {
  font-size: 16px;
  letter-spacing: 0.4em;
  border-top: 1px solid var(--cream);
  padding-top: 16px;
  width: 100%;
  max-width: 200px;
}

.about-text h3 {
  font-family: "STKaiti", "KaiTi", serif;
  color: var(--red);
  font-size: 26px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 16px;
  text-align: justify;
}

.about-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.info-label {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  min-width: 64px;
}

.info-value {
  color: var(--ink);
}

/* ---------- 核心优势 ---------- */
.advantages {
  background: var(--paper);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.adv-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.adv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.adv-card::after {
  content: "\2756";
  position: absolute;
  top: 18px; right: 20px;
  color: var(--gold-soft);
  font-size: 20px;
  opacity: 0.5;
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(168, 30, 30, 0.12);
  border-color: var(--red);
}

.adv-icon {
  font-size: 32px;
  color: var(--red);
  margin-bottom: 12px;
  font-weight: 700;
}

.adv-title {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.adv-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 工作履历 (时间线) ---------- */
.timeline-section {
  background: var(--cream);
}

.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 950px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 30px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--gold) 5%,
    var(--red) 50%,
    var(--gold) 95%,
    transparent 100%);
}

.tl-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 36px;
  transition: all 0.3s ease;
}

.tl-dot {
  position: absolute;
  left: 22px; top: 6px;
  width: 18px; height: 18px;
  background: var(--red);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--red);
  z-index: 2;
}

.tl-item.current .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 8px rgba(184, 134, 11, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 0 0 8px rgba(184, 134, 11, 0.2); }
  50% { box-shadow: 0 0 0 2px var(--gold), 0 0 0 14px rgba(184, 134, 11, 0); }
}

.tl-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 22px 26px;
  position: relative;
  transition: all 0.3s;
}

.tl-item.current .tl-card {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, var(--paper) 0%, #FFF8E1 100%);
}

.tl-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.tl-title {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 20px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.tl-item.current .tl-title {
  color: var(--gold);
}

.tl-date {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--cream);
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.tl-company {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 12px;
  font-weight: 600;
}

.tl-company strong {
  color: var(--ink);
  font-weight: 700;
}

.tl-bullets {
  list-style: none;
  margin-top: 8px;
}

.tl-bullets li {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
}

.tl-bullets li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ---------- 全国布局 ---------- */
.map-section {
  background: var(--paper);
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.map-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 18px 20px;
  position: relative;
  border-top: 3px solid var(--red);
  transition: all 0.3s;
}

.map-card:hover {
  border-top-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(168,30,30,0.1);
}

.map-card.hq {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--cream);
  border-top-color: var(--gold);
}

.map-card.hq .map-region,
.map-card.hq .map-role,
.map-card.hq .map-text {
  color: var(--cream);
}

.map-card.hq .map-region {
  color: var(--gold-soft);
}

.map-card.hq .map-role {
  background: var(--gold);
  color: var(--red-deep);
}

.map-region {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 4px;
}

.map-role {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  background: var(--red);
  color: var(--cream);
  padding: 2px 10px;
  margin-bottom: 8px;
  border-radius: 2px;
}

.map-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- 资本战绩 ---------- */
.achievements {
  background: var(--cream);
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.ach-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 22px;
  position: relative;
  transition: all 0.3s;
}

.ach-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(168,30,30,0.1);
}

.ach-num {
  position: absolute;
  top: 12px; right: 16px;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 36px;
  color: var(--gold-soft);
  font-weight: 700;
  opacity: 0.6;
}

.ach-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  padding: 3px 10px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.ach-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- 愿景 ---------- */
.vision {
  background: linear-gradient(135deg, var(--black) 0%, var(--ink) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: "\613F";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 500px;
  color: var(--red);
  opacity: 0.04;
  font-weight: 700;
  pointer-events: none;
}

.vision .section-title-zh { color: var(--gold-soft); }
.vision .section-title-en { color: var(--gold); }

.vision-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.vstep {
  background: rgba(251, 245, 229, 0.05);
  border: 1px solid var(--gold);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
}

.vstep:hover {
  background: rgba(251, 245, 229, 0.1);
  transform: translateY(-4px);
}

.vstep-num {
  display: inline-block;
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 48px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.vstep-title {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 22px;
  color: var(--gold-soft);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.vstep-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--cream);
}

.vision-quote {
  margin-top: 50px;
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  position: relative;
  z-index: 1;
}

.vision-quote-text {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--gold-soft);
  letter-spacing: 0.15em;
  line-height: 1.8;
  font-weight: 500;
}

.vision-quote-text::before { content: "\300E "; color: var(--gold); }
.vision-quote-text::after { content: " \300F"; color: var(--gold); }

/* ---------- 联系方式 ---------- */
.contact {
  background: var(--paper);
  text-align: center;
}

.contact-card {
  display: inline-block;
  background: var(--cream);
  border: 2px solid var(--red);
  padding: 40px 50px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 8px 8px 0 var(--gold-soft);
}

.contact-card::before, .contact-card::after {
  content: "\2756";
  position: absolute;
  color: var(--gold);
  font-size: 16px;
}
.contact-card::before { top: 12px; left: 12px; }
.contact-card::after { bottom: 12px; right: 12px; }

.contact-name {
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 32px;
  color: var(--red);
  margin-bottom: 6px;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.contact-title {
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.3em;
}

.contact-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.contact-item {
  margin: 12px 0;
  font-size: 15px;
  color: var(--ink);
}

.contact-item-label {
  color: var(--red);
  font-weight: 700;
  margin-right: 12px;
  letter-spacing: 0.1em;
}

.contact-qr {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.2em;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--black);
  color: var(--gold-soft);
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  position: relative;
  z-index: 1;
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 16px;
}

.footer-deco {
  color: var(--red);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 24px;
  letter-spacing: 0.5em;
  margin-bottom: 10px;
}

/* ---------- 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .timeline::before { left: 18px; }
  .tl-item { padding-left: 50px; }
  .tl-dot { left: 10px; }
  .tl-title { font-size: 17px; }
}
