/*
Theme Name: zc Theme
Description: 自定义主题
Version: 1.0
*/

@charset "UTF-8";

.nav-link {
  position: relative;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: #3b82f6;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 移动端菜单动画 */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.mobile-menu.open {
  max-height: max-content;
  transition: max-height 0.5s ease-in;
}

.testimonialSwiper {
  padding: 0 40px;
}
.swiper-slide {
  height: auto;
}
.swiper-button-next, 
.swiper-button-prev {
  background: rgba(255,255,255,0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.swiper-button-next::after, 
.swiper-button-prev::after {
  font-size: 20px;
  color: #3b82f6;
}
@media (max-width: 640px) {
  .testimonialSwiper {
      padding: 0 20px;
  }
}

.gradient-bg {
  background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.transition-all {
  transition: all 0.3s ease;
}