@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --orange: #E8471D;
  --orange-dark: #C23A15;
  --green: #2D6A4F;
  --green-light: #52B788;
  --yellow: #F4B942;
  --dark: #1A1A1A;
  --charcoal: #2C2C2C;
  --cream: #FFFDF5;
  --light: #F0F4F0;
  --white: #FFFFFF;
  --border: #DEE2D6;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 18px;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: #CCC;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--orange);
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 3px;
  transition: 0.3s;
}

/* ── HERO ── */
.hero {
  background: var(--green);
  color: white;
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(0,0,0,0.08);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--yellow); }

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* Page hero variant */
.page-hero {
  background: var(--dark);
  color: white;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-hero h1 span { color: var(--orange); }
.page-hero p { opacity: 0.8; max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Hero colours per page */
.hero-orange { background: var(--orange); }
.hero-yellow { background: var(--yellow); color: var(--dark); }
.hero-yellow p { opacity: 0.8; }
.hero-green2 { background: #1B4332; }
.hero-teal { background: #0D4F5C; }
.hero-purple { background: #4A2060; }
.hero-red { background: #8B1A1A; }
.hero-brown { background: #5C3D1E; }
.hero-navy { background: #1A2550; }
.hero-forest { background: #1F3A1F; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn:active { transform: translateY(0); }

.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-green { background: var(--green); color: white; }
.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--dark); }

/* ── LAYOUT ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-title span { color: var(--orange); }

.section-intro {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  border: 2px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.card p { color: #666; font-size: 0.95rem; flex: 1; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ── STEP BLOCKS ── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.5rem; }

.step {
  background: white;
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.75rem 5rem;
  border: 2px solid var(--border);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.5rem;
  top: 1.75rem;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  line-height: 40px;
  text-align: center;
}

.step h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.step p { color: #555; font-size: 0.97rem; }

/* ── TIP BOXES ── */
.tip-box {
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tip-box-orange { background: #FFF4EF; border-left: 5px solid var(--orange); }
.tip-box-green  { background: #EDFAF3; border-left: 5px solid var(--green-light); }
.tip-box-yellow { background: #FFFBEA; border-left: 5px solid var(--yellow); }
.tip-box-red    { background: #FFF0F0; border-left: 5px solid #E53E3E; }

.tip-icon { font-size: 1.5rem; flex-shrink: 0; }
.tip-box p { margin: 0; color: #444; font-size: 0.97rem; }
.tip-box strong { color: var(--dark); }

/* ── TOOL / MATERIAL LISTS ── */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.item-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.item-card .item-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.item-card h4 { font-weight: 800; font-size: 0.95rem; margin-bottom: 0.25rem; }
.item-card p { font-size: 0.82rem; color: #666; }

/* ── ACCORDION / FAQ ── */
.accordion { margin-top: 2rem; }

.accordion-item {
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
  transition: background 0.2s;
}

.accordion-btn:hover { background: #F5F5F0; }
.accordion-btn.open { background: var(--orange); color: white; }

.accordion-icon { font-size: 1.2rem; transition: transform 0.3s; }
.accordion-btn.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
}

.accordion-body.open { max-height: 500px; padding: 1.25rem 1.5rem; }
.accordion-body p { color: #555; font-size: 0.97rem; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1.5rem 0; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.97rem;
  color: #444;
}

.checklist li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}

/* ── MISTAKE LIST ── */
.mistake-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }

.mistake-item {
  background: white;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mistake-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #E53E3E;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
}

.mistake-item h4 { font-weight: 800; margin-bottom: 0.25rem; }
.mistake-item p { font-size: 0.93rem; color: #555; margin: 0; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 0.75rem 1.5rem;
  background: var(--light);
  font-size: 0.85rem;
  color: #777;
  border-bottom: 1px solid var(--border);
}

.breadcrumb a { color: var(--orange); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 3.5rem 1.5rem;
}

.cta-band h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.cta-band p { opacity: 0.9; margin-bottom: 1.75rem; font-size: 1.1rem; }

.cta-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media(max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── TABLE ── */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  margin: 1.5rem 0;
}

.styled-table th {
  background: var(--dark);
  color: white;
  padding: 0.9rem 1.2rem;
  text-align: left;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.styled-table td {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.styled-table tr:last-child td { border-bottom: none; }
.styled-table tr:nth-child(even) td { background: #FAFAF5; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: #AAA;
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.footer-brand .logo span { color: var(--orange); }
.footer-brand p { font-size: 0.9rem; }

footer h4 {
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
footer ul a { color: #AAA; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
footer ul a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.85rem;
}

/* ── HIGHLIGHT BAND ── */
.highlight-band {
  background: var(--green);
  color: white;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

.highlight-band a { color: var(--yellow); }

/* ── RESPONSIVE ── */
@media(max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 1rem; gap: 0.25rem; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 1rem; }
  .hero { padding: 3rem 1rem; }
  .step { padding-left: 4rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── IMAGES ── */
.photo-banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.photo-half {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.photo-card {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  display: block;
  margin-bottom: -2px;
}

.photo-credit {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  padding: 0.3rem 0.5rem;
}

.img-section {
  position: relative;
  overflow: hidden;
}

.img-section img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  align-items: center;
  padding: 3rem;
}

.img-overlay-content { max-width: 480px; color: white; }
.img-overlay-content h2 { font-family: 'Fredoka One', cursive; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 0.5rem; }
.img-overlay-content p { opacity: 0.9; margin-bottom: 1.25rem; }

@media(max-width: 600px) {
  .photo-banner { height: 260px; }
  .photo-half { height: 220px; }
  .img-section img { height: 260px; }
  .img-overlay { padding: 1.5rem; }
}

/* progress bar on page hero */
.progress-bar-wrap { background: rgba(255,255,255,0.2); border-radius: 4px; height: 6px; max-width: 300px; margin: 1.5rem auto 0; }
.progress-bar { height: 6px; background: var(--yellow); border-radius: 4px; }
