/* ============================================================
   湖北文旅冰雪中心 官网样式
   主题：冰雪蓝白 · 响应式单页
   ============================================================ */

:root {
  --c-primary: #0b3d91;
  --c-primary-2: #2f80ed;
  --c-ice: #4aa3df;
  --c-cyan: #00c2d1;
  --c-snow: #f5f9ff;
  --c-white: #ffffff;
  --c-text: #1a2b3c;
  --c-text-soft: #5a6b7d;
  --c-line: #e3ecf6;
  --shadow-sm: 0 4px 16px rgba(11, 61, 145, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 61, 145, 0.12);
  --radius: 16px;
  --header-h: 72px;
  --grad-brand: linear-gradient(135deg, #2f80ed 0%, #00c2d1 100%);
  --grad-hero: linear-gradient(160deg, #0b3d91 0%, #2f80ed 45%, #7ec8e3 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px rgba(47, 128, 237, .35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(47, 128, 237, .45); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--c-primary); transform: translateY(-3px); }

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 2px 20px rgba(11, 61, 145, .1);
  height: 64px;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { flex: 0 0 auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: .5px; color: #fff; }
.brand-text small { font-size: 11px; color: rgba(255, 255, 255, .8); }
.site-header.scrolled .brand-text strong { color: var(--c-primary); }
.site-header.scrolled .brand-text small { color: var(--c-text-soft); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 8px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9);
  transition: color .25s ease, background .25s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 0; height: 2px; border-radius: 2px; background: var(--c-cyan); transition: width .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 22px; }
.nav-link.active, .nav-link:hover { color: #fff; }
.site-header.scrolled .nav-link { color: var(--c-text-soft); }
.site-header.scrolled .nav-link:hover, .site-header.scrolled .nav-link.active { color: var(--c-primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--c-primary); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   首屏 Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-color: #2f80ed;               /* 图片未加载时的冰雪蓝兜底 */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transform: scale(1);
  transition: opacity 1.1s ease;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; z-index: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 32, 78, .55) 0%, rgba(11, 61, 145, .45) 40%, rgba(9, 40, 92, .7) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-eyebrow {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(38px, 7vw, 72px); font-weight: 800; letter-spacing: 4px;
  line-height: 1.15; text-shadow: 0 6px 30px rgba(0, 0, 0, .3); margin-bottom: 16px;
}
.hero-subtitle { font-size: clamp(16px, 2.4vw, 22px); font-weight: 500; color: #eaf4ff; margin-bottom: 14px; }
.hero-desc { max-width: 640px; margin: 0 auto 34px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 14px; position: relative;
}
.wheel { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 轮播控制：箭头 + 圆点 ---------- */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .25s ease, transform .2s ease;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .32); }
.hero-arrow:active { transform: translateY(-50%) scale(.92); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }

.hero-dots { position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .5); cursor: pointer;
  transition: width .3s ease, background .3s ease, border-radius .3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .8); }
.hero-dot.is-active { width: 30px; border-radius: 999px; background: #fff; }

/* ============================================================
   通用 Section
   ============================================================ */
.section { padding: 96px 0; position: relative; }
.section:nth-of-type(even) { background: var(--c-snow); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 999px;
  background: rgba(47, 128, 237, .1); color: var(--c-primary-2);
  font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px;
}
.section-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; color: var(--c-primary); letter-spacing: 1px; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--c-text-soft); }

/* ============================================================
   关于我们
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.about-text p { color: var(--c-text-soft); margin-bottom: 18px; font-size: 16px; }
.about-points { margin-top: 8px; }
.about-points li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--c-text); font-weight: 500; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--grad-brand); box-shadow: 0 0 0 4px rgba(47, 128, 237, .15);
}
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-ico { display: inline-flex; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand); align-items: center; justify-content: center; margin-bottom: 14px; }
.value-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-card h3 { font-size: 17px; color: var(--c-primary); margin-bottom: 6px; }
.value-card p { font-size: 13.5px; color: var(--c-text-soft); }

/* ============================================================
   业务范围
   ============================================================ */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative; overflow: hidden;
}
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-ico { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; background: rgba(47, 128, 237, .1); align-items: center; justify-content: center; margin-bottom: 18px; }
.biz-ico svg { width: 28px; height: 28px; fill: none; stroke: var(--c-primary-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.biz-card h3 { font-size: 19px; color: var(--c-primary); margin-bottom: 10px; }
.biz-card p { font-size: 14.5px; color: var(--c-text-soft); }
.biz-card-cta { background: var(--grad-hero); border: none; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.biz-card-cta h3 { color: #fff; }
.biz-card-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 18px; }
.biz-card-cta .btn-primary { background: #fff; color: var(--c-primary); box-shadow: none; align-self: flex-start; }

/* ============================================================
   场馆设施
   ============================================================ */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fac-item {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fac-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fac-num {
  display: inline-block; font-size: 30px; font-weight: 800; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.fac-item h3 { font-size: 18px; color: var(--c-primary); margin-bottom: 8px; }
.fac-item p { font-size: 14px; color: var(--c-text-soft); }

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-ico { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; background: rgba(0, 194, 209, .12); align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--c-cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 16px; color: var(--c-primary); margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--c-text-soft); }
.contact-card p a, .footer-contact p a { transition: color .25s ease; }
.contact-card p a:hover { color: var(--c-primary-2); }
.footer-contact p a:hover { color: var(--c-cyan); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #071f47; color: rgba(255, 255, 255, .82); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255, 255, 255, .65); max-width: 320px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links a { display: block; font-size: 14px; color: rgba(255, 255, 255, .68); margin-bottom: 10px; transition: color .25s ease, transform .25s ease; }
.footer-links a:hover { color: var(--c-cyan); transform: translateX(4px); }
.footer-contact p { font-size: 14px; color: rgba(255, 255, 255, .68); margin-bottom: 10px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.copyright { font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.beian { font-size: 13.5px; }
.beian a { color: rgba(255, 255, 255, .75); transition: color .25s ease; }
.beian a:hover { color: var(--c-cyan); text-decoration: underline; }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(47, 128, 237, .4);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s ease;
}
.back-to-top svg { fill: #fff; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .biz-grid, .fac-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .section { padding: 68px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: var(--header-h); right: 0; width: 78%; max-width: 320px; height: calc(100vh - var(--header-h));
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 20px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px);
    box-shadow: -8px 0 30px rgba(11, 61, 145, .12);
    transform: translateX(100%); transition: transform .35s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav .nav-link { width: 100%; color: var(--c-text); font-size: 16px; padding: 12px 14px; }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--c-primary); background: var(--c-snow); }
  .site-nav .nav-link::after { display: none; }
  .site-header .brand-text small { display: none; }

  .hero { min-height: 92vh; }
  .hero-arrow { width: 40px; height: 40px; font-size: 15px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .hero-dots { bottom: 84px; gap: 8px; }
  .scroll-hint { display: none; }
  .hero-actions .btn { width: 100%; max-width: 260px; }
  .biz-grid, .fac-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 24px 28px; }
  .back-to-top { right: 18px; bottom: 18px; }
}

@media (max-width: 420px) {
  .about-values { grid-template-columns: 1fr; }
  .hero-eyebrow { letter-spacing: 1.5px; font-size: 11px; }
}

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
