/* 轮播图样式 */
.carousel-section {
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  max-width: 100%;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.carousel-slide:first-child {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播图文本内容 */
.carousel-content {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 100%;
  padding: 0 10%;
  color: #fff;
  text-align: center;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  padding-top: 20px;
  padding-bottom: 20px;
}

.carousel-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.carousel-button {
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.carousel-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.carousel-indicators {
  display: flex;
  gap: 10px;
  margin: 0 10px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-wrapper {
    height: 400px;
  }
  
  .carousel-button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  .carousel-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .carousel-description {
    font-size: 1rem;
  }
  
  .carousel-content {
    bottom: 80px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* 解决方案展示轮播图样式 */
.solutions-showcase {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.solutions-carousel-container {
  max-width: 100%;
  position: relative;
  margin-top: 30px;
}

.solutions-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.solutions-carousel-slide {
  flex: 0 0 100%;
  position: relative;
  height: 400px;
}

.solutions-carousel-slide a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.solutions-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.solutions-carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.solutions-carousel-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.solutions-carousel-description {
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.solutions-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.solutions-carousel-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.solutions-carousel-button:hover {
  background-color: var(--primary-dark);
}

.solutions-carousel-indicators {
  display: flex;
  gap: 10px;
  margin: 0 10px;
}

.solutions-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solutions-carousel-indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .solutions-carousel-wrapper,
  .solutions-carousel-slide {
    height: 300px;
  }
  
  .solutions-carousel-title {
    font-size: 1.5rem;
  }
  
  .solutions-carousel-description {
    font-size: 0.9rem;
  }
}

/* 解决方案轮播图样式 */
.core-business {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.core-business .container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

.core-business .container h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.core-business .carousel-wrapper {
  height: 400px;
}

.core-business .carousel-slide {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.core-business .carousel-slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
}

.core-business .carousel-content {
  bottom: 0;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
}

.core-business .carousel-title {
  font-size: 1.8rem;
}

.core-business .carousel-description {
  font-size: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .core-business .carousel-wrapper {
    height: 300px;
  }
  
  .core-business .carousel-title {
    font-size: 1.5rem;
  }
  
  .core-business .carousel-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .core-business .carousel-wrapper {
    height: 250px;
  }
  
  .core-business .carousel-title {
    font-size: 1.2rem;
  }
  
  .core-business .carousel-description {
    font-size: 0.8rem;
  }
}