body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e1e;
  padding: 10px 20px;
}

.navbar img {
  height: 40px;
  display: block;
  margin: auto 0;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

.carousel-inner > .item > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  object-position: center top; /* default position */
}

/* Lower the second image slightly */
.carousel-inner > .item:nth-child(2) > img {
  object-position: center 10%; /* adjust the vertical focus */
}


.carousel {
  max-width: 1000px;
  margin: 20px auto;
}

.custom-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e1e1e;
  padding: 10px 20px;
}

.custom-navbar img {
  height: 40px;
  display: block;
  margin: auto 0;
}

.caption-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 0;
}

.slide-text {
  font-size: 28px;
  color: white;
  text-align: left;
  margin-left: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.section-title {
  font-size: 2em; /* same as Future Stars */
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.article-text {
  max-width: 1000px;   /* same as carousel max-width */
  margin: 20px auto;
  border: 2px solid rgb(156, 156, 156);
  padding: 20px;
  background-color: #f5f5f5; /* light gray background */
  font-size: 18px;
  color: #333;
  box-sizing: border-box;
}

.player {
  border: 1px solid black;
  padding: 8px;
  margin-bottom: 10px;
}

.player img {
  display: block;
  margin-bottom: 5px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  z-index: 1000; /* on top of other content */
}

body {
  padding-bottom: 80px; /* space so footer doesn't overlap */
}

/* --- Existing CSS unchanged --- */

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Stack player sections vertically on smaller screens */
  .player {
    flex-direction: column;
    align-items: center;
  }
  .player img {
    margin-left: 0;
    width: 80%; /* smaller for mobile */
  }

  /* Make article-text and carousel fit mobile screens */
  .article-text, .carousel {
    width: 90%;
    margin: 20px auto;
  }
}

@media (max-width: 600px) {
  /* Make navbar stack vertically on very small screens */
  .custom-navbar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .nav-links {
    flex-direction: column;
    gap: 5px;
  }
}

/* Ensures all images remain responsive */
img {
  max-width: 100%;
  height: auto;
}
