/* Screening Information Carousel */
.screening-carousel-wrapper {
  position: relative;
  margin: 2rem 0 0;
  padding: 0 60px;
}

.screening-carousel-wrapper.screening-carousel-full-width {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .screening-carousel-wrapper {
    margin-top: 4rem;
  }
}

.screening-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.screening-carousel::-webkit-scrollbar {
  display: none;
}

/* Screening Card */
.screening-card {
  flex: 0 0 auto;
  width: 320px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: visible;
  transition: all 0.3s ease;
  border: 1px solid rgba(194, 146, 68, 0.2);
  text-align: center;
}

.screening-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(194, 146, 68, 0.3);
  border-color: rgba(194, 146, 68, 0.5);
}

/* Screening Poster */
.screening-poster {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  background-color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px 12px 0 0;
}

.screening-poster:hover {
  opacity: 0.9;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
}

.image-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(194, 146, 68, 0.5);
}

.image-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(194, 146, 68, 0.9);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.image-modal-close:hover {
  background-color: rgba(194, 146, 68, 1);
  transform: scale(1.1);
}

.image-modal-close svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .image-modal-close {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .image-modal-close svg {
    width: 24px;
    height: 24px;
  }

  .image-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
}

/* Screening Info */
.screening-info {
  padding: 1.5rem;
}

.screening-info p {
  margin-bottom: 0.5rem;
}

.screening-info a:not([class*="bg-"]) {
  color: #C29244;
  text-decoration: none;
  transition: color 0.3s ease;
}

.screening-info a:not([class*="bg-"]):hover {
  color: #a67a35;
  text-decoration: underline;
}

/* Navigation Buttons */
.screening-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(194, 146, 68, 0.9);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.screening-carousel-btn:hover {
  background-color: rgba(194, 146, 68, 1);
  transform: translateY(-50%) scale(1.1);
}

.screening-carousel-btn-left {
  left: 0;
}

.screening-carousel-btn-right {
  right: 0;
}

.screening-carousel-btn svg {
  width: 28px;
  height: 28px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .screening-card {
    width: 350px;
  }
}

@media (max-width: 768px) {
  .screening-carousel-wrapper {
    padding: 0 50px;
  }

  .screening-card {
    width: 300px;
  }

  .screening-carousel-btn {
    width: 40px;
    height: 40px;
  }

  .screening-carousel-btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .screening-carousel-wrapper {
    padding: 0 20px;
  }

  .screening-card {
    width: 340px;
  }

  .screening-info {
    padding: 1rem;
  }

  .screening-carousel-btn {
    width: 36px;
    height: 36px;
  }

  .screening-carousel-btn svg {
    width: 20px;
    height: 20px;
  }
}
