/* Reset & Base */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Syne Mono', sans-serif;
}

/* -------------- NAVIGATION -------------- */
#top-nav {
  background-color: #004d40; /* Deep green */
  color: white;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
#top-nav nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
#top-nav nav ul li {
  margin: 0 15px;
}
#top-nav nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s;
}
#top-nav nav ul li a.active,
#top-nav nav ul li a:hover {
  color: #a7ffeb;
}

/* -------------- HERO SECTION -------------- */
#hero {
  position: relative;
  height: 25vh; /* 25% of viewport height for particles */
  overflow: hidden;
}
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #fff; /* fallback color */
}
.hero-content {
  position: relative;
  z-index: 2; /* Above the canvas */
  text-align: center;
  color: white;
  margin-top: 2rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}
.hero-content h1 {
  font-size: 2rem;
  margin: 10px 0;
}
.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.8);
  margin-bottom: 10px;
}
#home-tagline {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.social-links a {
  margin: 0 8px;
  font-size: 1.2rem;
  color: white;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #a7ffeb;
}

/* -------------- MAIN CONTENT -------------- */
#content {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}
section {
  background: rgba(255,255,255,0.9);
  padding: 20px;
  margin: 20px 0;
  border-radius: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
section h2 {
  color: #004d40;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
a.button {
  display: inline-block;
  background-color: #00796b;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
a.button:hover {
  background-color: #004d40;
}

/* -------------- RESUME SECTION -------------- */
.resume-container {
  width: 80%;
  height: 600px; /* Fixed height for PDF display */
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.resume-embed {
  width: 100%;
  height: 100%;
  border: none;
}
  
  /* -------------- VISUALIZATION PAGE (visualization.html) -------------- */
  /* Minimal top nav is already covered by #top-nav styles */
  
  #visualization-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
  }
  #visualization-container h2 {
    color: #004d40;
    margin-bottom: 10px;
  }
  .generator-controls {
    margin: 20px 0;
  }
  .generator-controls label {
    margin-right: 10px;
    font-weight: bold;
    color: #333;
  }
  .generator-controls input[type="text"] {
    width: 300px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  .generator-controls button {
    padding: 8px 16px;
    background-color: #00796b;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 5px;
  }
  .generator-controls button:hover {
    background-color: #004d40;
  }
  
  /* The log area for messages/status */
  #logArea {
    margin-top: 15px;
    font-style: italic;
    color: #333;
    min-height: 30px;
  }
  
/* Container for the latent space visualization */
#latent-bg {
    width: 100%;
    height: 600px;  /* Fixed height for visualization */
    margin-top: 20px;
    border: 1px solid #ccc;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;  /* Light background for clarity */
  }
  