/* =========================================================
   Learn with Lane — Stylesheet
   Styled to mirror the Google Sites original
   ========================================================= */

:root {
  --brand-blue: #1a73e8;
  --brand-blue-dark: #1765cc;
  --red: #d93025;
  --ink: #202124;
  --ink-soft: #3c4043;
  --paper: #ffffff;
  --line: #dadce0;
  --max: 1180px;
  --font: "Open Sans", "Segoe UI", Roboto, system-ui, -apple-system, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.3; color: var(--ink); font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Larger, subheading-style paragraphs (Google Sites renders these as
   subtitle text under headings) */
.lead { font-size: 1.1rem; color: var(--ink-soft); font-weight: 600; }

.section { padding: 40px 0; }
.section--center { text-align: center; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }

/* Section divider lines, like Google Sites */
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  max-width: calc(var(--max) - 40px);
  margin: 0 auto;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
}
.skip-link:focus { left: 8px; top: 8px; z-index: 100; }

/* ---------- Header / nav (blue bar, like Google Sites) ---------- */
.site-header {
  background: var(--brand-blue);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}
.nav__brand:hover { text-decoration: none; color: #ffffff; }
.nav__brand img { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 0;
}
.nav__links a:hover { text-decoration: none; opacity: 0.85; }
.nav__links a[aria-current="page"] {
  border-bottom: 3px solid #ffffff;
  padding-bottom: 11px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Top banner (full width, faded, like Google Sites) ---------- */
.banner {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #bbe3f4;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  background: var(--brand-blue);
  color: #fff;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--brand-blue-dark); text-decoration: none; }

/* ---------- Page images (full column width) ---------- */
.page-image { padding: 28px 0 0; }
.page-image img { width: 100%; border-radius: 4px; }

/* ---------- Two-column split (image + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__media img { width: 100%; }
.split__copy--center { text-align: center; }
.split__copy h2 { text-align: center; margin-bottom: 24px; }
.split__copy .lead + .lead { margin-top: 20px; }

/* ---------- Two-column track grid ---------- */
.grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  text-align: left;
}

.track h3 { margin-bottom: 14px; }
.track p { margin-bottom: 18px; font-size: 0.95rem; }
.track a { color: var(--ink); text-decoration: underline; font-size: 0.95rem; }

/* ---------- Red heading (Coming Soon) ---------- */
.heading-red { color: var(--red); }

/* ---------- Centered CTA image ---------- */
.cta-image img {
  width: 365px;
  max-width: 100%;
  margin: 0 auto;
}

/* ---------- Plain lists (steps, focus/rate/note) ---------- */
.plain-list {
  list-style: square;
  padding-left: 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 600;
}
.plain-list li { margin-bottom: 10px; }

/* ---------- Full-width button (schedule section) ---------- */
.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ---------- Top-aligned split rows (Learning Games) ---------- */
.split--top { align-items: start; }

/* Section titles inside track columns (Services page) */
.track h2 {
  font-size: 1.5rem;
  text-align: left;
  margin-bottom: 18px;
}

/* ---------- Big serif blue titles with rules (Learning Games) ---------- */
.rule {
  border: 0;
  border-top: 2px solid #e8eaed;
  margin: 0;
}
.games-title {
  font-family: var(--font-serif);
  color: var(--brand-blue);
  font-size: 2.4rem;
  line-height: 1.15;
  text-align: left !important;
  margin: 22px 0 !important;
}
.body-text { font-size: 0.95rem; line-height: 1.8; }

/* ---------- Static FAQ (questions with visible italic answers) ---------- */
.faq-static { text-align: left; margin-top: 24px; }
.faq-static h3 { font-size: 1.1rem; margin-top: 22px; }
.faq-static p { font-style: italic; }

/* ---------- FAQ (collapsible text, like Google Sites) ---------- */
.faq { max-width: 760px; margin: 0 auto; text-align: left; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  padding: 16px 4px;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq__a p { padding: 0 4px 16px; }
.chev { transition: transform 0.2s ease; }
.faq__item.is-open .chev { transform: rotate(180deg); }

/* ---------- Calendar embed ---------- */
.calendar-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 24px;
}
.calendar-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
}

/* ---------- Footer (Contact me — plain, centered, like Google Sites) ---------- */
.site-footer {
  background: var(--paper);
  text-align: center;
  padding: 28px 0 36px;
  font-family: var(--font-serif);
}
.site-footer h2 {
  color: var(--brand-blue);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.site-footer p {
  color: var(--ink);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}
.site-footer a { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.45rem; }

  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid--2 { grid-template-columns: 1fr; gap: 40px; }

  .banner { height: 180px; }

  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 20px 18px;
    gap: 4px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 8px 0; }
  .nav__links a[aria-current="page"] { padding-bottom: 5px; }
  .calendar-wrap iframe { height: 600px; }
}
