/* ==========================================================================
   Movix Slider - Now Playing
   ========================================================================== */

.movix-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.movix-track {
  display: flex;
}

.movix-track:hover {
  animation-play-state: paused;
}

.movix-item {
  flex: 0 0 18%;
  margin-left:1%;
  margin-right:1%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  position:relative;
}

.movix-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.movix-item:hover img {
  transform: scale(1.05);
}

.movix-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61,103,162,0.7);
  display: flex;
  padding-left:5%;
  padding-right:5%;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.movix-overlay::after {
  content: '';
  position: absolute;
  top: 8px;       /* distance from top */
  right: 8px;     /* distance from right */
  width: 24px;    /* size of your arrow */
  height: 24px;
  background-image: var(--movix-arrow, url('https://www.brightfish.be/wp-content/uploads/2026/03/movie-arrow.svg'));
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;     /* above the poster image */
  pointer-events: none; /* click passes through */
}

.movix-info {
  z-index: 2; /* above the bottom bar */
  text-align: center;
  pointer-events: auto;
}

.title {
  margin: 0;
  text-align:center;
  font-size: 2em;
  line-height:1.2em;
  font-weight: 700;
  color: #fff;
}

.release {
  margin: 0;
  text-align:center;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
}

.movix-item:hover .movix-overlay {
  opacity: 1;
}

.movix-info-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #3D67A2;
  display: flex;
  align-items: center;     
  justify-content: center; 
  padding: 8px 0;          
  pointer-events: auto;
}


@media (max-width: 1024px) {
  .movix-item {
    flex: 0 0 30%;
    margin-left:1.665%;
    margin-right:1.665%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .movix-item {
    flex: 0 0 80%;
    margin-left: 10%;
    margin-right: 10%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
  }
}

.movix-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.movix-arrow.left { left: 5px; }
.movix-arrow.right { right: 5px; }

.movix-arrow:hover {
  background: rgba(61,103,162,0.7);
}
.movix-arrow:focus {
  outline: none;
  background: rgba(61,103,162,0.7);
}

/* ==========================================================================
   Movix Slider - Coming Soon
   ========================================================================== */

.movix-slider-soon {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.movix-track-soon {
  display: flex;
}

.movix-track-soon:hover {
  animation-play-state: paused;
}

.movix-item-soon {
  flex: 0 0 18%;
  margin-left:1%;
  margin-right:1%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  position:relative;
}

.movix-item-soon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.movix-item-soon:hover img {
  transform: scale(1.05);
}

.movix-overlay-soon {
  position: absolute;
  inset: 0;
  background: rgba(61,103,162,0.7);
  display: flex;
  padding-left:5%;
  padding-right:5%;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.movix-overlay-soon::after {
  content: '';
  position: absolute;
  top: 8px;       /* distance from top */
  right: 8px;     /* distance from right */
  width: 24px;    /* size of your arrow */
  height: 24px;
  background-image: var(--movix-arrow, url('https://www.brightfish.be/wp-content/uploads/2026/03/movie-arrow.svg'));
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 3;     /* above the poster image */
  pointer-events: none; /* click passes through */
}

.movix-info-soon {
  z-index: 2; /* above the bottom bar */
  text-align: center;
  pointer-events: auto;
}

.title-soon {
  margin: 0;
  text-align:center;
  font-size: 2em;
  line-height:1.2em;
  font-weight: 700;
  color: #fff;
}

.release-soon {
  margin: 0;
  text-align:center;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
}

.movix-item-soon:hover .movix-overlay-soon {
  opacity: 1;
}

.movix-info-bottom-soon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #3D67A2;
  display: flex;
  align-items: center;     
  justify-content: center; 
  padding: 8px 0;          
  pointer-events: auto;
}


@media (max-width: 1024px) {
  .movix-item-soon {
    flex: 0 0 30%;
    margin-left:1.665%;
    margin-right:1.665%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .movix-item-soon {
    flex: 0 0 80%;
    margin-left: 10%;
    margin-right: 10%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
  }
}

.movix-arrow-soon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 40px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.movix-arrow-soon.left { left: 5px; }
.movix-arrow-soon.right { right: 5px; }

.movix-arrow-soon:hover {
  background: rgba(61,103,162,0.7);
}
.movix-arrow-soon:focus {
  outline: none;
  background: rgba(61,103,162,0.7);
}
