body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#map {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  z-index: 0;
}

#story {
  position: relative;
  width: 100%;
  z-index: 10;
}

#features {
  width: 100%;
  max-width: 420px; /* narrower story panel */
  margin: 0 auto;
  padding: 10vh 0 50vh;
}

.step {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10vh auto;
}

.text-box {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  max-width: 100%;
  font-size: 1.05rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  box-sizing: border-box;
}

.scene-photo {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* ====== Greater Accra Marker (Blinking Dot with Label) ====== */
.marker-wrapper {
  transform: translate(-50%, -50%);
  position: relative;
}

.pulse-marker {
  width: 18px;
  height: 18px;
  background: rgba(255, 0, 0, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 5;
}

.pulse-marker::after {
  content: "Greater Accra";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* ====== Static Bus Stop Labels ====== */
.stop-marker {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ====== Arrow Marker Style ====== */
.arrow-marker {
  width: 24px;
  height: 24px;
  transform: rotate(25deg); /* adjust direction if needed */
  pointer-events: none;
}
