@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --accent: #2a6f77;
  --accent-dark: #1c4d53;
  --text: #2b2b2b;
  --muted: #6b7280;
  --border: #e5e7eb;
}

body {
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
}

h1, h2, h3, h4, .navbar-title, .navbar-brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}

h1 { font-weight: 700; }

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

/* Navbar */
.navbar {
  background-color: #ffffff !important;
  border-bottom: 2px solid var(--accent);
}
.navbar-title {
  color: var(--accent-dark) !important;
  font-weight: 700;
}
.navbar-dark .navbar-nav .nav-link,
.navbar .nav-link {
  color: var(--text) !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

/* Footer */
.nav-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Hero (About page) */
.hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.hero-photo img.profile-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.hero-text {
  flex: 1;
  min-width: 280px;
}
.hero-heading h3 {
  color: var(--muted);
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  margin-top: -0.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.25rem 0 1.25rem;
  font-size: 1rem;
}
.social-links a {
  color: var(--accent-dark);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  transition: color 0.15s, background-color 0.15s;
}
.social-links a:hover {
  color: #fff;
  background-color: var(--accent);
}
.social-links a i {
  margin-right: 0.35rem;
  color: var(--accent-dark);
}
.social-links a:hover i {
  color: #fff;
}

/* Timeline-style entries used on CV / Projects pages */
.entry {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}
.entry-date {
  min-width: 110px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.entry-body strong {
  color: var(--text);
}

/* Highlight box, e.g. for the upcoming BayWaT-AI project */
.highlight-box {
  background-color: #f2f7f8;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* Research interest boxes, side by side on the About page */
.research-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.research-box {
  flex: 1 1 260px;
  background-color: #f2f7f8;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
}
.research-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.research-icon {
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.3;
}
.research-heading {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  color: var(--text);
}
.research-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.1rem;
}
.research-box p {
  margin-bottom: 0.6rem;
}

.badge-soon {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
}
