/* ============================================
   Hero Banner - 首页大图区域样式（全屏通栏）
   ============================================ */

/* ---- 导航隔离：强制白色背景，与 Banner 完全隔开 ---- */
.site-header,
#masthead,
.kadence-header,
.kadence-transparent-header #masthead,
.transparent-header .site-header,
.transparent-header #masthead {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
  position: relative !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
}

/* 覆盖 Kadence 透明导航的定位 */
.site-header .kadence-header-container,
#masthead .kadence-header-container {
  position: relative !important;
}

/* ---- Hero Banner 主容器（全屏通栏） ---- */
.hero-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}

.hero-banner-inner {
  position: relative;
  min-height: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* ---- 背景图片（全幅通栏） ---- */
.hero-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  animation: fadeInScale 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-banner:hover .hero-banner-bg {
  transform: scale(1.04);
}

/* ---- 文案内容区域 ---- */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 80px 60px 80px 160px;
  text-align: left;
}

/* 标签 Badge */
.hero-label {
  display: inline-block;
  background: linear-gradient(135deg, #f26522 0%, #e05512 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 30px;
  margin-bottom: 22px;
  border: none;
  box-shadow: 0 4px 12px rgba(242,101,34,0.3);
  animation: fadeInDown 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 主标题 - 深色 */
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  color: #1a3c34;
  margin: 0 0 20px 0;
  text-shadow: none;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* 描述文字 - 中深色 */
.hero-desc {
  font-size: 18px;
  line-height: 1.75;
  color: #4a6358;
  margin: 0 0 36px 0;
  text-shadow: none;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* ---- 按钮组 ---- */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

/* 主按钮 - 橙色 */
.hero-btn-primary {
  background: linear-gradient(135deg, #f26522 0%, #e05512 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(242,101,34,0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(242,101,34,0.45);
}

.hero-btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.7s ease, height 0.7s ease;
}

.hero-btn-primary:hover::after {
  width: 350px;
  height: 350px;
}

/* 次按钮 - 深色描边 */
.hero-btn-secondary {
  background: transparent;
  color: #1a3c34;
  border: 2px solid rgba(26, 60, 52, 0.4);
}

.hero-btn-secondary:hover {
  background: #1a3c34;
  color: #ffffff;
  border-color: #1a3c34;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26, 60, 52, 0.2);
}

/* ---- 动画关键帧 ---- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- 响应式适配 ---- */
@media (max-width: 1024px) {
  .hero-banner-inner {
    min-height: 480px;
  }
  .hero-content {
    padding: 60px 40px;
    max-width: 580px;
  }
  .hero-title {
    font-size: 38px;
  }
}

@media (max-width: 768px) {
  .hero-banner-inner {
    min-height: 420px;
  }
  .hero-content {
    padding: 50px 28px;
    text-align: center;
    max-width: 100%;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-btn {
    padding: 13px 26px;
    font-size: 14px;
    width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================================
   Bloomix 橙色按钮样式（View All Products / View More）
   ============================================ */

.bloomix-btn-orange {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 36px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, #f26522 0%, #e05512 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(242,101,34,0.35) !important;
  border: none !important;
  letter-spacing: 0.3px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

.bloomix-btn-orange:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(242,101,34,0.45) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.bloomix-btn-orange::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.7s ease, height 0.7s ease;
}

.bloomix-btn-orange:hover::after {
  width: 350px;
  height: 350px;
}

/* 覆盖 Kadence 默认的灰色按钮样式 */
.wp-block-button .bloomix-btn-orange,
.kb-buttons-wrap .bloomix-btn-orange {
  background: linear-gradient(135deg, #f26522 0%, #e05512 100%) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

/* 确保按钮文字颜色 */
.bloomix-btn-orange .kt-btn-inner-text,
.bloomix-btn-orange span {
  color: #ffffff !important;
}

/* 响应式 */
@media (max-width: 768px) {
  .bloomix-btn-orange {
    padding: 12px 28px !important;
    font-size: 14px !important;
  }
}