/* ============================= */
/* GLOBAL */
/* ============================= */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Fira Sans', sans-serif;
}

/* ============================= */
/* COVER */
/* ============================= */

#cover {
  width: 100%;
  height: 100vh;
  background: url('../img/cover.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 10;
}

#intro {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -35%);
  width: min(65%, 750px);
  padding: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  text-align: center;
  text-shadow: 0 0 8px rgba(0,0,0,0.85);
}

#intro .footnote {
  margin-top: 1rem;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* ============================= */
/* MAP + STORYBOARD */
/* ============================= */

#geonarrative {
  position: relative;
  z-index: 1;
}

#storyboard {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

/* ============================= */
/* SCENES */
/* ============================= */

.scene {
  position: relative;
  max-width: 42rem;
  margin: 0 auto 0 4rem;
  padding: 1rem 0;
  z-index: 5;
}

.scene:first-child {
  margin-top: -30%;
}

.scene h2 {
  padding: 0 1rem;
  margin: 0.5rem 0;
  color: white;
  text-shadow: 0 0 6px rgba(0,0,0,0.85);
}

.scene p {
  padding: 0.75rem 1rem;
  color: black;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  margin: 0 1rem;
  line-height: 1.4;
}

/* Optional scene images */
.scene img {
  display: block;
  width: 90%;
  margin: 1rem auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* ============================= */
/* FOOTER */
/* ============================= */

#footer {
  width: 100%;
  min-height: 25vh;
  padding: 2rem 0;
  background: rgba(0,0,0,0.25);
  color: white;
}

.footer-inner {
  width: min(80%, 900px);
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 900px) {
  #intro {
    width: 85%;
  }
  .scene {
    margin: 0 auto;
    padding: 1rem;
  }
}
