/* ───────────────────────────────────────────
   Lisa Pouels — Soft Pastel Portfolio
   Inspired by rounded-card pastel aesthetic
   ─────────────────────────────────────────── */

/* ── Variables ── */
:root {
  --bg:         #f5f0ea;
  --bg-warm:    #faf6f1;
  --text:       #3e3a36;
  --text-soft:  #8a837b;
  --text-muted: #b5afa8;
  --accent:     #c5a882;
  --accent-warm:#d4b896;

  --blue:       #c9daf0;
  --blue-light: #dce7f5;
  --blue-dark:  #a0b8d8;
  --blue-deep:  #7c9ec5;
  --peach:      #f2ddce;
  --peach-light:#f8ebe0;
  --peach-dark: #dbbfa5;
  --purple:     #c9c0de;
  --purple-light:#dad3ea;
  --purple-dark: #a89bc6;
  --salmon:     #eecec0;
  --salmon-light:#f5ddd3;
  --salmon-dark: #d4a999;
  --green:      #c6ddd3;
  --green-light:#d6eae0;
  --green-dark: #9fc4b0;
  --cream:      #ede6dd;
  --cream-dark: #d9d0c4;

  --radius:     28px;
  --radius-md:  20px;
  --radius-sm:  14px;
  --radius-pill:100px;

  --font:       'DM Sans', system-ui, -apple-system, sans-serif;
  --font-hand:  'Caveat', cursive;

  --shadow:     0 8px 32px rgba(60,50,40,.06), 0 2px 8px rgba(60,50,40,.04);
  --shadow-sm:  0 2px 12px rgba(60,50,40,.05);
  --shadow-lg:  0 12px 48px rgba(60,50,40,.08), 0 4px 12px rgba(60,50,40,.04);
  --shadow-hover: 0 16px 48px rgba(60,50,40,.1), 0 4px 16px rgba(60,50,40,.06);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Page wrapper ── */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  position: relative;
}

/* ── Decorative blobs (softer, bigger, more of them) ── */
.blobs { pointer-events: none; position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
}
.blob-1 { width: 320px; height: 320px; background: var(--blue);   top: -60px;  right: -80px; }
.blob-2 { width: 260px; height: 260px; background: var(--purple); top: 25%;    left: -100px; }
.blob-3 { width: 340px; height: 280px; background: var(--peach);  bottom: 18%; right: -90px; }
.blob-4 { width: 220px; height: 220px; background: var(--green);  bottom: -50px; left: 5%; }
.blob-5 { width: 180px; height: 180px; background: var(--salmon); top: 55%;    right: 10%; }

.page > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  gap: .75rem 1.5rem;
  padding: 3rem 0 3.5rem;
}
.hero-center {
  text-align: center;
  grid-column: 1 / -1;
  grid-row: 1;
  padding-bottom: .5rem;
}
.hero-welcome {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--text-soft);
  margin-bottom: .1rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: .95rem;
  color: var(--text-soft);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* hero floating badges */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  box-shadow: var(--shadow);
  font-size: .78rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-badge:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-hover);
}
.hero-badge strong {
  font-size: 1.4rem;
  line-height: 1;
  display: block;
}
.hero-badge small { display: block; color: var(--text-soft); font-size: .65rem; line-height: 1.3; }
.badge-icon { font-size: 1.15rem; }

.badge-exp {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  animation: float 6s ease-in-out infinite;
}
.hero-side-badges {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  align-items: flex-end;
}
.badge-projects { animation: float 6s ease-in-out infinite .5s; }
.badge-clients  { animation: float 6s ease-in-out infinite 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; text-align: center; gap: .8rem; padding: 2rem 0 2.5rem; }
  .hero-center { grid-column: 1; }
  .badge-exp { grid-column: 1; justify-self: center; }
  .hero-side-badges { grid-column: 1; flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════
   CARDS GRID
   ═══════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ── Card base ── */
.card {
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* small variant for education grid */
.card-sm { padding: 1.3rem 1.4rem 1.2rem; }

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .35rem;
  line-height: 1.3;
}
.card p {
  font-size: .87rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.card-desc {
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.card-meta {
  margin-top: .6rem;
  font-size: .75rem;
  color: var(--text-muted);
}
.card-role {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .35rem;
}
.card-highlight {
  margin-top: .65rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
}
.card-emoji {
  font-size: 1.6rem;
  display: block;
  margin-bottom: .45rem;
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .15rem;
}
.card-header h3 { margin-bottom: 0; }

/* ── Card colours ── */
.card-blue   { background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 100%); }
.card-peach  { background: linear-gradient(135deg, var(--peach-light) 0%, var(--peach) 100%); }
.card-purple { background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%); }
.card-salmon { background: linear-gradient(135deg, var(--salmon-light) 0%, var(--salmon) 100%); }
.card-green  { background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%); }

/* ── Decorative corner circles (like the design) ── */
.card::before,
.card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.card::before {
  width: 100px; height: 100px;
  opacity: .18;
}
.card::after {
  width: 50px; height: 50px;
  opacity: .12;
}
.card-blue::before   { background: var(--blue-deep);  top: -30px; right: -30px; }
.card-blue::after    { background: var(--blue-dark);   bottom: -15px; left: -15px; }
.card-peach::before  { background: var(--peach-dark);  bottom: -35px; right: -25px; }
.card-peach::after   { background: var(--salmon-dark); top: -15px; left: 50%; }
.card-purple::before { background: var(--purple-dark); top: -30px; left: -30px; }
.card-purple::after  { background: var(--blue-dark);   bottom: -15px; right: -10px; }
.card-salmon::before { background: var(--salmon-dark); bottom: -30px; left: -25px; }
.card-salmon::after  { background: var(--peach-dark);  top: -15px; right: -10px; }
.card-green::before  { background: var(--green-dark);  top: -30px; right: -30px; }
.card-green::after   { background: var(--accent);      bottom: -10px; left: 30%; }

/* ── Clickable card state ── */
.card-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.card-link:hover .card-cta {
  opacity: 1;
  transform: translateX(4px);
}
.card-cta {
  display: inline-block;
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  opacity: .5;
  transition: opacity .25s, transform .25s;
}

/* ── "Current" / "Active" badge ── */
.badge-current {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(4px);
  font-size: .68rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Pills / tags ── */
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.pill {
  display: inline-block;
  background: rgba(255,255,255,.55);
  border-radius: var(--radius-pill);
  padding: .25rem .72rem;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s, transform .15s;
}
.pill:hover {
  background: rgba(255,255,255,.85);
  transform: translateY(-1px);
}

/* ── Language rows ── */
.lang-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .55rem; }
.lang-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .2s;
}
.lang-row:hover { background: rgba(255,255,255,.65); }
.lang-row img { border-radius: 4px; width: 28px; height: 28px; object-fit: cover; }
.lang-row strong { font-size: .82rem; display: block; }
.lang-row small { display: block; font-size: .68rem; color: var(--text-soft); }

/* ═══════════════════════════════════════════
   SECTION TITLES (with dotted lines)
   ═══════════════════════════════════════════ */
.section-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.section-title::before,
.section-title::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 0;
  border-top: 2px dotted var(--cream-dark);
}

/* ═══════════════════════════════════════════
   JOURNEY TIMELINE
   ═══════════════════════════════════════════ */
.journey { margin-bottom: 3.5rem; }
.timeline {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  padding-left: 2.2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--blue), var(--accent));
  border-radius: 2px;
}
.tl-item { display: flex; align-items: flex-start; gap: .9rem; }
.tl-link { text-decoration: none; color: inherit; }
.tl-link:hover .tl-card {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}

.tl-dot {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--bg);
  margin-top: .35rem;
  position: relative;
  z-index: 1;
  margin-left: -2.2rem;
  transition: transform .2s;
}
.tl-link:hover .tl-dot { transform: scale(1.3); }

.tl-dot--accent { background: var(--accent); }
.tl-dot--purple { background: var(--purple-dark); }
.tl-dot--blue   { background: var(--blue-dark); }

.tl-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
  display: flex;
  gap: .65rem;
  align-items: baseline;
  flex-wrap: wrap;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tl-card strong {
  font-size: .9rem;
  white-space: nowrap;
}
.tl-card span {
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════
   VOLUNTEERING
   ═══════════════════════════════════════════ */
.volunteering { margin-bottom: 3.5rem; }
.vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.35rem;
}

/* ═══════════════════════════════════════════
   EDUCATION SECTION
   ═══════════════════════════════════════════ */
.edu-section { margin-bottom: 3.5rem; }

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.stat {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: .7rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.stat:hover { transform: translateY(-3px); }
.stat-emoji { font-size: 1.4rem; }
.stat strong { font-size: 1.5rem; line-height: 1; display: block; font-weight: 700; }
.stat small  { font-size: .72rem; color: var(--text-soft); display: block; }

/* ═══════════════════════════════════════════
   CONTACT / FOOTER
   ═══════════════════════════════════════════ */
.contact { text-align: center; padding-bottom: 1.5rem; }
.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s;
}
.social-icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-hover);
  background: var(--blue-light);
}
.copy {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════
   DETAIL PAGES
   ═══════════════════════════════════════════ */
.detail-page { max-width: 720px; }

.back-nav { margin-bottom: 1.5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: .4rem .8rem;
  border-radius: var(--radius-pill);
  transition: background .2s, color .2s;
}
.back-link:hover {
  background: rgba(255,255,255,.6);
  color: var(--text);
}

.detail-hero {
  border-radius: var(--radius);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.detail-hero::before,
.detail-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.detail-hero::before { width: 150px; height: 150px; opacity: .15; top: -40px; right: -40px; }
.detail-hero::after  { width: 80px;  height: 80px;  opacity: .1;  bottom: -25px; left: -20px; }

.detail-hero.card-blue::before   { background: var(--blue-deep); }
.detail-hero.card-blue::after    { background: var(--blue-dark); }
.detail-hero.card-peach::before  { background: var(--peach-dark); }
.detail-hero.card-peach::after   { background: var(--salmon-dark); }
.detail-hero.card-purple::before { background: var(--purple-dark); }
.detail-hero.card-purple::after  { background: var(--blue-dark); }
.detail-hero.card-salmon::before { background: var(--salmon-dark); }
.detail-hero.card-salmon::after  { background: var(--peach-dark); }
.detail-hero.card-green::before  { background: var(--green-dark); }
.detail-hero.card-green::after   { background: var(--accent); }

.detail-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.detail-hero-text h1 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .3rem;
}
.detail-subtitle {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: .6rem;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .5rem;
}
.detail-meta {
  font-size: .82rem;
  color: var(--text-soft);
}

.detail-body {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.detail-section { margin-bottom: 1.75rem; }
.detail-section:last-child { margin-bottom: 0; }
.detail-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .65rem;
  color: var(--text);
}
.detail-section p {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.pill-detail {
  background: var(--cream);
  border-color: var(--cream-dark);
  font-size: .78rem;
  padding: .3rem .85rem;
}
.pill-detail:hover {
  background: var(--accent-warm);
  color: #fff;
}

.detail-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px dotted var(--cream-dark);
}

@media (max-width: 640px) {
  .detail-hero { flex-direction: column; padding: 1.8rem 1.4rem; }
  .detail-body { padding: 1.5rem 1.3rem; }
}

/* ── Print helpers ── */
@media print {
  .blobs, .social-row, .back-nav { display: none; }
  .card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}
