/* ==========================================================================
   Parentalk Festival 2026 — "Feel the Fun in Fruitopia!"
   Picnic Basket Opening microsite
   ========================================================================== */

@font-face {
  font-family: 'Imaginice';
  src: url('font/Imaginice-Regular.woff2') format('woff2'),
       url('font/Imaginice-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Imaginice-Outline';
  src: url('font/Imaginice-Outline.woff2') format('woff2'),
       url('font/Imaginice-Outline.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --fp-green:       #34b76f;
  --fp-green-dark:  #038d59;
  --fp-cream:       #f8f8f8;
  --fp-orange:      #ff662e;
  --fp-pink:        #ff61b0;
  --fp-purple:      #6e5dc7;
  --fp-blue:        #00a1c8;
  --fp-ink:         #1c1c1c;

  --fp-font-display: 'Imaginice', 'Nerko One', system-ui, sans-serif;
  --fp-font-outline: 'Imaginice-Outline', 'Nerko One', system-ui, sans-serif;
  --fp-font-body:     'Plus Jakarta Sans', sans-serif;

  --fp-stroke: 2px;
}

/* -------------------------------------------------------------------- *
 * Reset / base
 * -------------------------------------------------------------------- */
#fruitopia *{ box-sizing:border-box; }
#fruitopia{
  font-family: var(--fp-font-body);
  color: var(--fp-ink);
  background: var(--fp-green);
  overflow-x: hidden;
  position: relative;
}
#fruitopia img{ max-width:100%; display:block; }
#fruitopia h1,#fruitopia h2,#fruitopia h4{
  font-family: var(--fp-font-display);
  margin: 0;
  letter-spacing: 1px;
  paint-order: stroke fill;
}
#fruitopia h3 {
  font-family: 'Nerko One', cursive;
  margin: 0;
  letter-spacing: 1px;
  paint-order: stroke fill;
}
#fruitopia .container{
  width: min(1100px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
#fruitopia .bubble-title{
  font-weight: 700;
  color: var(--fp-orange);
  -webkit-text-stroke: var(--fp-stroke) var(--fp-ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 rgba(0,0,0,.08);
  line-height: 1;
}

/* -------------------------------------------------------------------- *
 * Loader
 * -------------------------------------------------------------------- */
#fp-loader{
  position:fixed; inset:0; z-index:9999;
  background: var(--fp-green);
  display:flex; align-items:center; justify-content:center;
  flex-direction:column;
}
#fp-loader .loader-basket{ width:110px; position:relative; }
#fp-loader .loader-blueberry{
  width:28px; position:absolute; top:-30px; left:50%; margin-left:-14px;
}
#fp-loader .loader-text{
  margin-top: 1.25rem;
  font-family: var(--fp-font-display);
  color: var(--fp-cream);
  letter-spacing:.04em;
  font-size: 1rem;
}
#fp-loader.fp-loader--done{ pointer-events:none; }

/* -------------------------------------------------------------------- *
 * Generic section scaffolding
 * -------------------------------------------------------------------- */
#fruitopia section{
  position:relative;
  padding: 6rem 0;
  background-color: var(--fp-cream);
  background-image: url('Parentalk Festival Ticketing-14.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  z-index: 3;
}
#fruitopia section.fp-bg-green{ background-color: var(--fp-green); }
#fruitopia .fp-eyebrow{
  color: var(--fp-orange);
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:1.2rem;
  margin-bottom:1rem;
  display:block;
}
#fruitopia .fp-h2{
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--fp-ink);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  paint-order: stroke fill;
}
#fruitopia .fp-h2 .fp-accent{ color: var(--fp-orange); }
#fruitopia p{
  font-family: var(--fp-font-body) !important;
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------- *
 * About
 * -------------------------------------------------------------------- */
#fruitopia section#fruitopia-about {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 8rem 0;
  background-size: cover;
  background-position: center;
}
#fruitopia-about .fp-about-copy{
  max-width: 900px;
  margin: 0 auto;
  text-align:center;
  background: rgba(255, 248, 231, 0.95);
  padding: 4rem 3rem;
  border-radius: 40px;
  border: 4px solid var(--fp-ink);
  box-shadow: 12px 12px 0 var(--fp-ink);
}
#fruitopia-about .fp-about-copy p + p{ margin-top:1.5rem; }

/* -------------------------------------------------------------------- *
 * Activities / Lineup
 * -------------------------------------------------------------------- */
#fruitopia section#fruitopia-activities{ text-align:center; padding: 8rem 0; background-color: var(--fp-green); }
#fruitopia section#fruitopia-activities .fp-h2 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.1; }

/* Activity overview strip — quick fruit-icon cards summarizing what's
   on offer, ahead of the detailed photo grids below. Icon wiggles on
   hover (desktop) and on tap (script-2026.js [5], touch devices). */
.fp-activity-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.fp-activity-card{
  background: var(--fp-cream);
  border-radius: 20px;
  border: 3px solid var(--fp-ink);
  box-shadow: 5px 5px 0 rgba(0,0,0,.15);
  padding: 1.25rem 1.5rem;
  width: 150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.4rem;
  transition: transform .2s ease;
}
.fp-activity-card:hover{ transform: translateY(-4px); }
.fp-activity-icon{
  width: 52px;
  margin-bottom:.3rem;
}
.fp-activity-card:hover .fp-activity-icon{
  animation: fp-wiggle .5s ease;
}
@keyframes fp-wiggle{
  0%{ transform: rotate(0deg); }
  30%{ transform: rotate(-9deg); }
  60%{ transform: rotate(8deg); }
  80%{ transform: rotate(-5deg); }
  100%{ transform: rotate(0deg); }
}
.fp-activity-title{
  font-family: 'Nerko One', cursive;
  font-size: 1.15rem;
  color: var(--fp-ink);
  line-height:1.1;
}
.fp-activity-sub{
  font-family: var(--fp-font-body);
  font-size: .8rem;
  font-weight:600;
  color: #555;
  line-height:1.2;
}
@media (prefers-reduced-motion: reduce){
  .fp-activity-card:hover .fp-activity-icon{ animation: none; }
}

.fp-lineup-section {
  margin-bottom: 5rem;
}
.fp-lineup-section:last-child {
  margin-bottom: 0;
}
.fp-lineup-title {
  font-family: 'Nerko One', cursive;
  font-size: 3.5rem;
  color: var(--fp-cream);
  margin-bottom: 4rem;
  text-shadow: 4px 4px 0 var(--fp-ink);
  -webkit-text-stroke: 2px var(--fp-ink);
  letter-spacing: 2px;
}
.fp-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.fp-lineup-card {
  background: transparent;
  padding: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fp-lineup-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.15));
}
.fp-lineup-card:hover {
  transform: translateY(-15px) scale(1.05);
  z-index: 5;
  position: relative;
}
.fp-lineup-card:hover img {
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* -------------------------------------------------------------------- *
 * Nostalgia Section
 * -------------------------------------------------------------------- */
#fruitopia section#fruitopia-nostalgia {
  background-color: var(--fp-blue);
  padding: 8rem 0;
}
#fruitopia-nostalgia .fp-h2 {
  color: var(--fp-cream);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  text-shadow: 3px 3px 0 var(--fp-ink);
  -webkit-text-stroke: 1px var(--fp-ink);
  line-height: 1.2;
}
.fp-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.fp-video-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 0 rgba(0,0,0,.2);
  border: 3px solid var(--fp-ink);
  background: var(--fp-ink);
}
.fp-gallery-masonry {
  column-count: 3;
  column-gap: 1.5rem;
}
.fp-gallery-item {
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 0 rgba(0,0,0,.15);
  border: 3px solid var(--fp-cream);
  display: inline-block;
  transition: transform 0.3s ease;
}
.fp-gallery-item:hover {
  transform: scale(1.03) rotate(1deg);
  z-index: 10;
  position: relative;
}

/* -------------------------------------------------------------------- *
 * Ticketing
 * -------------------------------------------------------------------- */
#fruitopia section#fruitopia-ticketing{ background-color: var(--fp-green); text-align:center; padding: 8rem 0; }
#fruitopia section#fruitopia-ticketing .fp-h2 { font-size: clamp(3rem, 5vw, 4.5rem); margin-bottom: 1rem; color: var(--fp-cream); text-shadow: 3px 3px 0 var(--fp-ink); -webkit-text-stroke: 1px var(--fp-ink); }
#fruitopia section#fruitopia-ticketing p { color: var(--fp-cream); font-size: 1.4rem; max-width: 700px; margin: 0 auto 3rem; font-weight: 600; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
#fruitopia section#fruitopia-ticketing .fp-h2 .fp-accent{ color: var(--fp-pink); -webkit-text-stroke: 2px var(--fp-ink); }

.fp-ticket-cta{
  display:inline-block;
  margin-top: 2rem;
}
.fp-ticket-cta img{ width: min(320px, 60vw); transition: transform .2s ease; }
.fp-ticket-cta:hover img{ transform: translateY(-4px) scale(1.03); }

/* Sticky CTA */
.fp-ticket-cta-fixed {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: block;
  background: transparent;
  border: none;
  cursor: pointer;
  animation: fp-pulse 2s infinite;
  transition: transform 0.2s ease;
}
.fp-ticket-cta-fixed img {
  width: 140px;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
}
.fp-ticket-cta-fixed:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes fp-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .fp-ticket-cta-fixed{ animation: none; }
}

/* -------------------------------------------------------------------- *
 * FAQ — fruit label accordion
 * -------------------------------------------------------------------- */
#fruitopia-faq{ text-align:center; }
.fp-faq-list{
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align:left;
}
.fp-faq-item{
  background:#fff;
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow:hidden;
  box-shadow: 0 4px 0 rgba(0,0,0,.05);
}
.fp-faq-q{
  display:flex; align-items:center; gap:.75rem;
  width:100%; text-align:left;
  padding: 1.1rem 1.4rem;
  background:none; border:none; cursor:pointer;
  font-family: 'Dongle', sans-serif;
  font-weight:700;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--fp-ink);
}
.fp-faq-q .fp-faq-fruit{ width:28px; flex:none; }
.fp-faq-q .fp-faq-caret{ margin-left:auto; transition: transform .25s ease; }
.fp-faq-item.is-open .fp-faq-q .fp-faq-caret{ transform: rotate(180deg); }
.fp-faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .3s ease;
  padding: 0 1.4rem;
}
.fp-faq-item.is-open .fp-faq-a{ padding-bottom: 1.1rem; }
.fp-faq-a p{ font-family: var(--fp-font-body); font-size:1.15rem; margin:0; line-height: 1.7; }

/* -------------------------------------------------------------------- *
 * Footer
 * -------------------------------------------------------------------- */
#fruitopia footer#fruitopia-footer{
  position: relative;
  padding: 8rem 0 5rem; /* Better padding since there's no dark top */
  text-align:center;
  background-size: cover;
  background-position: bottom center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 80vh;
}

.fp-footer-partnership {
  background: rgba(255, 248, 231, 0.95);
  padding: 4rem 2rem;
  border-radius: 40px;
  border: 4px solid var(--fp-ink);
  box-shadow: 12px 12px 0 var(--fp-ink);
  max-width: 800px;
  margin: 0 auto 5rem; /* Space below */
}
.fp-footer-partnership .fp-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--fp-ink);
  margin-bottom: 2rem;
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.fp-footer-cta{
  position:relative; z-index:2;
  display:inline-block;
  background: var(--fp-pink);
  color: var(--fp-cream);
  -webkit-text-stroke: 2px var(--fp-ink);
  paint-order: stroke fill;
  font-family: var(--fp-font-display);
  font-weight:700;
  font-size: 2rem;
  padding: 1.2rem 3.5rem;
  border-radius: 999px;
  text-decoration:none;
  box-shadow: 0 8px 0 var(--fp-ink);
  transition: transform .2s ease, box-shadow .2s ease;
  letter-spacing: 2px;
}
.fp-footer-cta:hover{
  transform: translateY(4px);
  box-shadow: 0 4px 0 var(--fp-ink);
  background: var(--fp-orange);
}

/* Footer Bottom Bar */
.fp-footer-bottom {
  background: var(--fp-blue);
  padding: 1.5rem 3rem;
  border-radius: 30px;
  border: 4px solid var(--fp-ink);
  box-shadow: 10px 10px 0 var(--fp-ink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.fp-footer-social-text {
  color: var(--fp-cream);
  font-family: var(--fp-font-body);
  font-weight: 600;
  font-size: 1.1rem;
}
.fp-footer-social{
  list-style:none;
  display:flex;
  gap: 2.5rem;
  justify-content:center;
  margin: 0;
  padding:0;
}
.fp-footer-social a{
  color: var(--fp-cream);
  font-weight:700;
  text-decoration:none;
  font-family: var(--fp-font-display);
  letter-spacing: 1.5px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.fp-footer-social a svg {
  width: 28px; height: 28px;
}
.fp-footer-social a:hover{
  color: var(--fp-pink);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------- *
 * Utility
 * -------------------------------------------------------------------- */
#fruitopia .mob-only{ display:none !important; }
#fruitopia .desk-only{ display:block; }

/* -------------------------------------------------------------------- *
 * Responsive
 * -------------------------------------------------------------------- */

/* Mobile + tablet-portrait: swap the section texture for the
   portrait-cropped variant, and drop `fixed` attachment — it's
   unreliable and repaint-heavy on mobile Safari. */
@media (max-width: 1024px) and (orientation: portrait){
  #fruitopia section{
    background-image: url('Parentalk Festival Ticketing-22.png');
    background-attachment: fixed;
  }
}

@media (max-width: 991px){
  .fp-lineup-grid{ grid-template-columns: repeat(3, 1fr); }

  /* One social account per line instead of a cramped single row */
  .fp-footer-social{
    flex-direction: column;
    gap: 1rem;
  }

  .fp-faq-q{ font-size: 1.8rem; }
}

@media (max-width: 767px){
  #fruitopia .desk-only{ display:none !important; }
  #fruitopia .mob-only{ display:block !important; }

  .fp-activity-strip{ gap: .75rem; margin-bottom: 2.5rem; }
  .fp-activity-card{ width: 40%; padding: 1rem; }

  /* Flex instead of grid here: with an odd count (currently 3 photos
     per row), grid would leave the last card stuck in the left column —
     flex + centered wrap puts it centered on its own row instead. */
  .fp-lineup-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .fp-lineup-card{
    flex: 0 1 calc(50% - .75rem);
    max-width: calc(50% - .75rem);
  }
  .fp-lineup-section{ margin-bottom: 3rem; }
  .fp-lineup-title{ font-size: 2.5rem; margin-bottom: 2rem; }

  .fp-video-grid { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .fp-gallery-masonry { column-count: 2; }

  /* Tighter rhythm between sections on small screens — the sections
     below have their own higher-specificity padding rules upstream
     (id + element), so they need to be targeted directly here too,
     not just the generic `#fruitopia section`. */
  #fruitopia section{ padding: 2.75rem 0; }
  #fruitopia section#fruitopia-about { padding: 3rem 1rem; min-height: auto; }
  #fruitopia-about .fp-about-copy { padding: 2.5rem 1.5rem; border-radius: 24px; }
  #fruitopia section#fruitopia-activities,
  #fruitopia section#fruitopia-nostalgia,
  #fruitopia section#fruitopia-ticketing{ padding: 2.75rem 0; }

  /* FAQ question titles were sized for desktop's wide accordion —
     shrink so the fruit icon / text / caret row doesn't crowd on
     narrow screens. */
  .fp-faq-q{ font-size: 1.4rem; gap:.5rem; padding: .9rem 1rem; }
  .fp-faq-q .fp-faq-fruit{ width:22px; }
  .fp-faq-a p{ font-size: 1rem; }

  /* Smaller floating CTA so it doesn't dominate a small screen */
  .fp-ticket-cta-fixed{ bottom: 15px; right: 15px; }
  .fp-ticket-cta-fixed img{ width: 96px; }

  /* Clear space above the footer's bottom edge — roughly the fixed
     CTA's own footprint — so it never sits on top of the social links. */
  .fp-footer-bottom{ margin-bottom: 130px; }
  button, input[type="button"], input[type="reset"], input[type="submit"], .button{white-space:unset !important;}
}
