.purple-area {
  background-color: #5f338a;
  background-image: url("../images/bilim111.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100vw;
  min-height: 1080px; /* Minimum yüksekliği 1080px olarak ayarla */
  height: 100vh; /* Ekran yüksekliğine göre esnek ayarla */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
}

.bilim-duzenek .item.active {
  opacity: 1;
  transform: scale(1.1);
  transition: transform 0.3s;
}

.bilim-cont {
  position: absolute;
  top: 30%;
  left: 50%;
  margin: 0 auto;
  display: flex;
  z-index: 5;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.bilim-duzenek-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.bilim-duzenek-title h2 {
  font-family: "VistolSans-Black", sans-serif;
  font-weight: 800;
  font-size: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: -1%;
  padding: 2% 0;
}
.bilim-duzenek-title h2 span {
  color: #c3d940;
}
.bilim-duzenek-title .ust_p {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  letter-spacing: 0.08em;
  margin: 0;
}
.bilim-duzenek-info {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin: 20px auto;
  max-width: 1000px !important;
}
.bilim-cont .tab-buttons {
  display: flex;
  justify-content: center;
  padding-bottom: 2%;
}

.bilim-duzenek-btn {
  font-family: "VistolSans-ExtraBold", sans-serif;
  font-weight: 800;
  font-size: 14px;
  background-color: transparent;
  border: 2px solid transparent; /* Başlangıçta görünmez */
  color: #fff;
  border-radius: 15px;
  width: auto;
  margin: 0 1%;
  padding: 3px 15px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s,
    border-color 0.3s;
}

.bilim-duzenek-btn:hover {
  background-color: #7a599a; /* Hover sırasında arka plan rengini değiştirir */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Hover sırasında gölge ekler */
  transform: translateY(0) scale(1.1); /* Hover sırasında biraz büyütür */
}

.bilim-duzenek-btn.active {
  border-color: #c3d940; /* Aktif durumda yeşil sınır */
  color: #c3d940; /* Aktif durumda metin rengi */
  background-color: #4c2a6e; /* Arka plan rengini değiştirir */
}

.bilim-duzenek {
  position: relative;
  margin-top: 20rem;
}

.bilim-duzenek .items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.bilim-duzenek .items.active {
  opacity: 1;
  pointer-events: all;
}
.bilim-duzenek .items .item {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 0;
}
.bilim-duzenek .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease; /* Geçiş efekti ekler */
}
.bilim-duzenek .item.active img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 225px;
  height: 225px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  filter: grayscale(0%);
}

.bilim-duzenek .item.active {
  opacity: 1;
  z-index: 10; /* Active item has lower z-index */
  box-shadow: 0px 0px 105px -35px rgba(0, 0, 0, 0.75);
  transform: translate(-50%, -50%) scale(1.5); /* Make active item larger */
  border: 2px solid #c3d940;
}

.bilim-duzenek .item.prev,
.bilim-duzenek .item.next {
  z-index: 20; /* Higher z-index for previous and next items */
  opacity: 1;
  transform: translate(-50%, -50%);
  border: 30px solid #5f338a;
}

.bilim-duzenek .item.prev {
  transform: translate(-125%, -50%) scale(0.9);
}

.bilim-duzenek .item.next {
  transform: translate(25%, -50%) scale(0.9);
}

.bilim-duzenek .items .button-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55vw;
  z-index: 100;
}

.bilim-duzenek .button-container .button {
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  position: relative;
  opacity: 0.95;
  transition: all 300ms ease-in-out;
}
.bilim-duzenek .button-container .nav-button {
  background-color: #c3d940;
}
.bilim-duzenek .button-container .nav-button.prev {
  left: -25px;
}
.bilim-duzenek .button-container .nav-button.next {
  right: -25px;
}
.bilim-duzenek .button-container .button:hover {
  opacity: 1;
}

.bilim-duzenek .button-container .button:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 1);
  border-radius: 50%;
  z-index: -99;
}

.bilim-duzenek .button-container .button:nth-child(1) {
  float: left;
}

.bilim-duzenek .button-container .button:nth-child(2) {
  float: right;
}

.bilim-duzenek .item .circle-text,
.bilim-duzenek .item .link {
  display: none; /* Varsayılan olarak gizli */
}

.bilim-duzenek .item.active .circle-text,
.bilim-duzenek .item.active .link {
  display: block; /* Aktif slide'da görünür */
}

.bilim-duzenek .item .title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  text-align: center;
  z-index: 1; /* Başlık diğer içeriklerin üstünde */
}

.bilim-duzenek .item .link {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  text-decoration: underline;
  z-index: 1; /* Link diğer içeriklerin üstünde */
}

.bilim-duzenek .circle-container {
  position: relative;
  width: auto; /* Çemberin boyutu */
  height: 350px;
  margin: 0 auto; /* Ortalamak için */
}

.bilim-duzenek .center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px; /* Görsel boyutu */
  height: 100px;
  transform: translate(-50%, -60%);
  border-radius: 50%; /* Görseli yuvarlak yapmak için */
}

.bilim-duzenek .circle-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 300;
}

.bilim-duzenek text {
  font-size: 4px; /* Metin boyutu */
  fill: #c3d940; /* Metin rengi */
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 300;
  letter-spacing: 0.3em;
}
.bilim-duzenek .lowerCircle {
  font-size: 3px; /* Metin boyutu */
  fill: #c3d940; /* Metin rengi */
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.bilim-duzenek path {
  fill: none;
  stroke: none; /* Çemberin görünmesini istemiyorsanız */
}
.planet-info-container {
  width: 100%;
  height: 100%;
}

/* Gezegenlerin varsayılan pozisyonları */
.planet-item {
  position: absolute;
  text-align: center;
  color: #fff;
  z-index: 6;
}

/* Gezegenlerin sürekli sağa sola ve yukarı aşağı hareket etmesi için temel animasyon */
@keyframes floatMovement {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  } /* Sağa ve yukarı hareket */
  50% {
    transform: translate(0, -15px);
  } /* Yukarı */
  75% {
    transform: translate(-10px, -10px);
  } /* Sola ve yukarı hareket */
  100% {
    transform: translate(0, 0);
  } /* Başlangıç pozisyonuna dön */
}

@keyframes floatReverseMovement {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-10px, 10px);
  } /* Sola ve aşağı hareket */
  50% {
    transform: translate(0, 15px);
  } /* Aşağı */
  75% {
    transform: translate(10px, 10px);
  } /* Sağa ve aşağı hareket */
  100% {
    transform: translate(0, 0);
  } /* Başlangıç pozisyonuna dön */
}

/* Hover durumunda daha yoğun bir hareket için animasyon */
@keyframes hoverFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(15px, -15px) scale(1.1);
  } /* Daha büyük ve sağa yukarı hareket */
  50% {
    transform: translate(0, -20px) scale(1.1);
  } /* Yukarı ve daha büyük */
  75% {
    transform: translate(-15px, -15px) scale(1.1);
  } /* Daha büyük ve sola yukarı hareket */
  100% {
    transform: translate(0, 0) scale(1);
  } /* Başlangıç pozisyonuna dön */
}

@keyframes hoverFloatReverse {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-15px, 15px) scale(1.1);
  } /* Daha büyük ve sola aşağı hareket */
  50% {
    transform: translate(0, 20px) scale(1.1);
  } /* Aşağı ve daha büyük */
  75% {
    transform: translate(15px, 15px) scale(1.1);
  } /* Daha büyük ve sağa aşağı hareket */
  100% {
    transform: translate(0, 0) scale(1);
  } /* Başlangıç pozisyonuna dön */
}

/* Gezegen görsellerinin temel stilleri */
.planet {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  animation: floatMovement 6s ease-in-out infinite;
  transition: transform 0.3s ease-in-out;
}

/* Her gezegen için dönüşümlü animasyon */
.planet-item:nth-child(even) .planet {
  animation: floatReverseMovement 6s ease-in-out infinite;
}

/* Mouse gezegenin üzerine geldiğinde hareketin hızlanması ve büyümesi */
.planet:hover {
  animation: hoverFloat 2.5s ease-in-out infinite; /* Daha hızlı ve yoğun hareket */
}

.planet-item:nth-child(even) .planet:hover {
  animation: hoverFloatReverse 2.5s ease-in-out infinite; /* Alternatif yönde daha hızlı hareket */
}

.planet-info {
  font-size: 14px;
  margin-top: 0.5rem;
  max-width: 120px;
}

/* Gezegenler için varsayılan pozisyonlar */
.planet-item:nth-child(1) {
  top: 22%;
  left: 5%;
}

.planet-item:nth-child(2) {
  top: 20%;
  right: 10%;
}

.planet-item:nth-child(3) {
  bottom: 5%;
  right: 5%;
}

.bilim-content .hotspot {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #c3d940;
  border: 7px solid #5f338a;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 7;
}

.bilim-content .hotspot:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px #7a599a;
}

/* Tooltip styling */
.bilim-content .tooltip {
  display: none;
  position: absolute;
  border-color: #c3d940 !important; /* Aktif durumda yeşil sınır */
  color: #c3d940; /* Aktif durumda metin rengi */
  background-color: #4c2a6e; /* Arka plan rengini değiştirir */
  padding: 10px;
  border-radius: 8px;
  /* white-space: nowrap; */
  width: 150px;
  left: -60px;
  top: 27px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(-10px);
  box-shadow: 0 0 10px #c3d940;
}

.bilim-content .tooltip h3 {
  font-family: "VistolSans-Black", sans-serif;
  font-size: 14px;
}

.bilim-content .tooltip p {
  font-family: "VistolSans-Regular", sans-serif;
  font-size: 12px;
}

/* Show tooltip on hover */
.bilim-content .hotspot:hover .tooltip {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Hotspot Positions */
.bilim-content .hotspot-1 {
  top: 37%;
  left: 85%;
}

.bilim-content .hotspot-2 {
  top: 70%;
  left: 89%;
}

.bilim-content .hotspot-3 {
  top: 39%;
  left: 9%;
}
@media (min-width: 1800px) {
  .bilim-duzenek .items .button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    z-index: 100;
  }
}
/* Responsive Hotspot Positions */
@media (max-width: 1200px) {
  .bilim-content .hotspot-1 {
    top: 35%;
    left: 75%;
  }
  .bilim-content .hotspot-2 {
    top: 35%;
    left: 15%;
  }
  .bilim-content .hotspot-3 {
    top: 87%;
    left: 60%;
  }
}
