/* ---------------------------- */
/* GENERAL SETTINGS */
/* ---------------------------- */

:root {
  --accent: #407fb7;
  --bg: #eef5fb;
}

body {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
  background: linear-gradient(to bottom, #ffffff, var(--bg));
  color: #111;
}


/* ---------------------------- */
/* HEADER */
/* ---------------------------- */

header {
  margin-bottom: 50px;
  text-align: center;
}

.site-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 17px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Prevent visited links from changing color */
a:visited {
  color: #407fb7; /* or whatever your default link color is */
}

nav a:hover {
  color: var(--accent);
}


/* ---------------------------- */
/* MAIN CONTENT AREA */
/* ---------------------------- */

main {
  background: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.08);
}


/* ---------------------------- */
/* HERO SECTION */
/* ---------------------------- */

.hero {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 4px 18px rgba(64, 127, 183, 0.15);
  margin-bottom: 40px;
}

.avatar {
  width: 170px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 4px 10px rgba(64,127,183,0.25);
}

.name {
  font-size: 34px;
  margin: 0;
  color: var(--accent);
}

.tagline {
  font-size: 17px;
  color: #555;
}


/* ---------------------------- */
/* CONTACT ICONS */
/* ---------------------------- */

.contact-links {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 48px;
  height: 48px;

  background-color: #eaf2f9;
  border-radius: 12px;

  margin: 0 8px;
  text-decoration: none;
  color: #3b7ea1;
  font-size: 28px;
}

.contact-links a:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.bsky-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;

  /* Make it visually match the other icons */
  padding: 6px;
  border-radius: 12px;
  background-color: #eaf2f9; /* same light background as your card icons */
}
.orcid-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;

  padding: 6px;
  border-radius: 12px;
  background-color: #eaf2f9;
}

/* ---------------------------- */
/* SECTION HEADERS */
/* ---------------------------- */

h2, h3 {
  color: var(--accent);
  margin-top: 40px;
  font-weight: 700;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 6px;
}


/* ---------------------------- */
/* PUBLICATIONS + RESEARCH */
/* ---------------------------- */

.pub-item,
.research-box {
  background: var(--bg);
  padding: 18px;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  margin: 18px 0;
}

.pub-item strong {
  font-size: 17px;
}


/* ---------------------------- */
/* FOOTER */
/* ---------------------------- */

.site-footer {
  margin-top: 60px;
  padding: 32px 20px 24px;
  text-align: center;
  color: #666;
  font-size: 14px;

  border-top: 1px solid #e3ecf4;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Center icons nicely in footer */
.site-footer .contact-links {
  justify-content: center;
  margin-top: 0;
  margin-bottom: 16px;
}

/* CV button spacing */
.site-footer .cv-button-container {
  margin-top: 12px;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 11px 22px;

  background: linear-gradient(
    135deg,
    var(--accent),
    #2f638e
  );

  color: white;
  border-radius: 999px; /* pill shape */
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;

  box-shadow: 0 6px 18px rgba(64, 127, 183, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(64, 127, 183, 0.35);
}

/* Small copyright line */
.footer-meta {
  margin-top: 18px;
  font-size: 13px;
  color: #777;
}
