/* =============================================================
   BASECAMP BEND — TAP LIST SECTION
   ============================================================= */

.taps-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem;
  overflow: hidden;
  background: var(--bg-deep);
  text-align: center;
}

/* Background photo at low opacity */
.taps-bg {
  position: absolute;
  inset: 0;
  /* background-image set via inline style in taps.php */
  opacity: 0.1;
  z-index: 0;
}

/* Amber radial glow behind content */
.taps-amber-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(232,121,10,0.13) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Content sits above overlays */
.taps-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.taps-inner .section-title {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  margin-bottom: 1rem;
}

.taps-inner > p {
  color: var(--cream-dim);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

/* ----- Tap circle icons ----- */
.tap-items {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 3rem;
}

.tap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.tap-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--border-amber);
  background: rgba(232, 121, 10, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.tap-circle:hover {
  border-color: var(--amber);
  background: rgba(232, 121, 10, 0.15);
  transform: translateY(-3px);
}

.tap-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ----- Floating hops animation (spawned by JS) ----- */
#hop-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-hop {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url('/images/icons/hop-icon.webp');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.35;
  animation: floatHop var(--dur, 18s) linear forwards;
  left: var(--left, 50%);
  top: -50px;
  transform: rotate(var(--rot, 0deg));
}

.floating-hop.type-orange {
  background-image: url('/images/icons/orangeslice.webp');
}

.floating-hop.type-apple {
  background-image: url('/images/icons/appleslice.webp');
}

@keyframes floatHop {
  to {
    transform: translateY(110vh) translateX(var(--x, 0px)) rotate(calc(var(--rot, 0deg) + 180deg));
    opacity: 0;
  }
}

/* ----- Taplist subpage hero variant ----- */
.tap-hero {
  position: relative;
  /* background-image set via inline style in taplist.php */
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.tap-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,20,16,1) 0%, rgba(11,20,16,0.5) 50%, rgba(11,20,16,0.15) 100%);
}

.tap-hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 4rem;
  max-width: 700px;
}

.tap-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 0.92;
  margin-bottom: 0.75rem;
}

.tap-hero-content p {
  color: var(--cream-dim);
  font-size: 1rem;
}

/* ----- Tab navigation (taplist.php) ----- */
.tap-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 2rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.tap-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  user-select: none;
}

.tap-tab:hover,
.tap-tab.active {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(232, 121, 10, 0.07);
}

.tab-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Taplist embed container */
.tap-section {
  max-width: 1100px;
  margin: 2.5rem auto 5rem;
  padding: 0 1rem;
  display: none;
}

.tap-section.active {
  display: block;
}

/* ----- Responsive ----- */
@media (max-width: 600px) {
  .tap-items {
    gap: 1rem;
  }

  .tap-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .tap-tab {
    flex: 1 1 40%;
    justify-content: center;
  }
}
