/* === Starfield Canvas === */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none; /* Allow clicks to pass through */
}

/* === Backgrounds === */
body {
  background-color: #E0E0E0; /* Professional Gray */
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}



/* === Links === */
a {
  color: #007B7B; /* Accent color for links */
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}










/* Base: project titles */
.quarto-listing .listing-title a,
.quarto-post .listing-title a,
.quarto-listing .quarto-post .title a {
  color: #2A2A2A;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, background-position .4s ease;
}

/* Subtle lift + gradient text on hover */
.quarto-listing .listing-title a:hover,
.quarto-post .listing-title a:hover,
.quarto-listing .quarto-post .title a:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #3b82f6, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;               /* Safari fallback handled by -webkit-text-fill */
  -webkit-text-fill-color: transparent;
}

/* Optional: animated underline that grows from center on hover */
.quarto-listing .listing-title a,
.quarto-post .listing-title a,
.quarto-listing .quarto-post .title a {
  position: relative;
}

.quarto-listing .listing-title a::after,
.quarto-post .listing-title a::after,
.quarto-listing .quarto-post .title a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  height: 3px;
  width: 0;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, #3b82f6, #ec4899);
  transition: width .25s ease;
}

.quarto-listing .listing-title a:hover::after,
.quarto-post .listing-title a:hover::after,
.quarto-listing .quarto-post .title a:hover::after {
  width: 100%;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .quarto-listing .listing-title a,
  .quarto-post .listing-title a,
  .quarto-listing .quarto-post .title a {
    transition: none;
  }
}

























/* Stylish blue-to-pink gradient separator with fade at both ends */
.quarto-listing .quarto-post,
.quarto-listing .quarto-listing-item {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.quarto-listing .quarto-post::after,
.quarto-listing .quarto-listing-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px; /* thickness */
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    #3b82f6,
    #ec4899,
    transparent
  );
  border-radius: 4px;
}

/* Remove separator from last item */
.quarto-listing .quarto-post:last-of-type::after,
.quarto-listing .quarto-listing-item:last-of-type::after {
  display: none;
}


/* === Cards, Sections, Panels === */
.card, .section, .content-box {
  background-color: #FFFFFF;
  border: 1px solid #C5C5C5; /* Silver Sand */
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* === Muted Labels, Meta Text === */
.muted, .meta, small, .tagline {
  color: #888888; /* Slightly darker gray */
}

/* === Dividers / Horizontal Rules === */
hr {
  border: none;
  border-top: 1px solid #C5C5C5;
  margin: 2rem 0;
}

/* === Buttons === */
button, .btn {
  background-color: #333333;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover, .btn:hover {
  background-color: #444444;
}

/* === Inputs / Forms === */
input, textarea, select {
  border: 1px solid #CCCCCC;
  padding: 0.6rem;
  border-radius: 4px;
  background-color: #ffffff;
  color: #2A2A2A;
}
input::placeholder, textarea::placeholder {
  color: #999999;
}

/* === Footer === */
footer {
  background-color: #D0D0D0; /* Slightly darker footer */
  color: #2A2A2A;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
