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

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

:root {
  --coral:   #FF6B6B;
  --yellow:  #FFD93D;
  --mint:    #6BCFB0;
  --sky:     #4ECDC4;
  --lavender:#C084FC;
  --navy:    #1E293B;
  --cream:   #FFFBF2;
  --text:    #374151;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: white;
  border-bottom: 3px solid var(--yellow);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo {
  font-size: 1.8rem; font-weight: 800; color: var(--coral);
  font-family: 'JasmineDeLune', cursive;
  text-decoration: none; padding: 1rem 0;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo span { color: var(--lavender); }
nav ul { list-style: none; display: flex; gap: 0; }
nav ul li a {
  display: block; padding: 1.1rem 1.1rem;
  text-decoration: none; font-weight: 600; color: var(--navy);
  font-size: 0.9rem; letter-spacing: 0.02em;
  transition: color 0.2s, background 0.2s;
}
nav ul li a:hover { color: var(--coral); background: #fff5f5; }
.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--navy);
  font-size: 1.6rem; line-height: 1;
}
@media (max-width: 640px) {
  nav { padding: 0 1.25rem; flex-wrap: wrap; }
  .nav-hamburger { display: block; }
  nav ul {
    display: none; width: 100%; flex-direction: column;
    border-top: 1px solid #f0f0f0;
  }
  nav ul.open { display: flex; }
  nav ul li a { padding: 0.9rem 0.25rem; border-bottom: 1px solid #f8f8f8; }
}

/* ── HERO ── */
#hero {
  background: linear-gradient(135deg, #FFF3B0 0%, #FFD6E0 40%, #C9F0FF 100%);
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
  position: relative; overflow: hidden;
}
.yarn-balls {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.yarn-ball {
  position: absolute; border-radius: 50%;
  opacity: 0.35;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(180deg); }
}

.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: var(--coral); color: white;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem;
  border-radius: 999px; margin-bottom: 1.5rem;
}
h1 {
  font-family: 'JasmineDeLune', cursive;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: normal; line-height: 1.15;
  color: var(--navy); margin-bottom: 1.25rem;
}
h1 em { font-style: normal; color: var(--coral); }
.hero-sub {
  font-size: 1.2rem; color: #555; line-height: 1.6;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block; padding: 0.9rem 2rem;
  border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary { background: var(--coral); color: white; }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 2.5px solid var(--navy);
}
.hero-btns {
  display: flex; gap: 0.75rem;
  justify-content: center; flex-wrap: wrap;
}
.needle-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ── SECTION COMMONS ── */
section { padding: 5rem 2rem; }
@media (max-width: 640px) { section { padding: 3rem 1.25rem; } }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem;
}
h2 {
  font-family: 'JasmineDeLune', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: normal; color: var(--navy); margin-bottom: 1rem;
}
.lead { font-size: 1.1rem; color: #666; line-height: 1.7; max-width: 580px; }

/* ── ABOUT ── */
#about { background: white; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lavender), var(--coral));
  display: flex; align-items: center; justify-content: center;
}
.about-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-bubble {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  background: var(--yellow); border-radius: 1.5rem;
  padding: 1rem 1.5rem; font-weight: 800;
  font-size: 1rem; color: var(--navy);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.about-bubble span { display: block; font-size: 2rem; font-weight: 900; }
.about-text .section-label { color: var(--mint); }
.fun-facts { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.fun-fact {
  display: flex; align-items: flex-start; gap: 1rem;
}
.fact-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.fact-text strong { display: block; font-weight: 700; color: var(--navy); }
.fact-text p { font-size: 0.9rem; color: #666; margin-top: 0.1rem; }
@media(max-width:768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 300px; margin: 0 auto; }
}

/* ── COURSES ── */
#courses { background: var(--cream); }
.courses-header { text-align: center; }
.courses-header .lead { margin: 0 auto; }
.courses-header .section-label { color: var(--coral); }
.courses-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.course-card {
  background: white; border-radius: 1.5rem;
  padding: 2rem; transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.course-emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.course-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 999px; margin-bottom: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.course-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.course-card p { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 1.25rem; }
.course-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; font-weight: 600; color: #999;
  border-top: 1px solid #f0f0f0; padding-top: 1rem; margin-top: auto;
}
.course-price { font-size: 1.1rem; font-weight: 800; color: var(--navy); }

/* ── TESTIMONIALS ── */
#testimonials { background: white; overflow: hidden; }
.testimonials-header .section-label { color: var(--sky); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.testimonial-card {
  border-radius: 1.5rem; padding: 1.75rem;
  position: relative;
}
.testimonial-card .quote-mark {
  font-size: 4rem; line-height: 1; color: white; opacity: 0.3;
  font-family: Georgia, serif; position: absolute; top: 0.5rem; left: 1rem;
}
.testimonial-card blockquote {
  font-size: 0.95rem; line-height: 1.7; color: white;
  font-style: italic; margin-bottom: 1.25rem; position: relative;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.author-avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; background: rgba(255,255,255,0.25);
}
.author-name { font-weight: 700; color: white; font-size: 0.9rem; }
.author-tag { font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.stars { color: var(--yellow); font-size: 0.85rem; margin-bottom: 0.5rem; }

/* gallery */
.gallery-header { margin-top: 4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.gallery-item {
  aspect-ratio: 1; border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
  background: #f0f0f0;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-item:hover { transform: scale(1.04); }

/* ── CONTACT ── */
#contact {
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
}
#contact h2 { color: white; }
#contact .section-label { color: var(--yellow); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start; margin-top: 3rem;
}
.contact-info p { color: rgba(255,255,255,0.75); line-height: 1.7; font-size: 1rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.85); margin-bottom: 1rem; font-size: 0.95rem;
}
.contact-detail-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.6rem;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  flex-shrink: 0;
}
.contact-form {
  background: white; border-radius: 1.5rem; padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 2px solid #e5e7eb; font-size: 0.95rem;
  font-family: inherit; color: var(--navy);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--coral); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 1rem;
  background: var(--coral); color: white;
  border: none; border-radius: 999px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: #e85555; transform: translateY(-1px); }
.form-success {
  display: none; text-align: center; padding: 2rem;
  color: var(--mint); font-size: 1.1rem; font-weight: 700;
}
.form-error {
  display: none; text-align: center; padding: 1rem;
  color: var(--coral); font-size: 0.95rem; font-weight: 600;
}
@media(max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer {
  background: #0f172a; color: rgba(255,255,255,0.5);
  text-align: center; padding: 2rem;
  font-size: 0.85rem;
}
footer strong { color: var(--coral); }
