/* General Styles */
body {
  font-family: 'Nunito', sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

header {
  text-align: center;
  padding: 20px 0;
  background: #000;
}

header .banner img {
  max-width: 100%;
  height: auto;
}

header .navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  background: #440008;
}

header .navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  transition: all 0.3s;
}

header .navbar a:hover {
  background: #ce0017;
  border-radius: 5px;
}

main {
  text-align: center;
  padding: 20px;
}

/* Trailer Section */
.trailers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.trailers .video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.trailers iframe {
  width: 300px;
  height: 180px;
}

/* Footer */
footer {
  text-align: center;
  background: #440008;
  padding: 10px 0;
}

/* Gallery Header */
.gallery-header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.gallery-header h2 {
  font-size: 2.5rem;
  color: #ce0017;
}

.gallery-header p {
  font-size: 1.2rem;
  color: #fff;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border: 3px solid #6b000c;
  border-radius: 8px;
  transition: transform 0.3s, border-color 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: #ce0017;
}

.slideshow {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.slideshow-container {
  position: relative;
  overflow: hidden;
  width: 100%; /* Adjust based on your desired frame size */
  height: 450px; /* Set the height based on the largest image */
}

.slide {
  display: none;
  width: 100%; /* Ensures images fit the container */
  height: 100%; /* Keeps images within the frame */
  object-fit: cover; /* Ensures images fill the container without distortion */
  border-radius: 8px;
}

.active {
  display: block;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  padding: 10px;
  z-index: 10;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button.prev:hover,
button.next:hover {
  background-color: rgba(0

/* Responsive Design */
@media (max-width: 768px) {
  .trailer iframe {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  button.prev,
  button.next {
    font-size: 14px;
    padding: 8px;
  }
}
