:root{
  --bg: #FFEDE8;         /* warm, richer flat background */
  --accent-teal: #17B3A6;/* intense teal */
  --coral: #FF4D4D;      /* strong coral/red */
  --coral-warm: #FF856A; /* softer coral for accents */
  --title: #5b3b78;      /* deep purple for headings */
  --text: #222;
  --muted-white: rgba(255,255,255,0.96);
  --radius: 10px;
  --gap: 1rem;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg); /* flat background, no gradients */
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: var(--gap);
  padding: .75rem 1rem;
  margin: 1rem;
  background: var(--muted-white);
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* Strong, joyful title with flat coral accent */
.site-title{
  margin: 0;
  font-size: 1.95rem;
  color: var(--title);
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1.05;
  position: relative;
  padding-right: .6rem;
}
.site-title::after{
  content: "";
  display: inline-block;
  height: 6px;
  width: 36px;
  margin-left: .6rem;
  vertical-align: middle;
  border-radius: 6px;
  background: var(--coral); /* flat coral bar */
  box-shadow: 0 4px 8px rgba(255,77,77,0.12);
}

/* Nav reset + layout */
.nav-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .6rem;
  align-items: center;
}

.nav-list a{
  display: inline-block;
  padding: .45rem .85rem;
  border-radius: 8px;
  background: var(--accent-teal); /* flat teal */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(23,179,166,0.14);
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
}
.nav-list a:hover,
.nav-list a:focus{
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(23,179,166,0.18);
  outline: none;
}

/* Active link uses coral for contrast */
.nav-list a.active,
.nav-list a:active {
  background: var(--coral);
  box-shadow: 0 6px 16px rgba(255,77,77,0.14);
}

/* Content area */
main {
  padding: 1.5rem 1rem;
  margin: 0 auto 1.5rem;
  max-width: 980px;
}

section {
  background: var(--muted-white);
  padding: 1.25rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin: 0 0 1rem 0;
  position: relative;
  overflow: hidden;
}

/* extra gap when multiple sections appear */
section + section {
  margin-top: 1rem;
}

/* flat coral stripe on the left for separation */
section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 6px;
  background: var(--coral);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

/* Heading accents: flat coral underline */
h2 {
  font-size: 1.35rem;
  margin-top: 0;
  color: var(--title);
  position: relative;
  padding-bottom: .35rem;
}
h2::after {
  content: "";
  display: block;
  height: 4px;
  width: 48px;
  margin-top: .5rem;
  border-radius: 4px;
  background: var(--coral-warm);
  opacity: 1;
}

/* Footer: flat, intense coral to anchor the page */
footer{
  margin: 0 1rem 1rem 1rem;
  padding: .75rem;
  text-align:center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* Responsive: stack header on small screens */
@media (max-width: 640px){
  .site-header{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .nav-list{ justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
  .site-title{ font-size: 1.45rem; }
  h2{ font-size: 1.15rem; }
}
