.carousel-control-next, .carousel-control-prev {
    width: 5% !important;
}

/* Varsayılan stil (col-12) için */
.referans {
  margin-left:15%;
}

.referans h3 {
    width: 90%; 
    text-align: center; 
    border-bottom: 2px solid #DA251C; 
    line-height: 0.1em;
    margin: 50px auto 15px auto; 
 } 
 
 .referans h3 span { 
     background:#fff; 
     padding:0 0px; 
 }

 /* Orta ve büyük ekranlar (col-md-6) için */
@media (min-width: 768px) {
  .referans {
      margin-left:27%;
  }

  .referans h3 span { 
    background:#fff; 
    padding:0 10px; 
}
}
 /* --------------------------------- */

 #gallery {
    padding-top: 40px;
    @media screen and (min-width: 991px) {
      padding: 60px 30px 0 30px;
    }
  }
  
  .img-wrapper {
    position: relative;
    margin-top: 15px; 
  }

  .img-wrapper img {
    width: 100%;
    }


  .img-overlay {
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
  }

  .img-overlay i {
    color: #fff;
    font-size: 3em;
  }
  
  #overlay {
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;    
    -ms-user-select: none; 
    user-select: none; 
  }

  #overlay img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
    @media screen and (min-width:768px) {
        width: 60%;
    }
    @media screen and (min-width:1200px) {
        width: 50%;
    }
  }
  
  #nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    
    @media screen and (min-width:768px) {
      font-size: 3em;
    }
  }

  #nextButton:hover {
    opacity: 0.7;
  }
  
  #prevButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    @media screen and (min-width:768px) {
      font-size: 3em;
    }
  }

  #prevButton:hover {
    opacity: 0.7;
  }
  
  #exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 15px;
    right: 15px;
    
    @media screen and (min-width:768px) {
      font-size: 3em;
    }
  }

  #exitButton:hover {
    opacity: 0.7;
  }

  /* ------------------------------------ */
  .season_tabs {
    position: relative;   
    min-height: 360px; /* This part sucks */
    clear: both;
    margin: 25px 0;
  }
  .season_tab {
    float: left;  
    clear: both;
    width: 286px;
  }
  .season_tab label {
      background: #eee;
      padding: 10px;
      border: 1px solid #ccc;
      margin-left: -1px;
      font-size: 21px;
      vertical-align: middle;
      position: relative;
      left: 1px;
      width: 264px;
      height: 68px;
      display: table-cell;
  }
  .season_tab [type=radio] {
    display: none;   
  }
  .season_content {
    position: absolute;
    top: 0;
    left: 286px;
    background: white;
    right: 0;
    bottom: 0;
    padding: 20px;
    border: 1px solid #ccc;
   }
  .season_content span {
    animation: 0.5s ease-out 0s 1 slideInFromTop; 
  }
  [type=radio]:checked ~ label {
    background: white;
    border-bottom: 2px solid #8bc34a;
    z-index: 2;
  }
  [type=radio]:checked ~ label ~ .season_content {
    z-index: 1;
  }