/* ====== Kóbor a Kalandor – kísérőoldal ====== */
:root {
  --sky-1: #8fd7ff;
  --sky-2: #d9f3ff;
  --cream: #fff9ef;
  --fox: #f58a3c;
  --fox-dark: #d96f1e;
  --green: #4cb963;
  --green-dark: #37944b;
  --teal: #2fa4a8;
  --teal-dark: #24868a;
  --sun: #ffd447;
  --red: #ff5d5d;
  --ink: #4a3728;
  --ink-soft: #7a6350;
  --white: #ffffff;
  --radius: 26px;
  --shadow: 0 10px 30px rgba(74, 55, 40, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Baloo 2", "Comic Sans MS", cursive, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
}
.btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.05); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,0.18); }

.btn-primary { background: var(--fox); color: #fff; box-shadow: 0 4px 0 var(--fox-dark); }
.btn-secondary { background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-dark); }
.btn-yt { background: var(--red); color: #fff; box-shadow: 0 4px 0 #cc3f3f; }
.btn-big { font-size: 1.2rem; padding: 16px 34px; }
.btn-small { font-size: 0.95rem; padding: 10px 18px; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 249, 239, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(74, 55, 40, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 3px 0 #e0b52e;
}
.topnav { display: flex; align-items: center; gap: clamp(8px, 2vw, 22px); }
.topnav > a:not(.btn) {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.topnav > a:not(.btn):hover { background: rgba(245, 138, 60, 0.15); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%);
  padding: clamp(30px, 6vw, 70px) clamp(16px, 5vw, 60px) 130px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}
.rainbow-text {
  background: linear-gradient(90deg, #ff5d5d, #f58a3c, #e6b400, #4cb963, #2f8fd6, #9b6bd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-text p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 46ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-mascot {
  max-width: 360px;
  aspect-ratio: 7 / 10;
  margin: 0 auto;
  padding: 18px;
  background: #fff;
  border: 7px solid #fff;
  border-radius: 44px;
  box-shadow: 0 10px 30px rgba(74, 55, 40, 0.25);
  overflow: hidden;
  animation: bob 3.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 22px rgba(74, 55, 40, 0.22));
}
.hero-mascot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}

.hero-sun {
  position: absolute;
  top: 40px;
  right: 8%;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, var(--sun) 58%, rgba(255, 212, 71, 0.35) 60%, transparent 72%);
  border-radius: 50%;
  box-shadow: 0 0 60px 25px rgba(255, 212, 71, 0.55);
  animation: sunspin 24s linear infinite;
}
@keyframes sunspin { to { transform: rotate(360deg); } }

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.95;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud-1 { width: 150px; height: 46px; top: 70px; left: -160px; animation: drift 42s linear infinite; }
.cloud-1::before { width: 60px; height: 60px; top: -28px; left: 26px; }
.cloud-1::after { width: 44px; height: 44px; top: -18px; left: 78px; }
.cloud-2 { width: 110px; height: 36px; top: 190px; left: -120px; animation: drift 55s linear 8s infinite; }
.cloud-2::before { width: 44px; height: 44px; top: -20px; left: 20px; }
.cloud-2::after { width: 32px; height: 32px; top: -12px; left: 58px; }
.cloud-3 { width: 180px; height: 52px; top: 330px; left: -200px; animation: drift 65s linear 20s infinite; }
.cloud-3::before { width: 70px; height: 70px; top: -32px; left: 30px; }
.cloud-3::after { width: 50px; height: 50px; top: -20px; left: 96px; }
@keyframes drift { to { transform: translateX(calc(100vw + 260px)); } }

.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 3;
}

/* ---------- sections ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 32px);
  scroll-margin-top: 80px;
}
.section-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.section-more { text-align: center; margin-top: 40px; }

/* ---------- video cards ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.video-card:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 16px 36px rgba(74, 55, 40, 0.2); }

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #dceefb;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.video-thumb:hover img { transform: scale(1.06); }

.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
.play-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 26px solid var(--fox);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  transform: translateX(4px);
}
.video-thumb:hover .play-badge { transform: scale(1.12); background: #fff; }

.new-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.1); } }

.video-thumb iframe { width: 100%; height: 100%; border: 0; }

.video-info { padding: 18px 22px 22px; }
.video-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.video-info p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- characters ---------- */
.section-chars {
  background: linear-gradient(180deg, transparent, rgba(76, 185, 99, 0.1), transparent);
  border-radius: 40px;
}
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.char-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  border-bottom: 6px solid var(--fox);
  transition: transform 0.2s ease;
}
.char-card:hover { transform: translateY(-6px) scale(1.02); }
.char-hedgehog { border-bottom-color: #e0559a; }
.char-oak { border-bottom-color: var(--green); }
.char-star { border-bottom-color: #3c5aa8; }
.char-beaver { border-bottom-color: #8a5a33; }
.char-turtle { border-bottom-color: var(--teal); }
.char-bunny { border-bottom-color: #f08bb5; }
.char-img {
  width: 128px;
  height: 128px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 138, 60, 0.3), 0 6px 14px rgba(74, 55, 40, 0.18);
}
.char-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
/* Center each character's face within the circle (full-body art crops to chest by default) */
.char-fox .char-img img      { object-position: 50% 10%; }
.char-hedgehog .char-img img { object-position: 50% 30%; }
.char-oak .char-img img      { object-position: 50% 44%; }
.char-star .char-img img     { object-position: 50% 18%; }
.char-beaver .char-img img   { object-position: 50% 12%; }
.char-turtle .char-img img   { object-position: 50% 6%; }
.char-bunny .char-img img    { object-position: 50% 50%; }
.char-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.char-card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- coloring ---------- */
.section-color { position: relative; }
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.color-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.color-card:hover { transform: translateY(-6px) rotate(0.6deg); box-shadow: 0 16px 36px rgba(74, 55, 40, 0.2); }
.color-preview {
  background: #fff;
  border: 3px dashed rgba(245, 138, 60, 0.5);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 14px;
}
.color-preview img { width: 100%; aspect-ratio: 794 / 1123; object-fit: cover; }
.color-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.color-desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.4; margin-bottom: 14px; }
.color-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.tip-box {
  margin-top: 44px;
  background: rgba(255, 212, 71, 0.28);
  border: 3px solid var(--sun);
  border-radius: var(--radius);
  padding: 20px 26px;
  font-size: 1.05rem;
  text-align: center;
}

/* ---------- benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.benefit-emoji {
  font-size: 2.4rem;
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(47, 164, 168, 0.25);
}
.benefit-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.benefit-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  font-size: 1.08rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fox);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; }
.faq-item p a { color: var(--teal-dark); font-weight: 700; }

/* ---------- footer ---------- */
.footer {
  margin-top: 30px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 60px 20px 40px;
  clip-path: ellipse(140% 100% at 50% 100%);
}
.footer-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.footer-cta-text { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.footer-note { margin-top: 30px; font-size: 0.95rem; opacity: 0.9; line-height: 1.6; }
.footer-note a { color: #fff; font-weight: 700; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-link:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 7px 0 rgba(0, 0, 0, 0.18); }
.social-link:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
.social-yt { color: #ff0000; }
.social-fb { color: #1877f2; }
.social-pin { color: #e60023; }

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-mascot, .hero-sun, .cloud, .new-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .brand { font-size: 1.05rem; gap: 8px; white-space: nowrap; }
  .brand-icon { width: 36px; height: 36px; font-size: 1.15rem; flex-shrink: 0; }
  .topnav .btn { font-size: 0.9rem; padding: 9px 14px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-mascot { max-width: 260px; order: -1; }
  .topnav > a:not(.btn) { display: none; }
}
