@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* Container için stil */
.banner-container {
  position: relative; /* İçerik için göreceli konumlandırma */
  height: 50vh; /* Banner yüksekliği, sayfanın yarısı */
  max-width: 100%; /* Maksimum genişlik */
  overflow: hidden; /* Taşmaları gizle */
  display: flex; /* Flex özelliği ekle */
  justify-content: center; /* Yatayda ortala */
  align-items: flex-end; /* Dikeyde alt hizala */
}

/* Görsel için stil */
.banner-image {
  width: 100%; /* Tam genişlik */
  height: auto; /* Otomatik yükseklik */
  position: relative; /* Görseli mutlak konumlandırma */
  top: 0; /* Container'ın üstünde başlat */
  left: 0; /* Container'ın solunda başlat */
}

/* Metin için stil */
.banner-text {
  position: absolute; /* Metni mutlak konumlandırma */
  bottom: 35px; /* Alt hizalamak için alt boşluk ekleyin */
  text-align: center; /* Metni ortala */
  color: white; /* Metin rengi */
  font-size: 55px; /* Metin boyutu */
  font-weight: bold; /* Kalın font */
  width: 100%; /* Tam genişlik */
}
.about h1 {
  font-family: var(--insur-font);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: var(--insur-letter-spacing);
}
.container-bg-kurumsal {
  background-image: url("../images/about.png");
  background-size: cover;
  max-width: 100vw;
  max-height: 100%;
  width: 100%;
  height: 50vh;
  color: white;
  margin-top: 6rem;
  position: relative;
}
.container-bg-kurumsal-mobil {
  background-size: cover;
  max-width: 100vw;
  max-height: 100%;
  width: 100%;
  height: 300px;
  color: white;
  margin-top: 6rem;
  position: relative;
}
.banner-text-mobil {
  position: absolute; /* Metni mutlak konumlandırma */
  bottom: 35px; /* Alt hizalamak için alt boşluk ekleyin */
  text-align: center; /* Metni ortala */
  color: white; /* Metin rengi */
  font-size: 45px; /* Metin boyutu */
  font-weight: bold; /* Kalın font */
  width: 100%; /* Tam genişlik */
}

/* timeline */

@media (max-width: 992px) {
  .swiper {
    width: 100% !important;
    margin: 0 auto !important;
  }
}
/* slider */
.swiper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  width: 100%;
}

.swiper-container-wrapper {
  overflow: hidden;
  max-width: 1920px;
  /* Adjust this width as needed */
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* General styles for items */
.item {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

/* Other styles for non-active items */
.item-text h4 {
  margin: 0 auto;
  text-align: center;
  font-size: 14px; /* Font boyutunu 16px olarak ayarla */
  font-weight: 500;
  font-family: var(--insur-font);
  color: #707070;
  opacity: 0;
  transition: opacity 0.6s ease-in-out; /* Opaklık için daha belirgin bir geçiş efekti */
}

.item-date h1 {
  font-family: var(--insur-font);
  font-size: 45px;
  font-weight: 700;
  letter-spacing: var(--insur-letter-spacing);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Active slide styles */
.swiper-slide.swiper-slide-active .item {
  transform: scale(1.1);
  margin-top: 0;
}
.swiper-slide.swiper-slide-active .item-date h1 {
  color: #c0282e !important; /* Başlık rengi */
  font-size: 55px;
}
.swiper-slide.swiper-slide-active .item-text h4 {
  opacity: 1; /* Başlık görünür hale gelince */
}

/* slider */
/* timeline */

/*--------------------------------------------------------------
# Team Three
--------------------------------------------------------------*/
:root {
  --insur-font: "DM Sans", sans-serif;
  --insur-gray: #696e77;
  --insur-white: #ffffff;
  --insur-base: #c0282e;
  --insur-black: #16243d;
  --insur-black-rgb: 22, 36, 61;
  --insur-letter-spacing: -0.02em;
}
.section-title-two__title {
  font-family: var(--insur-font);
  font-size: 55px;
  font-weight: 700;
  letter-spacing: var(--insur-letter-spacing);
}
.team-three {
  position: relative;
  display: block;
}

.team-three__single {
  position: relative;
  display: block;
  margin-bottom: 30px;
}

.team-three__img-box {
  position: relative;
  display: block;
  margin-left: 15px;
  margin-right: 15px;
  z-index: 1;
}

.team-three__img {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
}

.team-three__img:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  background-color: rgba(var(--insur-black-rgb), 0.1);
  -webkit-transform: perspective(400px) rotateX(90deg) scaleY(0.5);
  -ms-transform: perspective(400px) rotateX(90deg) scaleY(0.5);
  transform: perspective(400px) rotateX(90deg) scaleY(0.5);
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  transition-delay: 0.1s;
  transition-timing-function: ease-in-out;
  transition-duration: 0.5s;
  transition-property: all;
  z-index: 1;
}

.team-three__single:hover .team-three__img:before {
  --webkit-transform: perspective(400px) rotateX(0deg) scaleY(1);
  --ms-transform: perspective(400px) rotateX(0deg) scaleY(1);
  transform: perspective(400px) rotateX(0deg) scaleY(1);
  transition-delay: 0.1s;
  transition-timing-function: ease-in-out;
  transition-duration: 0.7s;
  transition-property: all;
}

.team-three__img img {
  -webkit-transform: scale(1);
  transform: scale(1);
  transition: all 500ms ease;
  margin: 0 auto;
  justify-content: center;
  display: flex;
}

.team-three__single:hover .team-three__img img {
  transform: scale(1.05);
}

.team-three__social-two {
  position: absolute;
  right: 20px;
  bottom: -20px;
  background-color: var(--insur-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  z-index: 2;
}

.team-three__social-two li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  font-size: 15px;
  color: var(--insur-white);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.team-three__social-two li a:hover {
  color: var(--insur-black);
}

.team-three__social {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background-color: var(--insur-white);
  text-align: center;
  transform: scaleY(0);
  transform-origin: center;
  transform-style: preserve-3d;
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
  transform-origin: bottom center;
  z-index: 2;
}

.team-three__single:hover .team-three__social {
  transform: scaleY(1);
  -webkit-transition-delay: 500ms;
  -moz-transition-delay: 500ms;
  -ms-transition-delay: 500ms;
  -o-transition-delay: 500ms;
  transition-delay: 500ms;
}

.team-three__social li + li {
  margin-top: 20px;
}

.team-three__social li a {
  font-size: 15px;
  color: var(--insur-black);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  margin: 1rem auto;
  padding: 0 0.8rem;
}

.team-three__social li a:hover {
  color: var(--insur-base);
}

.team-three__content {
  position: relative;
  display: block;
  /* background-image: -moz-linear-gradient(
    90deg,
    rgb(229, 239, 242) 0%,
    rgb(255, 255, 255) 100%
  );
  background-image: -webkit-linear-gradient(
    90deg,
    rgb(229, 239, 242) 0%,
    rgb(255, 255, 255) 100%
  );
  background-image: -ms-linear-gradient(
    90deg,
    rgb(229, 239, 242) 0%,
    rgb(255, 255, 255) 100%
  ); */
  padding: 20px 30px 38px;
  height: 100%;
}

.team-three__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: -0.04em;
  margin-bottom: 7px;
}

.team-three__name a {
  color: var(--insur-black);
  transition: all 500ms ease;
}

.team-three__name a:hover {
  color: var(--insur-base);
}

.team-three__sub-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.markalar {
  font-size: 45px;
  color: var(--insur-gray);
  font-weight: 900;
  line-height: 1.1;
  font-family: var(--insur-font);
  letter-spacing: 0.04em;
}
.marka-sub {
  font-size: 25px !important;
  color: var(--insur-gray-p);
  font-weight: 400;
  line-height: 1.1;
  font-family: var(--insur-font);
  letter-spacing: 0.01em;
}
/* Siyah-beyaz görüntü için filtre */
.bw-img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

/* Hover durumunda renkli görüntü */
.bw-img:hover {
  filter: grayscale(0%);
}
@media (max-width: 576px) {
  .about h1 {
    font-size: 27px;
  }
  .about .container {
    margin-top: 1rem !important;
  }
  .section-title-two__title {
    font-size: 45px;
    margin-top: 1rem;
  }
  .markalar {
    font-size: 30px;
    padding: 2rem 0;
    display: flex;
    justify-content: flex-start !important;
  }
  .marka-sub {
    font-size: 20px !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  #banana {
    display: flex;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
}
