body{background-image: url('../images/wallpaper.jpg');}

  @media (max-width: 768px) {
    .card {}
  }
.header {
  width: 100%;
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('../images/banner.jpg');
}

.text {
  font-family: sans-serif;
  font-size: 2rem;
  color: black;
  text-align: center;
  display: block;
  padding-top: 50px;
}

.big-title{
  font-size:30px;
  height: 40px;
}

.card {
  width: 20rem;
  height: 50% !important;
  float: left;
  display: flex;
  margin: 10px 10px 10px 0;
  transition: transform 0.3s ease-in-out;
}

.card-body {
  padding: 1px !important;
}

.card-title {
  font-size: 15px;
  display: block;
  text-align: center;
  margin-bottom: 0 !important;
  font-family: Manrope Bold;
  font-weight: bold;
}

.card-text {
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
    font-family: Manrope;
}

.fiyat {
  top: 3%;
  left: 60.1%;
  bottom: 91%;
  background-color: white;
  opacity: 80%;
  position: absolute;
  height: 8%;
  width: 40%;
  text-decoration: none;
  color: black;
  border-radius: 15px 0px 0px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80%;
  font-family: sans-serif;
  font-weight: bold;
}

.modali {
  top: 20px !important;
  width: 30%;
  height: 10%;
  left: 70%;
  font-size: 20px;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.card-img-top {
  position: relative !important;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

#lightboxImage {
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 5%;
}

.modal-content {
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  width: 50% !important; margin: auto;
  border-radius: 10% !important;
  height: 100% !important;
  background-color: rgba(90, 90, 90, 0.85) !important;
  border-width: 1px !important;
  border-color: white !important;
  
}

.modal.fade .modal-dialog {
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-body {
  position: relative;
  overflow: hidden;
  padding: 0rem !important;
  border-radius: 10% !important;
}

.modal-title {
  font-family: sans-serif;
  font-size: 28px;
  color: white;
  text-align: center;
  display: block;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-text {
  text-align: center;
  display: block;
  margin-top: 0px;
  color: white;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.lightbox-content {
  position: relative;
  width: 100%;
  text-align: center;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46.5%;
  height: 100%;
  font-size: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  transition: opacity 0.2s ease;
}

.prev-btn:hover, .next-btn:hover {
  opacity: 0;
}

.prev-btn .arrow, .next-btn .arrow {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  opacity: 1;
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-right {
  transform: translateX(100%);
  opacity: 0;
}

.slide-center {
  transform: translateX(0);
  opacity: 1;
}

.slide-up {
  transform: translateY(20px);
  opacity: 0;
}

.slide-up-end {
  transform: translateY(0);
  opacity: 1;
}

.pop {
  transform: scale(1.2);
}

.pop-end {
  transform: scale(1);
}

@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 100% !important;
  }
}

@media (max-width: 768px) {
  #lightboxImage {
    width: 100%;
    max-height: 70vh;
  }

  .lightbox-content {
    max-height: 70vh;
  }

  .prev-btn, .next-btn {
    width: 49%;
    height: 100%;
    font-size: 0;
    opacity: 0;
  }

  .prev-btn .arrow, .next-btn .arrow {
    font-size: 1rem;
  }

  .prev-btn {
    left: 0.3rem;
  }

  .next-btn {
    right: 0.3rem;
  }

  .modal-body {
    padding: 0.5rem;
  }

  .card-img-top:hover {
    transform: scale(1);
  }
  .modal-content{
    width: 100% !important;
  }
  .card {
    width: 48% !important;
    margin: 1% 0 0 0.5% !important;
  }
}
@media (min-width: 576px) {
  .modal-dialog{max-width: none !important;}
}

/* Sayfa geçiş animasyonları */
.page-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.page-content.fade-out {
  opacity: 0;
}

.page-content.fade-in {
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.swiper {
  width: 98%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  margin-top: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1% !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px ;
}




