/* =========================
   Wasgud Custom CSS
   ========================= */

/* =========================
   Wasgud: Search bar overlay on map (Index page)
   ========================= */

.wasgud-map-search{
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 92%);
  background: rgba(255, 255, 255, 0.96);
  padding: 12px;
  border-radius: 12px;
  z-index: 20;
  backdrop-filter: blur(6px);
}

@media (max-width: 768px){
  .wasgud-map-search{
    top: 12px;
    padding: 10px;
  }
}

/* Slightly tighter input in overlay */
.wasgud-map-search .form-control{
  border-radius: 10px 0 0 10px;
}

.wasgud-map-search .btn{
  border-radius: 0 10px 10px 0;
}

/* =========================
   Smart Picks cards
   ========================= */

.wasgud-pick-card{
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wasgud-pick-card:hover{
  transform: translateY(-2px);
}

.wasgud-badge{
  display: inline-block;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #343a40;
}

/* =========================
   Wasgud Navbar Tagline
   ========================= */

.wasgud-tagline-wrap{
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  padding: 6px 0;
}

.wasgud-tagline-main{
  font-weight: 600;
  color: #212529;
  letter-spacing: 0.2px;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wasgud-tagline-sub{
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hide tagline on small screens (navbar collapses anyway) */
@media (max-width: 991.98px){
  .wasgud-tagline-wrap{
    display: none;
  }
}

/* =========================
   Wasgud Scroll-Snap Hero (Index page)
   ========================= */

.wasgud-scroll-hero{
  position: relative;
  height: clamp(380px, 78vh, 760px);
  background: #0b0f14;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* Scroll container */
.wasgud-snap{
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;

  /* Hide scrollbars */
  scrollbar-width: none; /* Firefox */
}

.wasgud-snap::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* Each slide */
.wasgud-snap-slide{
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.wasgud-snap-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional dot indicators */
.wasgud-scroll-dots{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.wasgud-scroll-dots span{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

/* Mobile adjustments */
@media (max-width: 768px){
  .wasgud-scroll-hero{
    border-radius: 12px;
  }

  .wasgud-scroll-dots{
    display: none;
  }
}
