.services-section {
  margin: 40px 0;
}
.services__title {
  color: var(--color-gray-dark);
  font-size: 64px;
  text-align: center;
  font-weight: 300;
  text-transform: capitalize;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.services__title::before,
.services__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--color-green);
  opacity: 0.5;
}

.services__content {
  max-width: 1400px;
  margin-top: -90px;
  margin-right: 150px;
}

.services-image {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.services-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-buttons {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0;
}

.services-buttons__left,
.services-buttons__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
  pointer-events: none;
}

.services-buttons__left {
  align-items: flex-start;
  padding-left: 20px;
}

.services-buttons__right {
  align-items: flex-end;
  padding-right: 20px;
}

.service-button {
  display: flex;
  align-items: center;
  min-height: 56px;
  gap: 12px;
  padding: 0 20px;
  background: white;
  border: none;
  border-radius: 48px;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 300;
  color: #000;
  z-index: 10;
  transform: translateX(var(--translate-x, 0px));
}

.service-button--left:hover {
  --webkit-transform: translateX(calc(var(--translate-x, 0px) + 4px));
  -moz-transform: translateX(calc(var(--translate-x, 0px) + 4px));
  -ms-transform: translateX(calc(var(--translate-x, 0px) + 4px));
  -o-transform: translateX(calc(var(--translate-x, 0px) + 4px));
  transform: translateX(calc(var(--translate-x, 0px) + 4px));
  font-weight: 300;
}

.service-button--right:hover {
  --webkit-transform: translateX(calc(var(--translate-x, 0px) - 4px));
  -moz-transform: translateX(calc(var(--translate-x, 0px) - 4px));
  -ms-transform: translateX(calc(var(--translate-x, 0px) - 4px));
  -o-transform: translateX(calc(var(--translate-x, 0px) - 4px));
  transform: translateX(calc(var(--translate-x, 0px) - 4px));
  font-weight: 300;
}

.service-button__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-button__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-button__text {
  flex: 1;
  color: #000;
  font-weight: 300;
}

.service-button:hover .service-button__text {
  font-weight: 300;
}

.service-button__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.service-button__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.arrow-icon--left {
  transform: rotate(180deg);
}

.arrow-icon--right {
  transform: rotate(0deg);
}

.services__view-all {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 45px;
}

.services-view-all-button {
  min-height: 56px;
  padding: 0 115px;
  margin-top: -280px;
  margin-left: 100px;
  background-color: var(--color-green);
  color: white;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family-primary);
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.services-view-all-button:hover {
  transform: translateY(-2px);
}

/* Mobil Liste Görünümü - Varsayılan Gizli */
.services-list {
  display: none;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: white;
  border: none;
  border-radius: 48px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-bottom: 12px;
  min-height: 56px;
  font-size: 20px;
  font-weight: 300;
  color: #000;
}

.service-list-item:hover {
  transform: translateX(4px);
}

.service-list-item__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-list-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-list-item__text {
  flex: 1;
  color: #000;
  font-weight: 300;
}

.service-list-item__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.service-list-item__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive - Tablet & Mobile */
@media (max-width: 1200px) {
  .services__content {
    margin-top: 0;
  }
}

/* Desktop butonların gizlendiği ve liste görünümüne geçilen breakpoint */
@media (max-width: 1160px) {
  .services__title {
    font-size: 32px;
    gap: 16px;
    margin-bottom: 0;
  }

  .services__content {
    max-width: 100%;
    margin-top: 0;
    margin-right: 0;
  }

  /* Desktop butonları gizle */
  .services-buttons {
    display: none;
  }

  /* Görsel göster */
  .services-image {
    margin-bottom: 0;
    margin-left: -20px;
  }

  .services-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Mobil liste görünümünü göster */
  .services-list {
    display: block;
    margin-top: -50px;
  }

  .services__view-all {
    margin-top: 30px;
  }

  .services-view-all-button {
    margin-top: 0;
    margin-left: 0;
    font-size: 16px;
    padding: 10px 60px;
    min-height: 40px;
  }
}

/* Mobile Small */
@media (max-width: 767px) {
  .service-list-item {
    padding: 0 16px;
    min-height: 52px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .service-list-item__icon,
  .service-list-item__arrow {
    width: 20px;
    height: 20px;
  }
  .service-list-item__text {
    font-size: 12px;
  }
}

@media (max-width: 485px) {
  .services-list {
    margin-top: 0;
  }
}
