/* style.css for The Cartography of a Mind in Bloom */

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}

header {
  background: #f0f0f5;
  padding: 40px 20px 20px 20px;
  text-align: center;
}

header h1 {
  font-family: 'Georgia', serif;
  font-size: 2.8rem;
  color: #4B3869;
  margin-bottom: 0.5rem;
}

main {
  padding: 20px;
}

section {
  margin: 40px 0;
  text-align: center;
}

#timeline svg, #clusters svg, #summary-scroll, #final-horizon {
  margin-top: 20px;
}

#summary-scroll h2, #final-horizon h2 {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  color: #6C4675;
  margin-bottom: 10px;
}

#summary-scroll p, #final-horizon p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

#timeline svg, #clusters svg {
  width: 90%;
  height: 600px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

footer {
  background: #f0f0f5;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* Timeline and Cluster Animations */
circle {
  transition: fill 0.3s ease, transform 0.3s ease;
}

circle:hover {
  transform: scale(1.2);
  stroke: gold;
}

/* Optional Light Animation for Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(240,240,250,0.5) 0%, rgba(230,230,240,0.1) 70%, transparent 100%);
  z-index: -1;
  animation: gentleMove 20s infinite alternate;
}

@keyframes gentleMove {
  0% { background-position: center top; }
  100% { background-position: center bottom; }
}
