.myPortfolioGallery {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 60px 0;
}

.myPortfolioGallery .swiper-wrapper {
  align-items: center;
}

.myPortfolioGallery .swiper-slide {
  width: 60vw;
  max-width: 60vw;
  height: 600px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.4;
  transform: scale(0.85);
  cursor: pointer;
}

.myPortfolioGallery .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.myPortfolioGallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Dot style */
.myPortfolioGallery .swiper-pagination-bullet {
  background: #999;
  opacity: 0.5;
}
.myPortfolioGallery .swiper-pagination-bullet-active {
  background: #000;
  opacity: 1;
}
@media (max-width: 768px) {
  .myPortfolioGallery {
    padding: 60px 0;
    overflow: visible;
  }

  .myPortfolioGallery .swiper-slide {
    width: 75vw;
    height: 350px;
    transform: scale(0.85);
    opacity: 0.4;
  }

  .myPortfolioGallery .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
  }

  .myPortfolioGallery img {
    height: 100%;
    object-fit: cover;
  }
}

.glightbox-clean .gclose {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 10px;
    position: absolute;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.swiper-pagination-bullet {
  background: #aaa;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #000;
  opacity: 1;
  transform: scale(1.2);
} 
.myPortfolioGallery .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.myPortfolioGallery .swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body.no-video .video_hide_empty {
  display: none !important;
}


@media (max-width: 768px) {
  .myPortfolioGallery .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .myPortfolioGallery .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
  }
}



/* HOVER IMAGE GALLERY PORTFOLIO */
.elementor-element-b4c45f3::before,
.elementor-element-b4c45f3::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
}

.elementor-element-b4c45f3::before {
  clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%);
  transform: translateX(-5px);
}

.elementor-element-b4c45f3::after {
  clip-path: polygon(0 75%, 100% 75%, 100% 100%, 0 100%);
  transform: translateX(5px);
}

.elementor-element-b4c45f3:hover::before,
.elementor-element-b4c45f3:hover::after {
  opacity: 1;
}


.no-video .video_hide_empty {
    display: none;
}

.hover_image {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  isolation: isolate;
}


/* Glass-style dark overlay */
.hover_image::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Text that fades up in the center */
.hover_image::after {
  content: "Δείτε το Project";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 10%);
  font-size: 1rem;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: white;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  pointer-events: none;
}

/* Hover states */
.hover_image:hover img {
  transform: scale(1.07);
  filter: brightness(1.05) contrast(1.05);
}

.hover_image:hover::before {
  opacity: 1;
}

.hover_image:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}