/*
  VERY BASIC STYLE FILE
  Change one thing at a time, save, then refresh Firefox.
*/

/* The whole page */
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  color: #222222;
  background: #f7f4ef;
}

/* The white page in the middle */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 28px 60px 28px;
  background: #ffffff;
  min-height: 100vh;
}

/* Your name at the top */
.site-title {
  text-align: center;
  font-size: 38px;
  margin: 0;
  font-weight: normal;
}

/* Short line under your name */
.subtitle {
  text-align: center;
  margin-top: 6px;
  color: #555555;
}

/* Top menu */
nav {
  text-align: center;
  margin: 28px 0 36px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #dddddd;
}

nav a {
  margin: 0 10px;
  color: #3f5f8f;
  text-decoration: none;
  font-size: 17px;
}

nav a:hover {
  text-decoration: underline;
}

/* Main content area on the home page */
.home-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Profile image */
.profile-photo {
  width: 220px;
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid #cccccc;
}

/* Text beside the image */
.home-text {
  flex: 1;
}

h1, h2, h3 {
  color: #222222;
  font-weight: normal;
}

h2 {
  margin-top: 0;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 6px;
}

/* Ordinary links inside the page */
a {
  color: #3f5f8f;
}

/* Simple lists */
ul {
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

/* Footer at bottom */
footer {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid #dddddd;
  color: #777777;
  font-size: 14px;
  text-align: center;
}

/* Makes the home page stack vertically on small screens */
@media (max-width: 700px) {
  .home-layout {
    display: block;
  }

  .profile-photo {
    width: 180px;
    display: block;
    margin: 0 auto 24px auto;
  }

  nav a {
    display: inline-block;
    margin: 5px 8px;
  }
}




/* ================================
   Simple academic colour upgrade
   Paste this at the BOTTOM of style.css
   ================================ */

body {
  background: #f4efe7;
  color: #222222;
}

header,
.site-header {
  background: #f4efe7;
  color: #222222;
}

main,
.page,
.content {
  background: #fffdf9;
  color: #222222;
}

h1 {
  color: #1f2a44;
}

h2,
h3 {
  color: #5a2a27;
}

a {
  color: #264f7a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7a3b2e;
}

nav a {
  color: #1f2a44;
  text-decoration: none;
}

nav a:hover {
  color: #7a3b2e;
  text-decoration: underline;
}

hr {
  border: none;
  border-top: 1px solid #d8cfc3;
}

footer {
  color: #666666;
}


main,
.page,
.content {
  background: #fffdf9;
  color: #222222;
  border: 1px solid #e2d8ca;
  box-shadow: 0 3px 14px rgba(60, 45, 30, 0.08);
}



body {
  background-image: url("images/background1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Better central reading card over photo background */

/* Photo background + academic reading card */

body {
  background-image: url("images/background1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main {
  background: rgba(255, 253, 249, 0.94);
  max-width: 820px;
  margin: 38px auto;
  padding: 36px 44px;
  border-radius: 10px;
  border: 1px solid rgba(220, 210, 195, 0.85);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

/* OPTION 1: Frosted glass academic tech */

body {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: #1d252c;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(120deg, rgba(18, 28, 42, 0.22), rgba(255, 255, 255, 0.04));
  pointer-events: none;
  z-index: 0;
}

header,
nav,
main,
footer {
  position: relative;
  z-index: 1;
}

main {
  max-width: 860px;
  margin: 46px auto;
  padding: 42px 52px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

h1 {
  color: #162033;
}

h2,
h3 {
  color: #3f3429;
}

a {
  color: #174f79;
}

@media (max-width: 700px) {
  main {
    margin: 20px 12px;
    padding: 26px 20px;
    border-radius: 12px;
  }
}



header,
.site-header {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
  border-radius: 0 0 18px 18px;
}



main {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.82),
      rgba(235, 248, 252, 0.68)
    );
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}



body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(210, 245, 255, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00) 42%);
  pointer-events: none;
  z-index: 0;
}


::selection {
  background: rgba(38, 79, 122, 0.22);
  color: #111111;
}

html {
  scroll-behavior: smooth;
}

a {
  transition: color 0.18s ease, opacity 0.18s ease;
}




/* ================================
   Clean modern publication buttons
   no grey/yellow fill
   ================================ */

.publication-box {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;

  margin: 26px 0 !important;
  padding: 22px 26px 22px 30px !important;

  text-decoration: none !important;
  color: #1f2933 !important;

  background: rgba(255, 255, 255, 0.82) !important;

  border: 1px solid rgba(40, 70, 95, 0.28) !important;
  border-left: 6px solid #D3D3D3 !important;
  border-radius: 14px !important;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;

  backdrop-filter: blur(12px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(120%) !important;

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease !important;
}

.publication-box:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(38, 79, 122, 0.55) !important;
  border-left-color: #123a52 !important;

  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

.publication-box h3 {
  margin-top: 0 !important;
  color: #123a52 !important;
}

.publication-box p {
  color: #1f2933 !important;
}

.publication-box .project-authors,
.publication-box .paper-authors {
  color: #60422f !important;
}

.publication-box .project-link,
.publication-box .paper-link {
  color: #264f7a !important;
  font-weight: bold !important;
}

a[data-light] {
  color: #666666 !important;
  text-decoration-color: rgba(102, 102, 102, 0.45) !important;
}



/* Hover option 1: stripe stays grey, box lifts */

.publication-box {
  border-left: 6px solid #D3D3D3 !important;
}

.publication-box:hover {
  border-left-color: #D3D3D3 !important;
  transform: translateY(-2px) !important;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}


a[data-light] {
  color: #666666 !important;
  text-decoration-color: rgba(102, 102, 102, 0.45) !important;
}

a[data-light]:hover {
  color: #444444 !important;
  text-decoration-color: #444444 !important;
}
