* {box-sizing:border-box}

    /* Slideshow container */
    .slideshow-container {
      image-orientation: ;
      max-width: 90%;
      position: relative;
      margin: auto;
      margin-top: 10px;
      box-shadow: 0 8px 3px rgba(0, 0, 0, 0.2);
    }

    /* Hide the images by default */
    .mySlides {
      display:none;
    }

    /* Next & previous buttons */
    .prev, .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      margin-top: -22px;
      padding: 16px;
      color: white;
      font-weight: bold;
      font-size: 18px;
      transition: 0.6s ease;
      border-radius: 0 3px 3px 0;
      user-select: none;
      background-color: rgba(0,0,0,0.3);
    }

    /* Position the "next button" to the right */
    .next {
      right: 0;
      border-radius: 3px 0 0 3px;
    }

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
      background-color: rgba(0,0,0,0.8);
    }

    /* Caption text */
    .text {
      color: #f2f2f2;
      font-size: clamp(0.6rem, 1.2vw, 1rem);
      padding: 8px 12px;
      position: absolute;
      bottom: 30px;
      width: 100%;
      text-align: center;
      background-color: rgba(0, 0, 0, 0.5);
      box-sizing: border-box;
    }

    /* Number text (1/3 etc) */
    .numbertext {
      color: #f2f2f2;
      font-size: 12px;
      padding: 8px 12px;
      position: absolute;
      top: 0;
    }

    /* The dots/bullets/indicators */
    .dot {
      cursor: pointer;
      height: 2px;
      width: 15px;
      margin: 0 2px;
      top: 5px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.6s ease;
    }

    .active, .dot:hover {
      background-color: #717171;
    }

    /* Fading animation */
    .fade {
      animation-name: fade;
      animation-duration: 1.5s;
    }

    @keyframes fade {
      from {opacity: .4}
      to {opacity: 1}
    }

    /* Overlay */
#imageOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
   overflow: hidden;
}

/* Büyüyen resim */
#imageOverlay img {
  width: 95vw;        /* Görüntü genişliği ekranın %95'i */
  max-height: 90vh;   /* Yükseklik ekranın %90'ını geçmesin */
  object-fit: contain;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
 
}

/* Kapatma butonu */
#closeOverlay {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.mySlides img.zoomable {
  cursor: pointer;
}

.mySlides img.zoomable:hover {
  filter: brightness(1.1);
}



body.modal-open {
  overflow: hidden;
}
