﻿/* Anasayfa slider â€” tam gÃ¶rsel, yazÄ±lar Ã¼stte */
/* Site ozel stiller */
.home-slider-section {
  margin-top: -28px;
  padding: 0;
}

.home-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f141f;
}

.home-slider .swiper-slide {
  height: auto;
}

.home-slider__card {
  display: block;
  overflow: hidden;
}

.home-slider__media {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #0f141f;
}

.home-slider__media img {
  width: 100%;
  height: auto;
  display: block;
}

.home-slider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 20, 0.12) 0%,
    rgba(8, 12, 20, 0.35) 40%,
    rgba(8, 12, 20, 0.78) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.home-slider__body {
  position: absolute;
  z-index: 2;
  width: min(var(--slider-width, 50%), 620px);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: rgba(8, 12, 20, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}

.home-slider__body--y-sol {
  left: clamp(16px, 5%, 64px);
  right: auto;
}

.home-slider__body--y-orta {
  left: 50%;
  right: auto;
}

.home-slider__body--y-sag {
  right: clamp(56px, 14%, 160px);
  left: auto;
}

.home-slider__body--v-ust {
  top: clamp(20px, 8%, 56px);
  bottom: auto;
}

.home-slider__body--v-orta {
  top: 50%;
  bottom: auto;
}

.home-slider__body--v-alt {
  top: auto;
  bottom: clamp(48px, 10%, 72px);
}

.home-slider__body--y-orta.home-slider__body--v-orta {
  transform: translate(-50%, -50%);
}

.home-slider__body--y-orta:not(.home-slider__body--v-orta) {
  transform: translateX(-50%);
}

.home-slider__body--v-orta:not(.home-slider__body--y-orta) {
  transform: translateY(-50%);
}

.home-slider__label {
  margin: 0 0 8px;
  color: var(--slider-label, #DF0A0A);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  font-family: var(--font-secondary);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.home-slider__label,
.home-slider__label span {
  color: var(--slider-label, #DF0A0A) !important;
}

.home-slider__title {
  margin: 0 0 8px;
  color: var(--slider-title-3, #FFFFFF);
  font-size: clamp(20px, 4.8vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.home-slider__title:not(.home-slider__title--accent) {
  color: var(--slider-title-3, #FFFFFF) !important;
}

.home-slider__title--accent {
  color: var(--slider-title-2, #DF0A0A) !important;
  font-weight: 400;
  font-style: italic;
}

.home-slider__text {
  margin: 0 0 14px;
  color: var(--slider-content, #F5F7FA);
  font-size: clamp(14px, 2.6vw, 17px);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.home-slider__text,
.home-slider__text p,
.home-slider__text * {
  color: var(--slider-content, #F5F7FA) !important;
}

.home-slider__text p {
  margin: 0;
}

.home-slider__btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
}

.home-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1C2539;
  box-shadow: 0 6px 20px rgba(28, 37, 57, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  transform: translateY(-50%);
}

.home-slider__arrow--prev {
  left: 10px;
}

.home-slider__arrow--next {
  right: 10px;
}

.home-slider__arrow:hover {
  background: var(--color-primary);
  color: #fff;
}

.home-slider__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.home-slider__pagination {
  position: absolute !important;
  bottom: 14px !important;
  left: 0;
  right: 0;
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  z-index: 3;
}

.home-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #fff;
  opacity: 0.45;
  transition: all 0.25s ease;
}

.home-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--color-primary);
  transform: scale(1.15);
}

@media only screen and (min-width: 768px) {
  .home-slider-section {
    padding: 0;
  }

  .home-slider__body {
    padding: 28px 32px;
  }

  .home-slider__label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .home-slider__text {
    -webkit-line-clamp: 5;
    margin-bottom: 18px;
  }

  .home-slider__arrow {
    width: 48px;
    height: 48px;
  }

  .home-slider__arrow--prev {
    left: 18px;
  }

  .home-slider__arrow--next {
    right: 18px;
  }

  .home-slider__pagination {
    bottom: 18px !important;
  }
}

@media only screen and (min-width: 1200px) {
  .home-slider-section {
    margin-top: -20px;
  }

  .home-slider__body {
    padding: 32px 40px;
  }

  .home-slider__body--y-sag {
    right: clamp(72px, 16%, 200px);
  }

  .home-slider__text {
    -webkit-line-clamp: 6;
  }
}

@media only screen and (max-width: 1199px) {
  .home-slider-section {
    margin-top: -16px;
  }
}

/* Mobil & tablet: gÃ¶rsel Ã¼stte, yazÄ±lar altta tam geniÅŸlik kart */
@media only screen and (max-width: 991px) {
  .home-slider {
    background: #0f141f;
    overflow: visible !important;
    height: auto !important;
  }

  .home-slider .swiper-wrapper {
    height: auto !important;
  }

  .home-slider .swiper-slide {
    overflow: visible !important;
    height: auto !important;
  }

  .home-slider__card {
    display: flex;
    flex-direction: column;
    background: #0f141f;
    overflow: visible !important;
  }

  .home-slider__media {
    display: flex;
    flex-direction: column;
    position: relative;
    line-height: normal;
    min-height: 0;
    overflow: visible;
  }

  .home-slider__media img {
    width: 100%;
    height: auto;
    min-height: 240px;
    max-height: min(58vh, 560px);
    object-fit: cover;
    object-position: center center;
    display: block;
    flex-shrink: 0;
  }

  .home-slider__overlay {
    display: none;
  }

  .home-slider__body,
  .home-slider__body--y-sol,
  .home-slider__body--y-orta,
  .home-slider__body--y-sag,
  .home-slider__body--v-ust,
  .home-slider__body--v-orta,
  .home-slider__body--v-alt {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    border-radius: 0;
    padding: 16px 14px 14px;
    margin: 0;
    background: linear-gradient(180deg, #161e2e 0%, #0f141f 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-top: 3px solid var(--color-primary);
  }

  .home-slider__label {
    font-size: 10px;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
  }

  .home-slider__title {
    font-size: clamp(16px, 4.4vw, 22px);
    margin-bottom: 6px;
    line-height: 1.28;
  }

  .home-slider__text {
    font-size: 12px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
    margin-bottom: 12px;
  }

  .home-slider__btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 10px 18px;
    font-size: 13px;
  }

  .home-slider__arrow {
    top: 32%;
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .home-slider__arrow--prev {
    left: 8px;
  }

  .home-slider__arrow--next {
    right: 8px;
  }

  .home-slider__pagination {
    position: absolute !important;
    bottom: auto !important;
    top: min(46vw, 250px);
    padding: 0;
    z-index: 5;
  }
}

@media only screen and (max-width: 767px) {
  .home-slider__media img {
    max-height: min(54vh, 480px);
  }

  .home-slider__pagination {
    top: min(44vw, 230px);
  }
}

@media only screen and (max-width: 479px) {
  .home-slider-section {
    margin-top: -10px;
  }

  .home-slider__media img {
    min-height: 220px;
    max-height: min(50vh, 420px);
  }

  .home-slider__body,
  .home-slider__body--y-sol,
  .home-slider__body--y-orta,
  .home-slider__body--y-sag,
  .home-slider__body--v-ust,
  .home-slider__body--v-orta,
  .home-slider__body--v-alt {
    padding: 14px 12px 12px;
  }

  .home-slider__title {
    font-size: 16px;
  }

  .home-slider__text {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }

  .home-slider__pagination {
    top: min(42vw, 200px);
  }

  .home-slider__arrow {
    width: 32px;
    height: 32px;
  }
}

/* Anasayfada galeri about bÃ¶lÃ¼mÃ¼nÃ¼n hemen altÄ±nda; -23% margin iÃ§eriÄŸi kesiyordu */
.rts-about-area + .rts-gallery-area.gallery-bg {
  margin-top: 0;
}

@media only screen and (min-width: 1200px) {
  .rts-about-area + .rts-gallery-area .swiper.mygallery .swiper-button-next,
  .rts-about-area + .rts-gallery-area .swiper.mygallery .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* About bÃ¶lÃ¼mÃ¼ gÃ¶rselleri â€” masaÃ¼stÃ¼nde katmanlÄ±, mobilde Ã¼st Ã¼ste binmesin */
.about-one-thumbnail > img:not(.small-img) {
  max-width: 72%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about-one-thumbnail .small-img {
  max-width: 45%;
  height: auto;
  z-index: 2;
}

@media only screen and (max-width: 991px) {
  .about-one-thumbnail {
    display: block;
    position: relative;
    width: 100%;
  }

  .about-one-thumbnail > img:not(.small-img) {
    max-width: 100%;
    width: 100%;
    display: block;
    border-radius: 12px;
  }

  .about-one-thumbnail .small-img {
    position: absolute;
    left: 10px;
    bottom: 10px;
    top: auto;
    max-width: 38%;
    width: auto;
    animation: none;
    z-index: 2;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  }
}

@media only screen and (max-width: 575px) {
  .about-one-thumbnail .small-img {
    left: 8px;
    bottom: 8px;
    max-width: 42%;
  }
}

/* Daha YakÄ±ndan Ä°nceleyin â€” saÄŸ metin kutusu hizalama */
.gallery-swiper .bg-right-gallery {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  padding: 28px 40px 32px;
  background-size: cover;
  background-position: center top;
}

.gallery-swiper .bg-right-gallery::after {
  z-index: 0;
}

.gallery-swiper .bg-right-gallery .title,
.gallery-swiper .bg-right-gallery span,
.gallery-swiper .bg-right-gallery p.disc,
.gallery-swiper .bg-right-gallery .rts-btn {
  position: relative;
  z-index: 2;
}

.gallery-swiper .bg-right-gallery .title {
  margin-top: 0;
  margin-bottom: 6px;
}

.gallery-swiper .bg-right-gallery .icon {
  margin-top: 0;
}

.gallery-swiper .bg-right-gallery p.disc {
  margin-top: 10px;
  margin-bottom: 22px;
}

@media only screen and (max-width: 1199px) {
  .gallery-swiper .bg-right-gallery {
    padding: 22px 28px 26px;
  }

  .gallery-swiper .bg-right-gallery .title {
    margin-top: 0;
  }
}

@media only screen and (max-width: 575px) {
  .gallery-swiper .bg-right-gallery {
    padding: 18px 20px 22px;
  }

  .gallery-swiper .bg-right-gallery p.disc {
    margin-top: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 22px;
  }
}

/* SayaÃ§ ile Referans Markalar arasÄ± boÅŸluk */
.rts-counter-up-area + .rts-trusted-client {
  padding-top: 56px;
}

@media only screen and (max-width: 991px) {
  .rts-counter-up-area + .rts-trusted-client {
    padding-top: 44px;
  }
}

@media only screen and (max-width: 575px) {
  .rts-counter-up-area + .rts-trusted-client {
    padding-top: 32px;
  }
}

.counter-bg {
  height: auto;
}
