/* ====== GLOBAL ====== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');


:root {
  --accent: #d233c6;        /* purple accent */
  --text-main: #444444;     /* body text */
  --text-heading: #222222;  /* headings */
}

* {
  box-sizing: border-box;
}

/*body {
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 16px;          /* base body text */
  font-weight: 100;
  background-color: #ffffff;
  color: var(--text-main);
} */


/* body {
      font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700; /* Bold for headings */
}

p {
    font-weight: 400; /* Regular for body text */
} */

* { box-sizing: border-box; }

html { font-size: 14px; } 
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}






/* main wrapper */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px 40px 60px;
}

/* ====== HEADER ====== */

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #e3e3e3;
  padding-bottom: 18px;
}

.site-title {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--text-heading);
}

/* ====== NAVIGATION (HOME / RESEARCH / TEACHING / CV) ====== */

.main-nav {
  display: flex;
  gap: 26px;                 /* space between tabs */
}

.main-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-heading);
  padding-bottom: 8px;
}

/* purple underline for active page */
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background-color: var(--accent);
}

/* inactive tabs: hover = light gray text + purple bar */
.main-nav a:not(.active):hover {
  color: #777777;
  text-decoration: none;
}

.main-nav a:not(.active):hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background-color: var(--accent);
}

/* active tab stays fixed on hover */
.main-nav a.active:hover {
  color: var(--text-heading);
  text-decoration: none;
}

/* ====== GENERIC LINKS ====== */

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ====== HOME PAGE LAYOUT ====== */
/* in index.html: <main class="home-layout"> */

.home-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-top: 55px;
}

/* left column: photo + email */
.home-left {
  flex: 0 0 320px;
}

.profile-pic {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 35px;
}

/* right column: text blocks */
.home-right {
  flex: 1;
}

/* ====== SECTION HEADINGS (CURRENT POSITION, etc.) ====== */

.home-right h2,
.home-left h2 {
  margin: 28px 0 6px;
  font-size: 15px;               /* smaller, compact heading */
  font-family: 'Oswald', Arial, sans-serif !important;
  font-weight: 800;              /* strong bold */
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-heading);


}

/* first heading in each column: no extra top margin */
.home-right section:first-of-type h2,
.home-left section:first-of-type h2 {
  margin-top: 0;
}

/* text under headings: slightly smaller, airy */
.home-right p,
.home-left p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

/* bold labels inside body text (Primary fields, Secondary fields) */
.home-right p strong {
  font-weight: 700;
  color: var(--text-main);
}

/* ====== OTHER PAGES (Research / Teaching / CV) ====== */
/* in those pages: <main class="standard-page"> */

main.standard-page {
  margin-top: 55px;
}

.standard-page h2 {
  font-size: 26px;
  font-weight: 500;
  color: var(--text-heading);
  margin: 0 0 12px;
}

.standard-page h3 {
  font-size: 20px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--text-heading);
}

.standard-page p {
  margin: 0 0 14px;
  line-height: 1.6;
}

/* lists on Research / Teaching / CV pages */
.standard-page ul {
  margin: 0 0 32px 0;
  padding: 0;
  list-style: none;
}

.standard-page ul li {
  position: relative;
  margin: 0 0 10px 24px;
  line-height: 1.6;
}

/* grey hollow-circle bullets */
.standard-page ul li::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid #cccccc;
}

/* research-page links: purple, no underline, darker purple on hover */
.standard-page a {
  color: var(--accent);
  text-decoration: none;
}

.standard-page a:hover {
  color: #a1009b;          /* darker purple on hover */
  text-decoration: none;
}

/* ====== FOOTER ====== */

footer {
  margin-top: 0px;
  font-size: 12px;
  color: #999999;
}


.bold-title {
  font-weight: 900;
/* text-transform: uppercase; */
font-size: 14.5px;
font-style: italic;
/* font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;*/ /* if you also want italic */
font-family:'Roboto', Arial, Helvetica, sans-serif;
}


/* ====== MOBILE FRIENDLY ADJUSTMENTS ====== */
@media (max-width: 900px) {
  .page {
    padding: 18px 8px 40px;
    max-width: 100vw;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
  }
  .main-nav {
    gap: 12px;
    margin-top: 10px;
  }
  .site-title {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 13px;
  }
  .page {
    padding: 8px 2vw 24px;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8px;
  }
  .main-nav {
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .main-nav a {
    font-size: 15px;
    padding-bottom: 4px;
  }
  .site-title {
    font-size: 18px;
  }
  .home-layout {
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }
  .home-left, .home-right {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
  .profile-pic {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-bottom: 18px;
  }
  .standard-page h2 {
    font-size: 20px;
  }
  .standard-page h3 {
    font-size: 16px;
  }
  .standard-page ul li {
    margin-left: 16px;
    font-size: 1em;
  }
}


