/* Hero Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 833px;
  background: #00040d;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 1440px;
  height: 833px;
  margin: 0 auto; /* Center on large screens */
}

/* Main Background */
.banner-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0px;
  top: 0px;
  z-index: 1;
}

.banner-bg-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.banner-bg-slide.active {
  opacity: 1;
}

/* Gradients for depth */
.banner-gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  background:
    linear-gradient(90deg, #00040d 20%, rgba(0, 4, 13, 0) 60%),
    linear-gradient(0deg, #00040d 5%, rgba(0, 4, 13, 0) 40%);
  z-index: 2;
}

/* Content Area */
.banner-content {
  position: absolute;
  left: 150px;
  top: 283px;
  z-index: 10;
}

.banner-subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 19px;
  color: #0cbe56;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.banner-title-img {
  width: 294px;
  height: auto;
  margin-bottom: 30px;
}

.banner-description {
  width: 486px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #ffffff;
  opacity: 0.6;
  margin-bottom: 40px;
}

/* Watch Trailer Button */
.banner-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  gap: 10px;
  width: 172px;
  height: 46px;
  background: #ff0000;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner-btn:hover {
  background: #cc0000;
}

.banner-btn span {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 30px;
  color: #ffffff;
}

/* Branding Group (GPM CREATIONS) */
.banner-branding {
  position: absolute;
  left: 150px;
  bottom: 50px;
  z-index: 10;
  padding-left: 160px;
  text-align: center;
}

.banner-branding::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 110px;
  background: #ffffff;
}

.branding-prefix {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #ffffff;
  margin-bottom: 5px;
  display: block;
}

.branding-name {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  color: #ffffff;
  margin-bottom: 5px;
  display: block;
}

.branding-suffix {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #ffffff;
  display: block;
}

/* Banner Slider & Controls Group */
.banner-slider-group {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 25px;
  position: absolute;
  right: 70px;
  bottom: 40px;
  z-index: 15;
}

/* Thumbnail Slider */
.thumbnail-slider {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: 0px;
  gap: 20px;
}

.thumb-item {
  width: 160px;
  height: 100px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    width 0.3s ease,
    height 0.3s ease;
}

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

.thumb-item.active {
  width: 180px;
  height: 110px;
}

/* Sliding Progress Loader */
.thumb-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ff0000;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
}

.thumb-item.active::after {
  animation: thumbProgress 6s linear forwards;
}

/* Pause the sliding progress when the banner is hovered (paused state) */
.banner.paused .thumb-item.active::after {
  animation-play-state: paused;
}

@keyframes thumbProgress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

/* Slider Controls */
.slider-controls {
  display: flex;
  gap: 10px;
  align-self: center;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(47, 47, 47, 0.8);
  transition: background 0.3s ease;
}

.control-btn:hover {
  background: #ff0000;
}

.control-btn.prev {
  transform: rotate(180deg);
}
