/*
Theme Name: Little Duckling Yukon
Theme URI: https://littleducklingyukon.ca
Author: Little Duckling Yukon
Description: Custom theme for Little Duckling Yukon Kids Market
Version: 2.0.6
*/

/* ============================================
   VARIABLES — Brand palette from logo
   Sage #8FAF8C  |  Cream #FDF6EC
   Orange #F5A623  |  Charcoal #3D3D3D
============================================ */
:root {
  --sage:          #8FAF8C;
  --sage-dark:     #5E7D5B;
  --sage-deep:     #3D5C3A;
  --sage-light:    #C4D9C2;
  --sage-pale:     #EDF4EC;

  --cream:         #FDF6EC;
  --cream-dark:    #F0E4CC;

  --orange:        #F5A623;
  --orange-dark:   #D4891A;
  --orange-glow:   rgba(245,166,35,.35);

  --charcoal:      #3D3D3D;
  --charcoal-light:#5A5A5A;

  --white:         #FFFFFF;
  --white-warm:    #FAFAF5;
  --daisy:         #FAFAF0;

  --gray-light:    #E8EDE8;
  --shadow-sage:   rgba(62, 92, 58, .12);

  --font:          'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:     0 1px 3px var(--shadow-sage), 0 1px 2px var(--shadow-sage);
  --shadow-md:     0 4px 12px var(--shadow-sage);
  --shadow-lg:     0 10px 24px var(--shadow-sage);
  --shadow-xl:     0 20px 40px rgba(62,92,58,.16);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     28px;
  --radius-full:   9999px;

  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --transition:    all 0.3s var(--ease);

  --max-w:         1200px;
  --px:            24px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================
   LAYOUT
============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
section { overflow: hidden; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--sage-deep);
  color: var(--white);
}
.btn-sage:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-cream {
  background: var(--cream);
  color: var(--sage-deep);
  border-color: var(--cream-dark);
}
.btn-cream:hover {
  background: var(--cream-dark);
  transform: translateY(-2px);
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--sage-light);
}

.section-header h2 { color: var(--sage-deep); margin-bottom: 16px; }
.section-header p  { color: var(--charcoal-light); font-size: 1.05rem; line-height: 1.75; }

/* ============================================
   DAISY DECORATIONS (SVG inline)
============================================ */
.daisy {
  display: inline-block;
  width: 36px;
  height: 36px;
  opacity: .55;
}

/* ============================================
   NAVBAR
============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.logo img {
  height: 44px;
  width: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  transition: var(--transition);
}

.site-header.scrolled .logo img {
  border-color: var(--sage-light);
  box-shadow: 0 2px 8px var(--shadow-sage);
}

.logo-fallback {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}
.logo-fallback span { color: var(--orange); }
.site-header.scrolled .logo-fallback { color: var(--sage-deep); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,.88);
  font-weight: 500;
  font-size: .92rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.site-header.scrolled .nav-links a { color: var(--charcoal-light); }
.site-header.scrolled .nav-links a:hover { color: var(--sage-deep); }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px var(--orange-glow);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.site-header.scrolled .mobile-toggle span { background: var(--sage-deep); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  background: linear-gradient(140deg, var(--sage-deep) 0%, var(--sage-dark) 55%, var(--sage) 100%);
  padding: 148px 0 90px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Subtle daisy pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253,246,236,.15);
  border: 1px solid rgba(253,246,236,.3);
  color: var(--cream);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: .04em;
}

.hero-content h1 { color: var(--white); margin-bottom: 22px; }
.hero-content h1 span { color: var(--orange); }

.hero-content p {
  color: rgba(253,246,236,.82);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 500px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: rgba(253,246,236,.65);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Duck illustration */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-duck-wrap {
  position: relative;
  width: 380px;
}

.hero-duck-wrap img {
  width: 100%;
  drop-shadow: 0 24px 48px rgba(0,0,0,.2);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.25));
  animation: duckFloat 4s ease-in-out infinite;
}

@keyframes duckFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-duck-bubble {
  position: absolute;
  bottom: 20px;
  right: -10px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  font-size: .85rem;
  min-width: 170px;
}
.hero-duck-bubble strong { display: block; color: var(--sage-deep); font-size: .95rem; margin-bottom: 2px; }
.hero-duck-bubble span  { color: var(--charcoal-light); }
.hero-duck-bubble .tag  {
  display: inline-block;
  margin-top: 8px;
  background: #E8F5E4;
  color: var(--sage-dark);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ============================================
   HOW IT WORKS
============================================ */
.how-it-works { padding: 100px 0; background: var(--cream); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--sage));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sage-light);
}

.step-icon { font-size: 2.8rem; margin-bottom: 10px; display: block; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--sage-pale);
  color: var(--sage-dark);
  border: 2px solid var(--sage-light);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  margin: 0 auto 18px;
}

.step-card h3 { color: var(--sage-deep); margin-bottom: 10px; }
.step-card p  { color: var(--charcoal-light); font-size: .92rem; line-height: 1.7; }

/* ============================================
   EVENTS
============================================ */
.events { padding: 100px 0; background: var(--white-warm); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.event-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  background: var(--white);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sage-light);
}

.event-image {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.event-card:nth-child(1) .event-image { background: linear-gradient(135deg, #C4D9C2, var(--sage)); }
.event-card:nth-child(2) .event-image { background: linear-gradient(135deg, var(--cream), var(--cream-dark)); }
.event-card:nth-child(3) .event-image { background: linear-gradient(135deg, #FDEBD0, #F5A623); }

.event-date-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  min-width: 52px;
}
.event-date-badge .month {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.event-date-badge .day {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1.1;
}

.event-body { padding: 22px; }
.event-body h3 { color: var(--sage-deep); margin-bottom: 8px; font-size: 1.05rem; }

.event-meta { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.event-meta span { display: flex; align-items: center; gap: 7px; color: var(--charcoal-light); font-size: .85rem; }

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-light);
}

.spots-badge {
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.spots-few  { background: #FFF3CD; color: #856404; }
.spots-open { background: #E8F5E4; color: var(--sage-dark); }
.spots-sold { background: #FEE2E2; color: #991B1B; }

.event-body .btn { font-size: .85rem; padding: 9px 20px; }

/* ============================================
   ABOUT
============================================ */
.about { padding: 100px 0; background: var(--sage-pale); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual { position: relative; }

.about-logo-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sage-light);
}

.about-logo-wrap img {
  max-width: 320px;
  width: 100%;
}

.about-logo-fallback {
  text-align: center;
  font-size: 6rem;
  line-height: 1;
}

.about-accent-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  min-width: 140px;
}
.about-accent-card span { display: block; font-size: 2rem; font-weight: 800; }

.about-content .section-badge { display: inline-block; }
.about-content h2 { color: var(--sage-deep); margin: 16px 0 18px; }
.about-content p {
  color: var(--charcoal-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0 36px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item h4 { font-size: .88rem; color: var(--sage-deep); margin-bottom: 3px; }
.value-item p  { font-size: .78rem; color: var(--charcoal-light); }

/* ============================================
   FAQ
============================================ */
.faq { padding: 100px 0; background: var(--cream); }

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.faq-item.active { border-color: var(--sage); box-shadow: var(--shadow-md); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  cursor: pointer;
  transition: var(--transition);
  gap: 14px;
}
.faq-question:hover { background: var(--sage-pale); }
.faq-item.active .faq-question { background: var(--sage-pale); }

.faq-question h4 {
  font-size: .97rem;
  font-weight: 600;
  color: var(--sage-deep);
  flex: 1;
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-icon {
  background: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 26px 22px;
  color: var(--charcoal-light);
  font-size: .94rem;
  line-height: 1.75;
}

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-deep) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(253,246,236,.75); font-size: 1.05rem; margin-bottom: 34px; }
.cta-buttons   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--sage-deep);
  color: rgba(253,246,236,.72);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1) opacity(.9);
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 22px;
}

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  transition: var(--transition);
  color: var(--white);
}
.social-link:hover { background: var(--orange); transform: translateY(-2px); }

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(253,246,236,.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  margin-bottom: 10px;
}
.contact-item span:first-child { font-size: .95rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .82rem;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p  { margin-inline: auto; }
  .hero-buttons    { justify-content: center; }
  .hero-stats      { justify-content: center; }
  .hero-visual     { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .about-accent-card { right: 10px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --px: 20px; }

  .mobile-toggle { display: flex; z-index: 10; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ease);
    opacity: 0;
    pointer-events: none;
  }
  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }

  .nav-links a {
    color: var(--charcoal-light) !important;
    padding: 15px var(--px);
    border-bottom: 1px solid var(--gray-light);
    width: 100%;
    display: block;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--sage-deep) !important; background: var(--sage-pale); }

  .nav-cta {
    margin: 14px var(--px);
    width: calc(100% - 40px);
    text-align: center;
    display: block !important;
    border-radius: var(--radius-full) !important;
  }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

  .events-grid { grid-template-columns: 1fr; }

  .about-values { grid-template-columns: 1fr; }

  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
