/* ============================================
   骏辉陶瓷 - 关于我们页面专用样式
   ============================================ */

/* ============================================
   一、页面Hero区域增强
   ============================================ */

/* Hero背景图片视差效果 */
.page-hero-bg {
  transition: transform 0.3s ease-out;
}

/* 标题文字动画 */
.page-hero-title {
  animation: hero-title-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 面包屑导航动画 */
.breadcrumb-animate {
  animation: breadcrumb-fade-in 0.6s ease 0.3s forwards;
  opacity: 0;
}

@keyframes breadcrumb-fade-in {
  to {
    opacity: 1;
  }
}

/* ============================================
   二、企业文化卡片增强
   ============================================ */

/* 文化卡片3D倾斜效果 */
.culture-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.culture-card:hover {
  transform: translateY(-6px) rotateX(2deg);
}

/* 图标脉冲效果 */
.culture-icon {
  position: relative;
}

.culture-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  opacity: 0;
  animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
}

/* 箭头滑入动画 */
.culture-arrow {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   三、统计数据增强
   ============================================ */

/* 数字背景光晕 */
.stat-item-wrapper {
  position: relative;
}

.stat-item-wrapper::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(247, 39, 11, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 1rem;
}

.stat-item-wrapper:hover::before {
  opacity: 1;
}

/* 数字跳动效果 */
.stat-number-wrapper {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item-wrapper:hover .stat-number-wrapper {
  transform: scale(1.05);
}

/* ============================================
   四、品牌理念卡片网格
   ============================================ */

/* 卡片网格动画 */
.brand-concept-grid {
  display: grid;
  gap: 1.5rem;
}

/* 卡片交错动画 */
.brand-concept-grid > div {
  animation: concept-card-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

.brand-concept-grid > div:nth-child(1) { animation-delay: 0.1s; }
.brand-concept-grid > div:nth-child(2) { animation-delay: 0.2s; }
.brand-concept-grid > div:nth-child(3) { animation-delay: 0.3s; }
.brand-concept-grid > div:nth-child(4) { animation-delay: 0.4s; }

@keyframes concept-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   五、图片增强效果
   ============================================ */

/* 图片悬浮缩放 */
.about-image-zoom {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.about-image-zoom:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

/* 图片光泽滑过 */
.about-image-shine {
  position: relative;
  overflow: hidden;
}

.about-image-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
}

.about-image-shine:hover::after {
  left: 150%;
}

/* ============================================
   六、CTA区域增强
   ============================================ */

/* CTA背景动态效果 */
.cta-bg-animated {
  position: relative;
  overflow: hidden;
}

.cta-bg-animated::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(247, 39, 11, 0.1) 0%, transparent 70%);
  animation: cta-bg-rotate 20s linear infinite;
}

@keyframes cta-bg-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* CTA按钮增强 */
.cta-btn-primary {
  position: relative;
  overflow: hidden;
}

.cta-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-btn-primary:hover::before {
  left: 100%;
}

/* ============================================
   七、企业文化图片切换增强
   ============================================ */

/* 图片切换平滑过渡 */
.culture-image {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 图片标签动画 */
.culture-image span {
  animation: tag-fade-in 0.4s ease forwards;
}

@keyframes tag-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   八、移动端适配
   ============================================ */

@media (max-width: 768px) {
  /* 简化卡片动画 */
  .culture-card:hover {
    transform: translateY(-4px);
  }

  /* 禁用复杂效果 */
  .about-image-shine::after {
    display: none;
  }

  .cta-bg-animated::before {
    display: none;
  }
}

/* ============================================
   九、减弱动画偏好支持
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-hero-title,
  .breadcrumb-animate,
  .brand-concept-grid > div {
    animation: none;
    opacity: 1;
  }
}