/* Umoji Studio Asset Sync: 2026-09-29 */
/**
 * ==============================================================================
 * UMOJI STUDIO — SERVICES VISUAL BANNER SLIDER (/layanan)
 * ==============================================================================
 * Interactive horizontal Swiper slider featuring full-bleed 16:9 visual
 * banner cards with smooth zoom hover, corner glassmorphism action (↗),
 * pill tags, navigation arrows, and pagination bullets.
 */

.services-slider-section {
  position: relative;
  width: 100%;
  padding-top: calc(var(--nav-height, 72px) + var(--topbar-height, 46px) + clamp(36px, 4.5vw, 64px));
  padding-bottom: clamp(64px, 8vw, 100px);
  background-color: var(--bg-body, #ffffff);
  scroll-margin-top: calc(var(--nav-height, 72px) + var(--topbar-height, 46px) + 20px);
  overflow: hidden;
  box-sizing: border-box;
}

.services-slider__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
 * Section Heading
 * -------------------------------------------------------------------------- */
.services-slider__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 4.5vw, 52px);
}

.services-slider__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 15px;
  border-radius: 999px;
  background-color: var(--brand-blue-subtle, rgba(18, 110, 245, 0.08));
  border: 1px solid rgba(18, 110, 245, 0.16);
  color: var(--brand-blue, #126EF5);
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.services-slider__title {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: clamp(28px, 3.4vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: var(--text-main, #07152b);
  margin: 0 0 14px 0;
}

.services-slider__title-highlight {
  color: var(--brand-blue, #126EF5);
}

.services-slider__subtitle {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.65;
  color: #05060f;
  opacity: 0.65;
  margin: 0 auto;
  max-width: 660px;
}

/* --------------------------------------------------------------------------
 * Slider Wrapper & Swiper
 * -------------------------------------------------------------------------- */
.services-slider__wrapper-box {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.servicesBannerSwiper {
  width: 100%;
  max-width: 100%;
  padding: 10px 0 54px;
  overflow: hidden !important;
}

.servicesBannerSwiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
 * Visual Banner Card
 * -------------------------------------------------------------------------- */
.service-banner-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  background: #07152b;
  border: 1px solid #ededed;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
  line-height: 0;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
}

.service-banner-card:hover {
  transform: translateY(-6px);
  border-color: #dbe4f0;
  box-shadow: 0 16px 36px rgba(18, 110, 245, 0.12);
}

.service-banner-card__img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 0;
}

.service-banner-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.service-banner-card:hover .service-banner-card__img {
  transform: scale(1.045);
}

/* Floating Corner Action Indicator (↗) */
.service-banner-card__action {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  z-index: 3;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-banner-card__action svg {
  display: block;
  transition: transform 0.25s ease;
}

.service-banner-card:hover .service-banner-card__action {
  background: #126EF5;
  color: #ffffff;
  border-color: #126EF5;
  transform: translate(2px, -2px);
  box-shadow: 0 6px 18px rgba(18, 110, 245, 0.35);
}

.service-banner-card:hover .service-banner-card__action svg {
  transform: translate(1px, -1px);
}

/* Card Bottom Footer / Tag */
.service-banner-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 34px 20px 16px;
  background: linear-gradient(to top, rgba(7, 21, 43, 0.82) 0%, rgba(7, 21, 43, 0.45) 55%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  transition: opacity 0.25s ease;
  line-height: normal;
}

.service-banner-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700;
  color: #ffffff;
  background: rgba(18, 110, 245, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.service-banner-card__label {
  font-family: 'Inter', Verdana, Geneva, Tahoma, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
 * Navigation Arrows
 * -------------------------------------------------------------------------- */
.services-slider__btn-prev,
.services-slider__btn-next {
  position: absolute;
  top: calc(50% - 28px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ededed;
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-slider__btn-prev {
  left: -22px;
}

.services-slider__btn-next {
  right: -22px;
}

.services-slider__btn-prev:hover,
.services-slider__btn-next:hover {
  background-color: var(--brand-blue, #126EF5);
  border-color: var(--brand-blue, #126EF5);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(18, 110, 245, 0.32);
}

.services-slider__btn-prev:focus-visible,
.services-slider__btn-next:focus-visible {
  outline: 2px solid #126EF5;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Swiper Pagination (Pill Bullets)
 * -------------------------------------------------------------------------- */
.services-slider__pagination {
  bottom: 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.services-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #94a3b8;
  opacity: 0.35;
  border-radius: 999px;
  margin: 0 !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.services-slider__pagination .swiper-pagination-bullet:hover {
  opacity: 0.7;
}

.services-slider__pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--brand-blue, #126EF5);
  opacity: 1;
}

/* --------------------------------------------------------------------------
 * Responsive Breakpoints
 * -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .services-slider__btn-prev { left: -10px; }
  .services-slider__btn-next { right: -10px; }
}

@media (max-width: 991px) {
  .services-slider-section {
    padding-top: calc(var(--nav-height, 64px) + var(--topbar-height, 44px) + 32px);
  }

  .services-slider__btn-prev,
  .services-slider__btn-next {
    display: none;
  }
}

@media (max-width: 680px) {
  .services-slider-section {
    padding-top: calc(var(--nav-height, 64px) + var(--topbar-height, 44px) + 24px);
    padding-bottom: 60px;
  }

  .services-slider__container {
    padding: 0 16px;
  }

  .service-banner-card {
    border-radius: 18px;
  }

  .service-banner-card__action {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .service-banner-card__action svg {
    width: 15px;
    height: 15px;
  }

  .service-banner-card__footer {
    padding: 24px 14px 12px;
  }

  .service-banner-card__label {
    font-size: 12px !important;
  }

  .service-banner-card__tag {
    font-size: 10px !important;
    padding: 2px 8px;
  }

  .servicesBannerSwiper {
    padding-bottom: 44px;
  }
}
