
/* FONTS FIRST */
/* Shannon Regular */
@font-face {
  font-family: 'Shannon';
  src: url('fonts/Shannon-Regular.woff2') format('woff2'),
       url('fonts/Shannon-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Song Squiggle Regular */
@font-face {
  font-family: 'SongSquiggle';
  src: url('fonts/SongSquiggle-Regular.woff2') format('woff2'),
       url('fonts/SongSquiggle-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}



body {
  font-family: 'Shannon', Arial, sans-serif;
  background:
    radial-gradient(circle at center,
      #ffe3f4 0%,
      #ffb3dd 35%,
      #f83288 65%,
      #8a9ce0 100%);
  background-attachment: fixed;
  color: #2b2140;
}

/* Sparkle layer: fixed behind content, above background */
#sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Ensure main content floats above sparkles */
.site-header,
.main-nav,
.welcome-section,
.section,
footer {
  position: relative;
  z-index: 2;
}

/* SECTION CONTROLS (Expand All buttons) */
.section-controls {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

/* Make the Expand button a real button but visually match your .button-link */
.expand-all-btn {
  border: none;
  cursor: pointer;
}

/


/* HEADER */
.site-header {
  text-align: center;
  padding: 20px 10px 10px;
}

.seo-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.header-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* MAIN NAV: CIRCLES, ICON ABOVE TEXT */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px auto 40px;
  flex-wrap: wrap;
}

.main-nav a {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #ffe3f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f83288;
  font-weight: bold;
  font-size: 0.9rem;
  box-shadow: 0 6px 0 rgba(57, 89, 172, 0.7);
  text-align: center;
}

.main-nav a span {
  margin-top: 4px;
}

.main-nav a:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(57, 89, 172, 0.7);
}

.nav-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

/* WELCOME SECTION */
.welcome-section {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 20px;
  min-height: calc(100vh - 260px);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(57, 89, 172, 0.25);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-image: url('images2/welcome.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 243, 252, 0.2), rgba(248, 50, 136, 0.35));
  pointer-events: none;
}

.welcome-overlay {
  position: relative;
  max-width: 420px;
  padding: 18px 20px;
  margin-bottom: 10px;
  margin-left: 12px;
  border-radius: 20px;
  background: rgba(255, 243, 252, 0.75);
  box-shadow: 0 6px 16px rgba(57, 89, 172, 0.4);
  text-align: center;
}

.welcome-overlay h1 {
  font-family: 'SongSquiggle', cursive;
  font-size: 2.4rem;
  margin-bottom: 8px;
  color: #f83288;
}

.welcome-overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

/* SECTIONS */
.section {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 20px;
  background: rgba(255, 243, 252, 0.82);
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(57, 89, 172, 0.25);
}

.section h2 {
  margin-bottom: 20px;
  text-align: center;
  font-family: 'SongSquiggle', cursive;
  font-size: 2rem;
  color: #f83288;
}

.under-construction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  gap: 16px;
}

.under-construction img {
  max-width: 220px;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}

.under-construction p {
  font-size: 0.95rem;
  color: #3959ac;
}

/* REVEAL / LAZY APPEAR */
.reveal-section {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hidden-section {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-section:not(.hidden-section) {
  opacity: 1;
  transform: translateY(0);
}

/* COMIC + OTHER GALLERIES */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.comic-item,
.art-item {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(57, 89, 172, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comic-main,
.art-main {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.comic-main:hover,
.art-main:hover {
  transform: scale(1.02);
}

/* Titles */
.item-title {
  margin-top: 6px;
  text-align: center;
  font-family: 'Shannon', cursive;
  font-size: 1.1rem;
  color: #3959ac;
}

.comic-extra,
.art-extra {
  display: none;
  margin-top: 6px;
  flex-direction: column;
  gap: 8px;
}

.comic-item.expanded .comic-extra,
.art-item.expanded .art-extra {
  display: flex;
}

.comic-extra img,
.art-extra img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.comic-description,
.art-description,
.about-description {
  border: 2px dashed #f83288;
  border-radius: 14px;
  padding: 10px;
  background: #fffbfe;
  font-size: 0.9rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

/* SUBHEADINGS */
.subheading {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #3959ac;
}

/* SPLIT SECTION (PRINTING + ABOUT) */
.split-section {
  display: flex;
  gap: 20px;
  align-items: center;
}

.split-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(57, 89, 172, 0.25);
}

.split-text {
  flex: 1;
  min-width: 0;   /* important so text can shrink on mobile */
}

.split-text p {
  margin-bottom: 10px;
}

/* EVENT BADGES */
.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.event-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffb3dd, #f83288);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 3px 0 rgba(57, 89, 172, 0.7);
}

/* MARQUEE â€“ self-contained, won't stretch the card */
.marquee {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #f83288;
  padding: 6px 0;
  margin-top: 5px;
}

.marquee-inner {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee-scroll 18s linear infinite;
}

.marquee-inner span {
  font-size: 0.9rem;
  color: #3959ac;
}

@keyframes marquee-scroll {
  0% {
    transform: translate(100%, -50%);
  }
  100% {
    transform: translate(-100%, -50%);
  }
}

/* BUTTONS */
.button-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: linear-gradient(145deg, #f83288, #3959ac);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 4px 0 rgba(57, 89, 172, 0.9);
  font-size: 0.95rem;
}

.button-link:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(57, 89, 172, 0.9);
}

.contact-button {
  margin-bottom: 10px;
}

/* LIGHTBOX */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
}

/* SPARKLES */
.sparkle {
  position: absolute;
  pointer-events: none;
  animation: sparkle-fall 2s ease-out forwards;
  font-size: 18px;
}

@keyframes sparkle-fall {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(60px);
  }
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px 10px 50px;
}

.footer-links {
  margin-bottom: 15px;
}

footer a img {
  width: 50px;
  margin: 0 10px;
  border-radius: 10%;
}

footer a {
  text-decoration: none;
  border-bottom: none;
}

#back-to-top {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, #ffb3dd, #f83288);
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 0 rgba(57, 89, 172, 0.9);
  margin-bottom: 8px;
}

#back-to-top:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(57, 89, 172, 0.9);
}

.visitor-counter {
  font-size: 0.85rem;
  color: #2b2140;
}

/* INLINE LINKS: only links inside paragraphs (so buttons are untouched) */
.about-description p a {
  color: #f83288;
  text-decoration: none;
  font-weight: bold;
}

.about-description p a:hover {
  text-decoration: underline;
}

/* RE-ASSERT BUTTON LOOK inside About (in case a global link rule is winning) */
.about-description a.button-link {
  color: #fff !important;
  text-decoration: none !important;
}


/* MOBILE RESPONSIVE */
@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .split-section {
    flex-direction: column;
    text-align: center;
  }

  .split-image img {
    max-width: 100%;
  }

  .event-badges {
    justify-content: center;
  }

  /* shrink nav circles + gap on mobile */
  .main-nav {
    justify-content: center;
    gap: 10px;
  }

  .main-nav a {
    width: 70px;
    height: 70px;
    font-size: 0.75rem;
  }

  .nav-icon-img {
    width: 24px;
    height: 24px;
  }
}

/* Footer social icon hover: gentle bump */
.footer-links a img {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-links a img:hover {
  transform: translateY(-3px) scale(1.05);
}

