/* ================================
   SPORTS CAROUSEL
================================ */

/* Carousel Wrapper */
.sports-slider {
    position: relative;
    width: 100%;
}

/* Main Carousel Image */
.sport-img {
    height: 70vh;                /* fixed height */
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s, opacity 0.5s;
}

/* Previous and Next slides (blurred look preview) */
.prev-slide .sport-img,
.next-slide .sport-img {
    transform: scale(0.85);
    filter: blur(4px);
    opacity: 0.6;
}

/* Title text on image */
.sport-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    z-index: 10;
    text-align: center;
    width: auto;
    padding: 0 10px;
}

/* Carousel Controls */
.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: drop-shadow(0px 0px 3px black);
}

/* Hide controls background */
.carousel-control-prev,
.carousel-control-next {
    background: transparent !important;
    width: 5%;
}

/* Hover effect on arrow */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
    .sport-img {
        height: 60vh;
    }
    .sport-title {
        font-size: 26px;
        bottom: 18px;
    }
}

@media (max-width: 768px) {
    .sport-img {
        height: 45vh;
    }
    .sport-title {
        font-size: 20px;
        bottom: 12px;
    }
}

@media (max-width: 480px) {
    .sport-img {
        height: 38vh;
    }
    .sport-title {
        font-size: 18px;
        bottom: 10px;
    }
}


.sport-title {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  padding: 10px 28px;
  border-radius: 30px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
