/**
 * Services Section Styles
 * @package Karden_Avenir
 * @version 1.0.0
 */

/* ================= SERVICES VISUAL ================= */
.services-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ================= SERVICES CAROUSEL WRAPPER ================= */
.services-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
}

/* ================= SERVICES CAROUSEL ================= */
.services-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.services-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  opacity: 0;
  transform: scale(0.95) rotate(-2deg);
  transition: all 0.7s ease;
  box-shadow: var(--shadow-lg);
}

.services-carousel img.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  z-index: 2;
}

.services-carousel::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at top left, rgba(41, 199, 218, 0.2), transparent 65%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

/* ================= CAROUSEL DOTS ================= */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50px;
  position: relative;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-bounce);
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(41, 199, 218, 0.25);
  transform: scale(1.1);
}

.carousel-dot.active {
  background: var(--cyan);
  border-color: rgba(41, 199, 218, 0.3);
  transform: scale(1.25);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ================= SERVICES CTA ================= */
.services-cta {
  margin-top: 28px;
}

.btn-services-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 40px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  box-shadow: var(--shadow-cyan);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-services-cta::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;
}

.btn-services-cta:hover::before {
  left: 100%;
}

.btn-services-cta i {
  font-size: 12px;
  transition: transform var(--transition-base);
}

.btn-services-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(41, 199, 218, 0.4);
}

.btn-services-cta:hover i {
  transform: translateX(4px);
}