/* ===== Section Styling ===== */
.sports-section {
  padding: 5px 0 20px;
  /*background: #f8f9fa;*/
  background-color:#FFFFFF;
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0c3d2e;
}
.section-title p {
  color: #555;
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 1.05rem;
}

/* ===== Sport Card ===== */
.sport-card {
  position: relative;
  overflow: hidden;
  border: none;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sport-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.sport-card:hover img {
  transform: scale(1.15);   /* zoom-in effect */
}

/* ===== Label Overlay (Fade-in effect) ===== */
.sport-label {
  position:absolute;
  bottom: 0px;               /* lifted slightly above the bottom */
  width: 65%;
  background: rgba(12, 61, 46, 0.95);
  color: #fff;
  text-align: center;
  font-weight: 500;
  letter-spacing: 3.5px;
  padding: 16px 10px;
  text-transform: uppercase;
  font-size:17px; 
  font-family: "Gordita", Sans-serif;
  line-height:6px;
  opacity: 1;
  transition: all 0.4s ease-in-out;
}

.sport-card:hover .sport-label {
  opacity: 1;
  transform: translateX(0%) translateY(0);
}

/* ===== Responsive Fix ===== */
@media (max-width: 767px) {
  .section-title h2 {
    font-size: 1.6rem;
  }
  .sport-label {
    font-size: 0.85rem;
  }
}
