/* --- Logo Carousel Base & Theme Styles --- */

/* Swiper container */

.logo-swiper-container {
  position: relative;
  overflow: hidden;
}

/* Individual logo slides (Act as containers for the balls) */

.logo-swiper-container .swiper-slide {
  width: auto;
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* NEW: The white circle ("golf ball") wrapper */

.logo-ball {
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
  margin: 0 auto;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  /*Optional: Add a subtle shadow;*/
  overflow: hidden;
}

/* Styling for the image inside the ball */

.logo-swiper-container .swiper-slide img, .logo-ball img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}

/* Wrapper alignment */

.logo-swiper-container .swiper-wrapper {
  align-items: center;
}

/* --- Hole, Club, Buttons, and Responsive CSS (Keep these rules the same as before) --- */

/* Golf Hole Overlay (Left Side) - NO GRADIENT */

.carousel-hole-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.carousel-hole-overlay::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  background-color: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.6);
  z-index: 1;
}

/* Golf Club Image (Right Side) */

.carousel-club-image {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.carousel-club-image img {
  display: block;
  /*height: 80px;*/
}

/* Navigation Button Styling */

.logo-swiper-container .swiper-nav-btn {
  z-index: 3;
  color: #0d6efd;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  transition: background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.logo-swiper-container .swiper-nav-btn:hover {
  background-color: #0d6efd;
  color: white;
}

.logo-swiper-container .swiper-nav-btn::after {
  font-size: 14px;
  font-weight: bold;
}

/* Button Positioning */

.logo-swiper-container .swiper-button-prev.swiper-nav-btn {
  left: 75px;
}

.logo-swiper-container .swiper-button-next.swiper-nav-btn {
  right: 45px;
}

/* --- Responsive Adjustments (Keep these the same, but you might want to adjust ball size/padding too) --- */

/* Optional: Adjust ball size/padding */

/* .logo-ball { width: 80px; height: 80px; padding: 10px; } */

@media (max-width: 767px) {
  .carousel-hole-overlay {
    width: 40px;
  }
}

@media (max-width: 767px) {
  .carousel-hole-overlay::after {
    left: -45px;
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 767px) {
  .carousel-club-image {
    right: -10px;
  }
}

@media (max-width: 767px) {
  .carousel-club-image img {
    height: 60px;
  }
}

@media (max-width: 767px) {
  .logo-swiper-container .swiper-button-prev.swiper-nav-btn {
    left: 55px;
  }
}

@media (max-width: 767px) {
  .logo-swiper-container .swiper-button-next.swiper-nav-btn {
    right: 15px;
  }
}

/* Optional: Adjust ball size/padding */

/* .logo-ball { width: 70px; height: 70px; padding: 8px; } */

@media (max-width: 575px) {
  .carousel-hole-overlay::after {
    left: -35px;
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 575px) {
  .carousel-club-image img {
    height: 50px;
  }
}

@media (max-width: 575px) {
  .logo-swiper-container .swiper-button-prev.swiper-nav-btn {
    left: 45px;
  }
}

@media (max-width: 575px) {
  .logo-swiper-container .swiper-button-next.swiper-nav-btn {
    right: 5px;
  }
}

/* --- Stacking Order Fix --- */

.logo-swiper-container .swiper-slide {
  position: relative;
  z-index: 1;
  width: auto;
  text-align: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* --- Ensure Hole Overlay is Above --- */

/* (This rule should already exist with z-index: 2, just confirming) */

.carousel-hole-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

/* --- All other CSS rules remain the same --- */

/* .logo-ball, .carousel-hole-overlay::after, .carousel-club-image, buttons, etc. */

