.page-title {
  background-color: rgba(85, 87, 91, 0.7);
  color: var(--white);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 40px;
}

.projeler {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.projeler .proje {
  max-width: 250px;
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.projeler .proje:hover {
  color: var(--primary);
  transform: translateY(-20px) rotateZ(-1deg) scale(1.03);
  /* box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15); */
}

.projeler .proje-title
{
  font-size: 20px;
}

.projeler .proje:hover .proje-title {
  background-color: var(--primary);
  color: var(--white);
}

.projeler .proje img {
  width: 100%;
  object-fit: cover;
}

.proje-t-w {
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proje-title {
  background-color: rgba(149, 149, 149, 0.3);
  padding: 0 50px;
  text-transform: uppercase;
  text-align: center;
  transition: var(--transition);
}

.alt-title {
  display: flex;
  justify-content: end;
  align-items: center;
}

.alt-title .inner {
  max-width: 430px;
  width: 100%;
  text-align: left;
  background-color: var(--primary);
  text-transform: uppercase;
  position: relative;
  padding: 7px 0 7px 7px;
  font-size: 36px;
  color: var(--white);
}

.alt-title .inner::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  color: var(--white);
  right: -100%;
  top: 0;
  background-color: var(--primary);
}

.firmalar {
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.firma {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.firma img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 50%;
  background-color: #d9d9d9;
  filter: grayscale(1);
}

.firma::after {
  content: attr(data-name);
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: #000;
  font-size: 18px;
  text-transform: uppercase;
}


/* .firma:hover {
  animation: spin360 0.6s ease-in-out;
} */
.firma img:hover {
  animation: spin360 0.6s ease-in-out;
}

@keyframes spin360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* @keyframes spin360 {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
} */

.proje-detay {
  display: flex;
  gap: 24px;
  position: relative;
}

.proje-detay .left {
  max-width: 800px;
  width: 100%;
}

.proje-detay .left img {
  width: 100%;
  object-fit: cover;
}
.left .text
{
    font-size: 18px;
}
.proje-detay .left .slug-title {
  color: var(--primary);
  font-size: 30px;
}

.proje-detay .title span.detail-title {
  color: var(--primary);
  font-weight: 560;
  font-size: 18px;
}
.proje-detay .title span.detail-content
{
  font-size: 18px;
}

.absolute-vector{
  position: absolute;
  right: 0;
  bottom: 0;
}

.galeri.swiper {
  padding: 40px 0;
  width: 100%;
  overflow: visible;
}

.galeri .swiper-slide {
  width: 250px;
  height: 150px;
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.galeri .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Responsive styles for proje-detay */
@media (max-width: 992px) {
  .projeler .proje
  {
    max-width: 100%;
  }
  .proje-detay {
    gap: 20px;
  }
  
  .proje-detay .left .slug-title {
    font-size: 26px;
  }
  
  .absolute-vector {
    max-width: 150px;
  }

}
@media screen and (max-width:768px) {
  .proje-detay {
    flex-direction: column;
  }
  
  .proje-detay .left {
    max-width: 100%;
  }
  
  .proje-detay .detay {
    padding: 0 15px;
  }
  
  .proje-detay .left .slug-title {
    font-size: 24px;
    margin: 10px 0;
  }
  
  .proje-detay .left .text {
    margin-bottom: 20px;
  }
  
  .absolute-vector {
    max-width: 120px;
    opacity: 0.5;
  }
  .galeri .swiper-slide {
      width: 200px;
      height: 120px;
  }
  body .top-padding + .py-4
  {
    display: none;
    visibility: hidden;
  }
}

@media (max-width: 576px) {
  .firmalar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .proje-detay .left .slug-title {
    font-size: 20px;
  }
  
  .proje-detay .title span {
    font-size: 16px;
  }
  
  .proje-detay .title {
    margin-bottom: 8px;
  }
  
  .absolute-vector {
    max-width: 80px;
  }
}
