/* ============================================================
   品牌活动 campaign.css
   内容来自 lanhu_zhongpinhuodong 设计稿；导航与页尾与 Profile.html 保持一致；
   交互（平滑滚动 / 吸顶导航 / 滚动淡入 / 卡片上浮）参考 Profile.html
   ============================================================ */

.page {
  background-color: rgba(248, 248, 248, 1);
  position: relative;
  width: 1920px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
}

/* ===================== 导航栏（与 Profile.html 一致） ===================== */
.group_1 {
  background-color: rgba(255, 255, 255, 1);
  width: 1921px;
  height: 108px;
}

.image_1 {
  width: 190px;
  height: 58px;
  margin: 26px 0 0 183px;
}

.text-wrapper_1 {
  width: 1184px;
  height: 56px;
  overflow-wrap: break-word;
  font-size: 0;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
  margin: 27px 310px 0 54px;
}

.text_1 {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

.text_2 {
  overflow-wrap: break-word;
  color: rgba(192, 5, 19, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

.text_3 {
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 18px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 56px;
}

/* ===================== 英雄区：品牌活动日历 ===================== */
.hero {
  position: relative;
  width: 1920px;
  height: 951px;
  background: url(./img/FigmaDDSSlicePNG90e32d7a0deedcb9e32f6c47b88321dd.png)
    center / 100% 100% no-repeat;
}

.hero-cards {
  position: absolute;
  top: 106px;
  left: 163px;
  display: flex;
  align-items: flex-start;
  gap: 45px;
}

.hero-col {
  display: flex;
  flex-direction: column;
  width: 503px;
}

.evt-card {
  box-sizing: border-box;
  width: 503px;
  padding: 20px 36px;
  background-color: rgba(249, 249, 249, 0.3);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.evt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.evt-card-a {
  height: 151px;
}

.evt-card-b {
  height: 278px;
  margin-top: 30px;
}

.evt-card-c {
  height: 244px;
  margin-top: 0;
}

.evt-card-d {
  height: 187px;
  margin-top: 28px;
}

.evt-head {
  display: flex;
  align-items: baseline;
}

.evt-num {
  font-size: 80px;
  font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
  line-height: 56px;
}

.evt-unit {
  font-size: 22px;
  color: rgba(51, 51, 51, 1);
  margin-left: 6px;
  line-height: 40px;
}

.evt-line {
  margin: 0;
  font-size: 20px;
  font-family: Microsoft YaHei-Regular;
  color: rgba(51, 51, 51, 1);
  line-height: 40px;
}

/* ===================== 年度活动图库块 ===================== */
.year-block {
  position: relative;
  width: 1920px;
  height: 876px;
  overflow: hidden;
}

.yb-2025 {
  background: rgba(2, 8, 94, 1);
}

.yb-2024 {
  background: rgba(0, 85, 75, 1);
}

.yb-2023 {
  background: rgba(3, 14, 106, 1);
}

.year-badge {
  position: absolute;
  left: 161px;
  top: 0;
  width: 225px;
  height: 97px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
  font-size: 44px;
  font-family: "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 56px;
}

.year-banner {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: 1600px;
  height: 523px;
  object-fit: contain;
}

.year-strip {
  position: absolute;
  top: 666px;
  left: 50%;
  transform: translateX(-50%);
  width: 1600px;
  height: 133px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.year-strip img {
  width: 213px;
  height: 132px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.year-strip img:hover {
  transform: scale(1.05);
}

/* ===================== 页尾（与 Profile.html 一致） ===================== */
.group_17 {
  background-color: rgba(228, 228, 228, 1);
  position: relative;
  width: 1921px;
  height: 248px;
  margin: -1px 0 0 0;
}

.box_15 {
  width: 1593px;
  height: 58px;
  margin: 32px 0 0 167px;
}

.text_70 {
  width: 528px;
  height: 34px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 16px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 34px;
  margin-top: 12px;
}

.image_4 {
  width: 190px;
  height: 58px;
}

.box_16 {
  width: 1921px;
  height: 0;
  border: none;
  border-top: 1px dashed rgba(47, 47, 47, 1);
  margin-top: 28px;
}

.text-wrapper_27 {
  width: 1593px;
  height: 90px;
  margin: 39px 0 0 167px;
}

.paragraph_9 {
  width: 939px;
  height: 90px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 30px;
}

.text_71 {
  width: 311px;
  height: 30px;
  overflow-wrap: break-word;
  color: rgba(51, 51, 51, 1);
  font-size: 14px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: left;
  line-height: 30px;
  margin-top: 32px;
}

.text-wrapper_28 {
  background-color: rgba(47, 47, 47, 1);
  border-radius: 30px;
  height: 49px;
  border: 1px solid rgba(82, 82, 82, 1);
  width: 282px;
  position: absolute;
  left: 819px;
  top: 93px;
}

.text_72 {
  width: 83px;
  height: 34px;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-family: Microsoft YaHei-Regular;
  font-weight: NaN;
  text-align: center;
  line-height: 34px;
  margin: 7px 0 0 7px;
}

.text_73 {
  position: absolute;
  left: 74px;
  top: 0;
  width: 206px;
  height: 49px;
  overflow-wrap: break-word;
  color: rgba(255, 255, 255, 1);
  font-size: 26px;
  font-family: Microsoft YaHei-Bold;
  font-weight: 700;
  text-align: center;
  line-height: 49px;
}

/* ============================================================
   交互效果：平滑滚动 / 吸顶导航 / 滚动淡入（参考 Profile.html）
   ============================================================ */

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 吸顶导航栏（固定于视口顶部，滚动时加阴影）；随页面水平居中 */
.group_1 {
  position: fixed;
  top: 0;
  left: calc(50% - 960px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

/* 导航底色整体平铺：铺满整个视口宽度，内容仍保持原位 */
.group_1::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 108px;
  background-color: rgba(255, 255, 255, 1);
  z-index: -1;
}

.group_1.scrolled::before {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 导航改为固定后，页面顶部预留导航高度 */
.page {
  padding-top: 108px;
}

/* 滚动淡入上浮：各主要模块进入视口时渐显并轻微上移 */
.hero,
.year-block,
.group_17 {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.in-view,
.year-block.in-view,
.group_17.in-view {
  opacity: 1;
  transform: translateY(0);
}
