/* custom: portfolio parallax slider video background */
.tp-showcase-slider-bg {
    /* keep original absolute full-cover behaviour, just hide overflow for video */
    position: absolute;
    overflow: hidden;
  }
  
  .tp-showcase-slider-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
  }
  
  .tp-showcase-slider-content {
    position: relative;
    z-index: 3;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

/* Mobile: Reduce slider height and ensure visibility */
@media (max-width: 767px) {
  .tp-showcase-slider .swiper-slide {
    min-height: 80vh !important;
    padding: 40px 0 !important;
  }
  
  .tp-showcase-slider-main {
    min-height: 80vh !important;
  }
  
  /* Mobilde background image'in her zaman görünür olmasını sağla */
  .tp-showcase-slider-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
  
  /* Video elementinin görünür olmasını sağla */
  .tp-showcase-slider-video {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 1 !important;
  }
  
  /* Video yüklenemezse veya görünmezse background image göster */
  .tp-showcase-slider-video[poster] {
    background-image: inherit;
  }
}
  