@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@700&family=Lexend:wght@100..900&display=swap');

.slideshow-container {
  width: 100%;
  height: 800px;
  position: relative;
  margin-top: 40px;
  margin-bottom: 120px;
}

.slideshow-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.movie-info {
  color: white;
  max-width: 600px;
}

.movie-info h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.movie-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.movie-meta span {
  background: rgba(255,255,255,0.2);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.movie-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.book-button {
  background: #ff4fd8;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.book-button:hover {
  background: #d933a8;
}

.slideshow-nav.prev, 
.slideshow-nav.next {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  color: #fff;
  background-color: #1570d5;
  border: 1px #fff solid;
  height: 50px;
  width: 50px;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  border-radius: 50%;
}

.slideshow-nav.prev:hover {
  color: #fff;
  background-color: #034f84;
  transition: all 0.3s;
  cursor: pointer;
}

.slideshow-nav.next:hover {
  color: #fff;
  background: #100a21;
  transition: all 0.3s;
  cursor: pointer;
}

.slideshow-nav.prev {
  left: 10px;
}

.slideshow-nav.next {
  right: 10px;
}

.slideshow-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: #ff4fd8;
}

.indicator:hover {
  background: rgba(255,255,255,0.8);
}

@media (max-width: 600px) {
  .slideshow-container {
    height: 400px;
    margin-top: 20px;
  }

  .movie-info h2 {
    font-size: 1.5rem;
  }

  .movie-description {
    font-size: 0.85rem;
  }

  .slide-content {
    padding: 20px;
  }

  .slideshow-nav.prev, 
  .slideshow-nav.next {
    position: absolute;
    top: 20%;
    transform: translateY(-50%);
    padding: 10px 20px;
    font-size: 10px;
    border: none;
    color: #fff;
    background-color: #fb3f5d;
    height: 20px;
    width: 20px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
  }
}