/* TEMIZ SLIDER CSS - CurrentMainSlider için */

/* Embla Carousel temel yapısı */
.main-slider__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Embla container ve slide stilleri */
.embla__container {
  display: flex;
  width: 100%;
  height: 100%;
}

.embla__slide {
  position: relative;
  min-width: 100%;
  flex: 0 0 100%;
}

/* Slider item temel stilleri */
.main-slider__item {
  position: relative;
  width: 100%;
  min-height: 800px;
  max-height: 800px;
  height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.main-slider__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* TÜM SLIDER GÖRSELLERİ İÇİN STANDART AYARLAR */
/* Her slide için aynı görsel boyut ve pozisyon ayarları */
.main-slider__item .main-slider__bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  object-fit: cover;
}

/* Embla slide'lar için de aynı ayarlar */
.embla__slide .main-slider__bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* SLIDER İÇİNDEKİ İKİ FARKLI GÖRSEL ALANI SABİTLEME */

/* Büyük altıgen şekil alanı - main-slider__image__item */
.main-slider__image__item {
  position: relative;
  width: 590px !important;
  /* Tam boyut */
  height: 682px !important;
  /* Tam boyut */
  max-width: 590px !important;
  max-height: 682px !important;
  min-width: 590px !important;
  min-height: 682px !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 0;
}

.main-slider__image__item img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* Küçük altıgen şekil alanı - main-slider__image__item-small */
.main-slider__image__item-small {
  position: absolute;
  width: 219px !important;
  /* Tam boyut */
  height: 251px !important;
  /* Tam boyut */
  max-width: 219px !important;
  max-height: 251px !important;
  min-width: 219px !important;
  min-height: 251px !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-grow: 0;
  /* Pozisyon ayarları - gerekirse ayarlanabilir */
  bottom: 50px;
  left: 50px;
}

.main-slider__image__item-small img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

/* Background görseller için */
.main-slider__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Tüm slider container'ları için sabit yükseklik */
.main-slider__item {
  min-height: 800px;
  max-height: 800px;
  height: 800px;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
  .main-slider__item {
    min-height: 600px;
    max-height: 600px;
    height: 600px;
  }
}

@media (max-width: 480px) {
  .main-slider__item {
    min-height: 500px;
    max-height: 500px;
    height: 500px;
  }
}

/* Owl Carousel dots */
.main-slider__carousel .owl-dots {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 110px;
  left: 13%;
  z-index: 100;
}

.main-slider__carousel .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-slider__carousel .owl-dots .owl-dot span {
  display: none;
}

.main-slider__carousel .owl-dots .owl-dot.active,
.main-slider__carousel .owl-dots .owl-dot:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* Owl Carousel navigation */
.main-slider__carousel .owl-nav {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 100px;
  gap: 15px;
  transform: translateY(-50%);
  z-index: 100;
}

@media (max-width: 1400px) {
  .main-slider__carousel .owl-nav {
    left: 10px;
  }
}

@media (max-width: 1080px) {
  .main-slider__carousel .owl-nav {
    display: none;
  }
}

.main-slider__carousel .owl-nav .owl-prev,
.main-slider__carousel .owl-nav .owl-next {
  background: #324B64 !important;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="31" height="36" viewBox="0 0 31 36" > <path d="M15.4182 0.485718L30.5141 9.1949V26.6133L15.4182 35.3225L0.322266 26.6133V9.1949L15.4182 0.485718Z"/></svg>');
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="31" height="36" viewBox="0 0 31 36" > <path d="M15.4182 0.485718L30.5141 9.1949V26.6133L15.4182 35.3225L0.322266 26.6133V9.1949L15.4182 0.485718Z"/></svg>');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: top center;
  mask-position: top center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  width: 40px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
  border: none;
  cursor: pointer;
}

.main-slider__carousel .owl-nav .owl-prev span,
.main-slider__carousel .owl-nav .owl-next span {
  color: #fff;
  display: block;
  font-size: 14px;
}

.main-slider__carousel .owl-nav .owl-prev:hover,
.main-slider__carousel .owl-nav .owl-next:hover {
  background: #0EBD66 !important;
}

.main-slider__carousel .owl-nav .owl-next span {
  transform: rotate(90deg);
}

.main-slider__carousel .owl-nav .owl-prev span {
  transform: rotate(90deg);
}

/* Ana slider container */
.main-slider {
  position: relative;
  overflow: hidden;
  background-color: #021936;
  width: 100%;
  height: 100vh;
  /* Sabit viewport height */
  max-height: 100vh;
  /* Maksimum yükseklik */
}

/* Her slide */
.main-slider__item {
  background-color: #021936;
  position: relative;
  z-index: 3;
  padding-top: 100px;
  padding-bottom: 50px;
  height: 100vh;
  /* Sabit yükseklik */
  max-height: 100vh;
  /* Maksimum yükseklik */
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Taşan içeriği gizle */
}

@media (max-width: 991px) {
  .main-slider {
    height: 100vh;
    /* Mobile'da tam yükseklik */
    max-height: 100vh;
  }

  .main-slider__item {
    padding-top: 160px;
    /* Header için daha fazla boşluk */
    padding-bottom: 60px;
    height: 100vh;
    max-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .main-slider__item {
    padding-top: 140px;
    /* Daha küçük ekranlar için ayarlama */
    padding-bottom: 50px;
  }
}

/* Background */
.main-slider__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform 1000ms ease, opacity 1000ms ease;
  transform: translatey(50%) scaley(2);
  opacity: 0;
}

.main-slider__bg::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  content: "";
  background-color: var(--slide-color, rgba(2, 25, 54, 0.9));
}

/* Content area */
.main-slider__content {
  position: relative;
  z-index: 10;
  padding: 40px 0;
  /* İçerik alanına padding ekle */
}

@media (max-width: 991px) {
  .main-slider__content {
    padding: 20px 15px;
    /* Mobile'da yan padding ekle */
  }
}

@media (max-width: 767px) {
  .main-slider__content {
    padding: 15px 10px;
  }
}

/* Title */
.main-slider__title {
  color: #fff;
  font-size: 70px;
  font-weight: 600;
  line-height: 114.286%;
  letter-spacing: -2.1px;
  margin-bottom: 27px;
  opacity: 0;
  transition: transform 1200ms ease, opacity 1200ms ease;
  transform: translateX(200px);
}

@media (max-width: 1199px) {
  .main-slider__title {
    font-size: 56px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 30px;
  }
}

@media (max-width: 991px) {
  .main-slider__title {
    font-size: 36px;
    /* Daha orantılı boyut */
    margin-bottom: 20px;
    line-height: 1.3;
  }
}

@media (max-width: 767px) {
  .main-slider__title {
    font-size: 28px;
    /* Orantılı küçültme */
    margin-bottom: 16px;
    line-height: 1.3;
  }
}

@media (max-width: 575px) {
  .main-slider__title {
    font-size: 24px;
    /* En küçük ekranlar için */
    margin-bottom: 14px;
    line-height: 1.3;
  }
}

/* List */
.main-slider__list {
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
  opacity: 0;
  transition: transform 1300ms ease, opacity 1300ms ease;
  transform: translateX(200px);
}

@media (max-width: 991px) {
  .main-slider__list {
    margin-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .main-slider__list {
    margin-bottom: 20px;
  }
}

.main-slider__list__item {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 200%;
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .main-slider__list__item {
    font-size: 16px;
    /* Orantılı küçültme */
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .main-slider__list__item {
    font-size: 14px;
    /* Daha küçük ekranlar için */
    margin-bottom: 8px;
  }
}

.main-slider__list__item:last-child {
  margin-bottom: 0;
}

.main-slider__list__item i {
  color: #0EBD66;
  font-size: 14px;
  font-weight: 900;
  margin-right: 16px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .main-slider__list__item i {
    font-size: 12px;
    /* İkon boyutu da orantılı */
    margin-right: 12px;
  }
}

/* Button */
.main-slider__btn {
  margin-top: 30px;
  opacity: 0;
  transform: perspective(400px) rotateY(0deg) translateY(80px);
  transition: all 1000ms ease;
}

@media (max-width: 991px) {
  .main-slider__btn {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  .main-slider__btn {
    margin-top: 16px;
  }

  .main-slider__btn .laboix-btn {
    padding: 10px 20px;
    /* Buton boyutunu küçült */
    font-size: 14px;
  }
}

/* Image container */
.main-slider__image {
  position: relative;
  z-index: 5;
  opacity: 0;
  transition: transform 1300ms ease, opacity 1300ms ease;
  transform: translateX(200%);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .main-slider__image {
    margin-top: 30px;
    text-align: center;
    height: auto;
  }
}

@media (max-width: 767px) {
  .main-slider__image {
    margin-top: 20px;
    transform: scale(0.9);
    /* Görsel alanını hafif küçült */
  }
}

@media (max-width: 575px) {
  .main-slider__image {
    margin-top: 15px;
    transform: scale(0.85);
  }
}

/* Ana image - hexagon shape - Tüm breakpointlerde küçültüldü */
.main-slider__image__item {
  /* clip-path iptal, maskeleme geri geldi */
  -webkit-clip-path: none;
  clip-path: none;

  /* URL-encoded SVG Mask */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 347'%3E%3Cg transform='translate(0,347) scale(0.05,-0.05)'%3E%3Cpath d='M1495 6074 l-1494 -864 4 -1738 5 -1737 1480 -857 c814 -471 1494 -856 1510 -856 17 0 696 385 1510 856 l1480 856 5 1738 4 1738 -1490 860 c-820 473 -1497 862 -1505 864 -8 2 -687 -385 -1509 -860z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 347'%3E%3Cg transform='translate(0,347) scale(0.05,-0.05)'%3E%3Cpath d='M1495 6074 l-1494 -864 4 -1738 5 -1737 1480 -857 c814 -471 1494 -856 1510 -856 17 0 696 385 1510 856 l1480 856 5 1738 4 1738 -1490 860 c-820 473 -1497 862 -1505 864 -8 2 -687 -385 -1509 -860z'/%3E%3C/g%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  width: 590px;
  height: 680px;
  position: relative;
  margin-right: -100px;
  margin-left: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1199px) {
  .main-slider__image__item {
    width: 360px;
    /* 400'den küçültüldü */
    height: 432px;
    /* 480'den küçültüldü */
    margin-right: 0px;
    margin-left: 50px;
  }
}

@media (max-width: 991px) {
  .main-slider__image__item {
    width: 280px;
    /* 350'den çok küçültüldü */
    height: 336px;
    /* 420'den çok küçültüldü */
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .main-slider__image__item {
    width: 220px;
    /* 280'den çok küçültüldü */
    height: 264px;
    /* 336'dan çok küçültüldü */
  }
}

@media (max-width: 575px) {
  .main-slider__image__item {
    width: 190px;
    /* 240'tan çok küçültüldü */
    height: 228px;
    /* 288'den çok küçültüldü */
  }
}

.main-slider__image__item img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Küçük yan image - orantılı küçültüldü */
.main-slider__image__item-two {
  /* clip-path iptal, maskeleme geri geldi */
  -webkit-clip-path: none;
  clip-path: none;

  /* URL-encoded SVG Mask */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 347'%3E%3Cg transform='translate(0,347) scale(0.05,-0.05)'%3E%3Cpath d='M1495 6074 l-1494 -864 4 -1738 5 -1737 1480 -857 c814 -471 1494 -856 1510 -856 17 0 696 385 1510 856 l1480 856 5 1738 4 1738 -1490 860 c-820 473 -1497 862 -1505 864 -8 2 -687 -385 -1509 -860z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 347'%3E%3Cg transform='translate(0,347) scale(0.05,-0.05)'%3E%3Cpath d='M1495 6074 l-1494 -864 4 -1738 5 -1737 1480 -857 c814 -471 1494 -856 1510 -856 17 0 696 385 1510 856 l1480 856 5 1738 4 1738 -1490 860 c-820 473 -1497 862 -1505 864 -8 2 -687 -385 -1509 -860z'/%3E%3C/g%3E%3C/svg%3E");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;

  width: 218px;
  height: 251px;
  position: absolute;
  bottom: 50px;
  left: -5px;
  z-index: 4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1199px) {
  .main-slider__image__item-two {
    width: 153px;
    /* 180'den küçültüldü */
    height: 177px;
    /* 208'den küçültüldü */
    bottom: 20px;
    left: -15px;
  }
}

@media (max-width: 991px) {
  .main-slider__image__item-two {
    width: 112px;
    /* 150'den küçültüldü */
    height: 130px;
    /* 173'ten küçültüldü */
    bottom: 15px;
    left: -10px;
  }
}

@media (max-width: 767px) {
  .main-slider__image__item-two {
    width: 88px;
    /* 120'den küçültüldü */
    height: 102px;
    /* 138'den küçültüldü */
    bottom: 10px;
    left: -8px;
  }
}

@media (max-width: 575px) {
  .main-slider__image__item-two {
    width: 76px;
    /* 100'den küçültüldü */
    height: 88px;
    /* 115'ten küçültüldü */
    bottom: 8px;
    left: -5px;
  }
}

/* Hero-2-2.png shape image (üstteki mavi) - Kalp atışı efekti ile ana hexagon'dan çıkıyor */
:root {
  --shape-initial-scale: 0.7;
  --shape-active-scale: 0.8;
}

.main-slider__image__item-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%) scale(1.3);
  z-index: -1;
  opacity: 0;
  /* Başlangıçta gizli */
  transition: opacity 500ms ease;
  /* Geçiş efekti */
  width: 420px;
  /* Ana hexagon ile aynı - 496'dan küçültüldü */
  height: 510px;
  /* Ana hexagon ile aynı - 600'den küçültüldü */
}

.main-slider__image__item-shape img {
  object-fit: contain;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 1199px) {
  .main-slider__image__item-shape {
    width: 360px;
    /* Ana hexagon ile aynı */
    height: 432px;
  }
}

@media (max-width: 991px) {
  .main-slider__image__item-shape {
    width: 280px;
    /* Ana hexagon ile aynı - çok küçültüldü */
    height: 336px;
  }
}

@media (max-width: 767px) {
  .main-slider__image__item-shape {
    width: 220px;
    /* Ana hexagon ile aynı - çok küçültüldü */
    height: 264px;
  }
}

@media (max-width: 575px) {
  .main-slider__image__item-shape {
    width: 190px;
    /* Ana hexagon ile aynı - çok küçültüldü */
    height: 228px;
  }
}

/* Yeşil shape (alttaki) */
.main-slider__item__shape {
  z-index: 1;
  position: absolute;
  bottom: 0;
  right: 0;
  transition: all 1500ms ease;
  opacity: 0;
  transform: scale(0.8);
  /* %20 küçültme */
  transform-origin: bottom right;
  /* Konumun bozulmasını engelle */
}

@media (max-width: 991px) {
  .main-slider__item__shape {
    display: none;
  }
}

/* Animasyonlar - İnce kalp atışı efekti */
@keyframes scale3 {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.05);
  }

  100% {
    transform: translate(-50%, -50%) scale(0.85);
  }
}

/* Active slide animasyonları - TEK TANIM */
.main-slider .active .main-slider__bg {
  opacity: 1;
  transform: translatey(0) scaley(1);
  filter: blur(0);
  transition-delay: 1000ms;
}

.main-slider .active .main-slider__image {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1300ms;
}

@media (max-width: 767px) {
  .main-slider .active .main-slider__image {
    transform: translateX(0) scale(0.9);
    /* Mobilde scale'i koru */
  }
}

@media (max-width: 575px) {
  .main-slider .active .main-slider__image {
    transform: translateX(0) scale(0.85);
  }
}

.main-slider .active .main-slider__title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1300ms;
}

.main-slider .active .main-slider__list {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1300ms;
}

.main-slider .active .main-slider__btn {
  opacity: 1;
  transform: perspective(400px) rotateY(0deg) translateY(0px);
  transition-delay: 1300ms;
}

.main-slider .active .main-slider__item__shape {
  opacity: 1;
  transform: perspective(400px) rotateY(0deg) translateY(0px) scale(0.8);
  /* %20 küçültme */
  transform-origin: bottom right;
  /* Konumun bozulmasını engelle */
  bottom: 0;
  right: 0;
  transition: all 1500ms ease;
  transition-delay: 1700ms;
}

.main-slider .active .main-slider__image__item-shape {
  opacity: 1;
  animation: scale3 4s ease-in-out infinite;
  transform-origin: center;
}