/* --------------------
   BASIC RESET + BODY
----------------------- */

:root {
--font-heading: 'Baloo 2', cursive;
--font-body: 'Nunito', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at top, #ffe4f4 0%, #fdd0f0 40%, #f8b4e4 70%, #f7e6ff 100%);
  color: #2e114d;
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

/* Headings use the Baloo 2 display font */
h1, h2, h3, h4, h5, h6,
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7ac4, #c68fff);
  color: white;
  box-shadow: 0 0.4rem 0.8rem rgba(255, 122, 196, 0.4);
}

/* --------------------
   GLOBAL ELEMENTS
----------------------- */

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

main {
  padding-inline: 1.5rem;
  padding-bottom: 3rem;
}

/* --------------------
   SKIP LINK
----------------------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: #2e114d;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.5rem;
}

/* --------------------
   HEADER / NAV
----------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 230, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 150, 210, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand .logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff7ac4, #c68fff);
  color: white;
  box-shadow: 0 0.4rem 0.8rem rgba(255, 122, 196, 0.4);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.1s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* --------------------
   HERO SECTION
----------------------- */

.hero {
  max-width: 1200px;
  margin: 2rem auto 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #ffe2f4, #ffd3f0, #f8e1ff);
  box-shadow: 0 1.2rem 2.2rem rgba(210, 120, 210, 0.25);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #b04a9a;
  margin-bottom: 0.4rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  max-width: 26rem;
  margin-bottom: 1.5rem;
}

.hero-doodle {
  margin-top: 1.5rem;
  max-width: 13rem;
  background: #fff0fb;
  border-radius: 1.2rem;
  padding: 0.7rem 0.9rem;
  border: 1px dashed #ff7ac4;
  font-size: 0.8rem;
  transform: rotate(-2deg);
  box-shadow: 0 0.6rem 1.2rem rgba(225, 130, 200, 0.3);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-avatar {
  max-width: 260px;
  border-radius: 999px;
  border: 4px solid #ffffff;
  box-shadow: 0 1.2rem 2rem rgba(160, 80, 180, 0.35);
}

/* Little floating sparkles can be added with ::before/::after later if you want */

/* --------------------
   BUTTONS
----------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s;
}

.btn-primary {
  background: linear-gradient(90deg, #ff7ac4, #f497ff);
  color: #fff;
  box-shadow: 0 0.7rem 1.4rem rgba(255, 122, 196, 0.5);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.9rem 1.6rem rgba(255, 122, 196, 0.6);
}

.btn-secondary {
  background: #ffffff;
  color: #b02488;
  border: 1px solid #ffb6d4;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #ffe4f4;
}

/* Music button */

.btn-music {
  background: #ffffff;
  border: 1px solid #ffb6d4;
  color: #b02488;
  font-size: 0.85rem;
  padding-inline: 1rem;
}

.btn-music.is-playing {
  background: linear-gradient(90deg, #ff7ac4, #f497ff);
  color: #fff;
}

/* --------------------
   MUSIC CONTROLS
----------------------- */

.music-controls {
  max-width: 1200px;
  margin: 0.5rem auto 2rem;
  padding-inline: 1.5rem;
  display: flex;
  justify-content: center;
}

/* --------------------
   SECTIONS / HEADERS
----------------------- */

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: #7a4b8d;
}

/* --------------------
   SHOP SECTION
----------------------- */

.shop {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 245, 252, 0.9);
  box-shadow: 0 1rem 1.8rem rgba(200, 120, 200, 0.18);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #ffb6d4;
  background: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.08s;
}

.filter-btn.is-active {
  background: #ff7ac4;
  color: #fff;
  transform: translateY(-1px);
}

/* Project cards */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.project-card {
  background: #fff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0.8rem 1.4rem rgba(180, 90, 170, 0.18);
  display: flex;
  flex-direction: column;
}

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-title {
  font-size: 0.98rem;
}

.project-meta {
  font-size: 0.8rem;
  color: #7a4b8d;
}

/* --------------------
   MODAL
----------------------- */

.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(30, 0, 40, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}

.project-modal.is-visible {
  display: flex;
}

.project-modal-inner {
  background: #fff5fb;
  border-radius: 1.4rem;
  max-width: 520px;
  width: 100%;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 1.2rem 2rem rgba(80, 0, 60, 0.45);
  position: relative;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 0.8rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-title {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.modal-image {
  margin-bottom: 0.7rem;
  border-radius: 0.8rem;
}

.modal-description {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.modal-tags {
  font-size: 0.8rem;
  color: #7a4b8d;
  margin-bottom: 0.7rem;
}

.modal-link {
  font-size: 0.85rem;
  color: #b02488;
  text-decoration: underline;
}

/* --------------------
   ABOUT SECTION
----------------------- */

.about {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 245, 252, 0.95);
  box-shadow: 0 1rem 1.8rem rgba(180, 80, 160, 0.16);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 1.5rem;
  align-items: center;
}

.about-avatar-image {
  max-width: 200px;
  margin-inline: auto;
  border-radius: 999px;
  border: 4px solid #ffffff;
  box-shadow: 0 0.9rem 1.6rem rgba(150, 60, 160, 0.4);
}

.about-text p + p {
  margin-top: 0.7rem;
}

.about-stats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.85rem;
}

.about-stats li {
  background: #ffe2f4;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* --------------------
   ACCESSIBILITY / CONTACT
----------------------- */

.accessibility,
.contact {
  max-width: 1200px;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 248, 252, 0.95);
  box-shadow: 0 0.7rem 1.3rem rgba(160, 60, 160, 0.12);
}

.accessibility-content p + p {
  margin-top: 0.7rem;
}

.contact-content ul {
  padding-left: 1rem;
}

.contact-content li + li {
  margin-top: 0.5rem;
}

.contact-content a {
  text-decoration: underline;
  color: #b02488;
}

/* --------------------
   FOOTER
----------------------- */

.site-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #5d3a6f;
}

/* --------------------
   RESPONSIVE
----------------------- */

@media (max-width: 800px) {
  .nav-links {
    position: absolute;
    right: 1.5rem;
    top: 3.1rem;
    background: #ffe7f6;
    border-radius: 1rem;
    padding: 0.6rem 0.9rem;
    box-shadow: 0 0.7rem 1.5rem rgba(140, 50, 140, 0.35);
    flex-direction: column;
    gap: 0.4rem;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

/* --------------------
   HOVER / FOCUS EFFECTS
----------------------- */

.project-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
  border: 1px solid transparent;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 1.3rem 2.2rem rgba(180, 70, 170, 0.35);
  border-color: #ffb6d4;
}

.project-card:hover .project-image,
.project-card:focus-within .project-image {
  filter: brightness(1.05) saturate(1.05);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.3rem rgba(255, 122, 196, 0.45);
}

.filter-btn:hover,
.filter-btn:focus-visible {
  transform: translateY(-1px);
  background: #ffe4f6;
}

/* --------------------
   FLOATING SPARKLES OVERLAY
----------------------- */

/* --------------------
   FLOATING SPARKLES OVERLAY
----------------------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1; /* sits behind content but above background */
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0, transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 182, 212, 0.9) 0, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(200, 167, 255, 0.9) 0, transparent 55%);
  background-repeat: no-repeat;
  background-size: 260px 260px, 240px 240px, 220px 220px;
  opacity: 0.9; /* make it obvious for now */
  animation: sparkleFloat 14s ease-in-out infinite alternate;
}

@keyframes sparkleFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(24px, -20px, 0);
  }
  100% {
    transform: translate3d(-24px, 16px, 0);
  }
}

/* DOODLE STYLING */

/* Hero doodle */
.hero-avatar {
  max-width: 280px;
  transform: rotate(-2deg);
  filter: drop-shadow(0 0.8rem 1.4rem rgba(160, 60, 160, 0.4));
}

/* Pointing doodle (shop) */
.shop-doodle {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  transform: rotate(2deg);
  filter: drop-shadow(0 0.7rem 1.2rem rgba(160, 60, 160, 0.4));
  object-fit: contain;
}

/* Chibi doodle (about) */
.about-chibi {
  width: 180px;
  height: auto;
  display: block;
  margin: auto;
  filter: drop-shadow(0 0.6rem 1rem rgba(150, 80, 180, 0.4));
}

/* Mini corner sticker */
.corner-doodle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 110px;
  z-index: 999;
  transform: rotate(3deg);
  filter: drop-shadow(0 0.5rem 0.9rem rgba(120, 60, 160, 0.5));
  pointer-events: none;
}
.corner-doodle:hover {
  transform: rotate(0deg) scale(1.05);
  transition: transform 0.3s ease;
}

/* ================================
   PROJECT MODAL FIX — REQUIRED
================================= */

.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.project-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-inner {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: pop .3s ease;
}

@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.modal-image {
  max-width: 100%;
  border-radius: 12px;
  margin: 15px 0;
}

/* ===========================
   WEEKLY JOURNEY CAROUSEL
   =========================== */

.weekly-journey {
  padding: 60px 0;
}

.carousel-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 15px;
  scroll-behavior: smooth;
}

.carousel-track {
  display: inline-flex;
  gap: 20px;
  padding: 10px;
}

.week-card {
  min-width: 160px;
  height: 120px;
  background: #ffe4f4;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(255, 140, 200, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-family: 'Baloo 2', cursive;
  font-size: 1.3rem;
  color: #d4418e;
  padding: 10px;
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.week-card span {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: #444;
  margin-top: 5px;
}

.week-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(255, 120, 190, 0.3);
}
