/* ═══════════════════════════════════════════
   CALEB'S WORLD — SHARED STYLESHEET
   ═══════════════════════════════════════════ */

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

:root {
  --navy:    #0f2d6b;
  --teal:    #0fa4b8;
  --sky:     #7ee8f5;
  --gold:    #ffd166;
  --orange:  #ff9f43;
  --coral:   #ff6b6b;
  --purple:  #a29bfe;
  --green:   #26de81;
  --white:   #ffffff;
  --offwhite:#f7fbff;
  --gray:    #4a5568;
  --light:   #eaf6fb;
  --radius:  18px;
  --shadow:  0 8px 40px rgba(15,45,107,0.13);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--offwhite);
  color: var(--gray);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
.nav-brand {
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: white;
  line-height: 1.1;
}
.nav-brand span { color: var(--sky); }
.nav-brand small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--gold);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 900 !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--orange) !important; }

/* HAMBURGER */
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: white; border-radius: 3px; transition: all 0.3s; }

/* ── RAINBOW STRIPE ── */
.rainbow-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--purple), var(--teal), var(--green), var(--gold), var(--orange), var(--coral));
}

/* ── SECTION WRAPPER ── */
.section { padding: 72px 40px; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 72px 40px; }

/* ── SECTION TITLE ── */
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.section-title span { color: var(--teal); }
.section-underline {
  width: 72px; height: 5px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
  border-radius: 4px;
  margin-bottom: 32px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,159,67,0.4); }
.btn-secondary { background: transparent; color: var(--navy); border: 2.5px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: white; transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: #0b8fa0; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,164,184,0.4); }

/* ── CARDS ── */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 56px rgba(15,45,107,0.18); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: white;
  padding: 52px 40px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.footer-brand img { height: 70px; width: 70px; object-fit: contain; margin-bottom: 12px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.footer-brand p { color: rgba(255,255,255,0.72); font-size: 0.9rem; line-height: 1.65; margin-top: 10px; }
.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-rainbow { display: flex; gap: 6px; }
.footer-rainbow span { width: 16px; height: 16px; border-radius: 50%; display: block; }

/* ── CONTACT BAR ── */
.contact-bar {
  background: linear-gradient(90deg, var(--teal), var(--navy));
  padding: 14px 40px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.contact-bar-item:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section, .section-full { padding: 48px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-bar { gap: 18px; padding: 12px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
