/* ============================================================
   Faezeh Rohani, PhD — Bio Page Stylesheet
   Matches home.html exactly: fonts, colors, nav, spacing
   bio_style.css
   ============================================================ */

/* Same Google Fonts as home.html */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ── Same CSS variables as home.html ── */
:root {
  --primary:    linear-gradient(90deg, #1659a4 0%, #1c7ec0 25%, #1aa6c4 50%, #1cc9b0 75%, #2ec97e 100%);;
  --accent:     #FFB81C;
  --text:       #1a1a2e;
  --muted:      #555566;
  --bg:         #fafaf8;
  --white:      #ffffff;
  --border:     #e8e8f0;
  --link:       #1a5f8e;
  --nav-height: 68px;
}

/* ── Reset — identical to home ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   NAVIGATION  — exact copy from home
══════════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 4px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.nav-links a:hover  { color: var(--primary); background: #f0f4ff; }
.nav-links a.active { background: var(--primary); color: var(--white); font-weight: 400; }

/* ══════════════════════════════════════
   PAGE CONTAINER — matches home .container width/padding
══════════════════════════════════════ */
.page-wrapper {
  text-align: justify;
  text-align-last: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 40px 80px;
}
.hrr{
  margin: 7px;
  
}

/* ══════════════════════════════════════
   BIO HEADING  — matches home .section-title style
══════════════════════════════════════ */
.bio-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--muted);
  display: inline-block;
}

/* ══════════════════════════════════════
   BIO PARAGRAPHS — matches home .profile-content p
══════════════════════════════════════ */
.profile-content p {
  color: #000000;
  margin-bottom: 18px;
  font-size: 0.97rem;
  font-weight: 400;
  width: 120%;
  max-width: none;
}

.bio-text a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,53,148,0.25);
  transition: border-color 0.2s;
}

.bio-text a:hover { border-bottom-color: var(--primary); }

.bio-text em {
  font-style: italic;
  font-weight: 400;
}

/* ══════════════════════════════════════
   BIO IMAGE BLOCKS — matches original site layout
══════════════════════════════════════ */
.bio-image-block {
  margin: 36px auto;
  max-width: 540px;
  text-align: center;
}

.bio-image-block img {
  width: 100%;
  height: 500px;
  border-radius: 3px;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.bio-image-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
}

/* ══════════════════════════════════════
   SECTION DIVIDER — same as home
══════════════════════════════════════ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 40px;
}

/* ══════════════════════════════════════
   FOOTER — exact copy from home
══════════════════════════════════════ */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  margin-top: 40px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
}

/* ══════════════════════════════════════
   ANIMATIONS — same subtle fadeUp as home
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bio-heading              { animation: fadeUp 0.7s ease both; }
.bio-text                 { animation: fadeUp 0.7s ease both; }
.bio-text:nth-of-type(2)  { animation-delay: 0.06s; }
.bio-text:nth-of-type(3)  { animation-delay: 0.12s; }
.bio-text:nth-of-type(4)  { animation-delay: 0.18s; }
.bio-text:nth-of-type(5)  { animation-delay: 0.24s; }
.bio-text:nth-of-type(6)  { animation-delay: 0.30s; }
.bio-text:nth-of-type(7)  { animation-delay: 0.36s; }
.bio-image-block          { animation: fadeUp 0.8s ease both; animation-delay: 0.1s; }
