/* ===================================
   The Greeting Fairy — Stylesheet
   Bashify-inspired: bold pastels, decorative shapes,
   circular images, colorful section backgrounds
   =================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-cream: #f5f0e8;
  --color-pink: #f2a7bb;
  --color-pink-bold: #f48fb1;
  --color-pink-light: #fce4ec;
  --color-pink-soft: #fff0f3;
  --color-pink-section: #fdd7e4;
  --color-coral: #ea6376;
  --color-lavender: #e8daf5;
  --color-lavender-bold: #d4b8f0;
  --color-lavender-section: #ece0f5;
  --color-sage: #d4e4cb;
  --color-sage-bold: #a8d5a2;
  --color-sage-section: #dcefd6;
  --color-yellow: #fde8a0;
  --color-yellow-bold: #fdd835;
  --color-yellow-section: #fef3c7;
  --color-peach: #fce0cc;
  --color-peach-section: #fdebd5;
  --color-white: #ffffff;
  --color-text: #2d2a26;
  --color-text-light: #6b6560;
  --color-text-muted: #9a928a;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --section-padding: 100px 0;
  --container-width: 1200px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 50px;
  --radius-circle: 50%;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

em {
  font-style: italic;
  color: var(--color-coral);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--color-coral);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(234, 99, 118, 0.25);
}

.btn-primary:hover {
  background: #d4556a;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(234, 99, 118, 0.35);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-text);
  border: 2px solid var(--color-text);
}

.btn-secondary:hover {
  background: var(--color-text);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 12px;
}

.section-desc {
  color: var(--color-text-light);
  font-size: 17px;
  margin-top: 16px;
}

/* --- Decorative Elements (Bashify-style) --- */
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.decor-star, .decor-sparkle-s1, .decor-sparkle-s2,
.decor-sparkle-o1, .decor-sparkle-o2,
.decor-sparkle-g1, .decor-sparkle-g2,
.decor-sparkle-t1, .decor-sparkle-t2,
.decor-sparkle-a1, .decor-sparkle-c1, .decor-sparkle-c2 {
  fill: var(--color-yellow-bold);
}

.decor-flower, .decor-flower-s1,
.decor-flower-o1, .decor-flower-g1,
.decor-flower-t1, .decor-flower-a1, .decor-flower-c1 {
  fill: var(--color-pink-bold);
  opacity: 0.4;
}

.decor-balloon {
  fill: var(--color-lavender-bold);
  opacity: 0.5;
}

/* Hero decorations */
.hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-star-1 { top: 8%; left: 5%; animation-delay: 0s; }
.decor-star-2 { top: 15%; right: 3%; animation-delay: 1.5s; }
.decor-star-3 { bottom: 35%; left: 2%; animation-delay: 3s; }
.decor-flower-1 { top: 5%; right: 42%; animation-delay: 0.5s; }
.decor-flower-2 { bottom: 40%; right: 3%; animation-delay: 2s; }
.decor-balloon-1 { top: 30%; left: 1%; animation-delay: 1s; }
.decor-balloon-2 { top: 10%; left: 42%; animation-delay: 4s; }

/* Services decorations */
.services-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-s1 { top: 8%; right: 6%; animation-delay: 0.5s; }
.decor-sparkle-s2 { bottom: 12%; left: 4%; animation-delay: 2.5s; }
.decor-flower-s1 { top: 15%; left: 8%; animation-delay: 1.5s; fill: var(--color-sage-bold); opacity: 0.35; }

/* Occasions decorations */
.occasions-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-o1 { top: 15%; left: 6%; animation-delay: 0s; fill: var(--color-white); opacity: 0.5; }
.decor-sparkle-o2 { bottom: 20%; right: 8%; animation-delay: 2s; fill: var(--color-white); opacity: 0.4; }
.decor-flower-o1 { top: 10%; right: 10%; animation-delay: 1s; fill: var(--color-white); opacity: 0.3; }

/* Gallery decorations */
.gallery-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-g1 { top: 6%; right: 5%; animation-delay: 1s; }
.decor-flower-g1 { bottom: 8%; left: 4%; animation-delay: 0.5s; fill: var(--color-lavender-bold); opacity: 0.35; }
.decor-sparkle-g2 { top: 40%; left: 2%; animation-delay: 3s; }

/* Testimonials decorations */
.testimonials-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-t1 { top: 10%; left: 5%; animation-delay: 0.5s; }
.decor-sparkle-t2 { bottom: 15%; right: 4%; animation-delay: 2s; }
.decor-flower-t1 { top: 8%; right: 8%; animation-delay: 1.5s; fill: var(--color-yellow-bold); opacity: 0.3; }

/* About decorations */
.about-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-a1 { top: 12%; right: 6%; animation-delay: 1s; }
.decor-flower-a1 { bottom: 10%; left: 5%; animation-delay: 0s; fill: var(--color-sage-bold); opacity: 0.3; }

/* Contact decorations */
.contact-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.decor-sparkle-c1 { top: 8%; left: 4%; animation-delay: 0.5s; }
.decor-sparkle-c2 { bottom: 18%; right: 6%; animation-delay: 2.5s; }
.decor-flower-c1 { top: 12%; right: 10%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(5deg); }
  66% { transform: translateY(4px) rotate(-3deg); }
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.nav-logo {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-logo-img {
  height: 90px;
  width: auto;
  display: block;
}


.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--color-pink-soft);
  color: var(--color-coral);
}

.nav-cta {
  background: var(--color-coral) !important;
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: #d4556a !important;
  transform: translateY(-1px);
}

/* Hide mobile-only nav elements on desktop */
.nav-close-item {
  display: none;
}

.nav-link::after {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===================================
   HERO — Bold pink background like Bashify
   =================================== */
.hero {
  position: relative;
  background: var(--color-pink-section);
  padding-top: 72px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
}

.hero-tagline {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Decorative offset blob behind hero image */
.hero-image::before {
  content: '';
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  background: var(--color-coral);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: -1;
}

/* Wavy bottom edge */
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

/* ===================================
   SERVICES — Cream bg, circular images
   =================================== */
.services {
  padding: var(--section-padding);
  background: var(--color-cream);
  position: relative;
}

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

.service-card {
  text-align: center;
  transition: all 0.4s ease;
  padding: 12px;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-img-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.service-img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-circle);
  overflow: hidden;
  border: 5px solid var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.service-card:hover .service-img {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: scale(1.05);
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

/* Service image variant: show full subject (no crop) — for items like the rattan chair.
   Match the circle bg to the photo's own white background so the square edge disappears.
   Keeps the same white border + shadow as every other service card. */
.service-card .service-img--contain {
  background: var(--color-white) !important;
}

.service-img--contain img {
  object-fit: contain;
  padding: 14px;
}

.service-card:hover .service-img--contain img {
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 1.25rem;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Colored background circles behind each service image */
.service-card:nth-child(1) .service-img { background: var(--color-pink-light); }
.service-card:nth-child(2) .service-img { background: var(--color-lavender); }
.service-card:nth-child(3) .service-img { background: var(--color-sage); }
.service-card:nth-child(4) .service-img { background: var(--color-yellow); }
.service-card:nth-child(5) .service-img { background: var(--color-peach); }
.service-card:nth-child(6) .service-img { background: var(--color-pink-light); }

/* ===================================
   OCCASIONS — Coral with wavy edges
   =================================== */
.occasions {
  padding: 80px 0;
  background: var(--color-coral);
  text-align: center;
  position: relative;
}

/* Wavy top edge */
.occasions::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.occasions h2 {
  color: var(--color-white);
  margin-bottom: 32px;
}

.occasions em {
  color: var(--color-yellow);
}

.occasion-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.occasion-tag {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.occasion-tag:hover {
  background: var(--color-white);
  color: var(--color-coral);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   PROCESS — Sage green background
   =================================== */
.process {
  padding: var(--section-padding);
  background: var(--color-sage-section);
  position: relative;
}

/* Wavy top edge — yard signs section sits above */
.process::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.process .section-header {
  margin-bottom: 50px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.process-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-circle);
  background: var(--color-coral);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===================================
   GALLERY — Yellow background
   =================================== */
.gallery {
  padding: var(--section-padding);
  background: var(--color-yellow-section);
  position: relative;
}

/* Wavy top */
.gallery::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-sage-section);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

/* ===================================
   TESTIMONIALS — Lavender background
   =================================== */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-lavender-section);
  position: relative;
}

/* Wavy top */
.testimonials::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-yellow-section);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

/* Review badge */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.review-badge svg {
  fill: var(--color-yellow-bold);
}

.review-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.5px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  color: var(--color-yellow-bold);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
}

.testimonial-source {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===================================
   ABOUT — Peach background
   =================================== */
.about {
  padding: var(--section-padding);
  background: var(--color-peach-section);
  position: relative;
}

/* Wavy top */
.about::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-lavender-section);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

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

.about-text .section-tag {
  text-align: left;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
}

.stat {
  text-align: center;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-coral);
}

.stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.about-image::before {
  content: '';
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  background: var(--color-coral);
  border-radius: var(--radius-xl);
  opacity: 0.15;
  z-index: -1;
}

/* ===================================
   CONTACT — Pink section
   =================================== */
.contact {
  padding: var(--section-padding);
  background: var(--color-pink-section);
  position: relative;
}

/* Wavy top — FAQ section sits above */
.contact::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  color: var(--color-coral);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-item a {
  font-weight: 500;
  color: var(--color-coral);
}

.contact-item a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-circle);
  background: var(--color-white);
  color: var(--color-text);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  background: var(--color-coral);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  background: var(--color-pink-soft);
  color: var(--color-text);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-coral);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(234, 99, 118, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6560' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  position: relative;
}

/* Wavy top */
.footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-pink-section);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-lavender-bold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer li {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer a {
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   SERVICE CATEGORIES (sub-grouping)
   =================================== */
.service-category {
  margin-top: 48px;
}

.service-category:first-of-type {
  margin-top: 16px;
}

.category-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-coral);
  text-align: center;
  margin-bottom: 8px;
}

.category-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto 36px;
}

/* Reset nth-child colors per category since they're now nested in .service-category */
.service-category .service-card:nth-child(1) .service-img { background: var(--color-pink-light); }
.service-category .service-card:nth-child(2) .service-img { background: var(--color-lavender); }
.service-category .service-card:nth-child(3) .service-img { background: var(--color-sage); }
.service-category .service-card:nth-child(4) .service-img { background: var(--color-yellow); }
.service-category .service-card:nth-child(5) .service-img { background: var(--color-peach); }
.service-category .service-card:nth-child(6) .service-img { background: var(--color-pink-light); }
.service-category .service-card:nth-child(7) .service-img { background: var(--color-lavender); }
.service-category .service-card:nth-child(8) .service-img { background: var(--color-sage); }

/* ===================================
   YARD SIGNS — Cream/white section
   =================================== */
.yard-signs {
  padding: var(--section-padding);
  background: var(--color-cream);
  position: relative;
}

/* Wavy top — sits below coral occasions */
.yard-signs::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-coral);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.yard-signs-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decor-sparkle-y1 { top: 12%; right: 8%; animation-delay: 0s; fill: var(--color-coral); opacity: 0.4; }
.decor-sparkle-y2 { bottom: 18%; left: 6%; animation-delay: 1.5s; fill: var(--color-pink-bold); opacity: 0.45; }
.decor-flower-y1 { bottom: 10%; right: 6%; animation-delay: 0.8s; fill: var(--color-sage-bold); opacity: 0.35; }
.decor-star-y1 { top: 18%; left: 10%; animation-delay: 2s; fill: var(--color-yellow-bold); opacity: 0.55; }

.yard-signs-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.yard-signs-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 150px);
  gap: 12px;
}

.yard-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: var(--color-pink-light);
}

.yard-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.yard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Collage layout:
   [ main  main  a   ]
   [ main  main  b   ]
   [ c     d     d   ]  */
.yard-img-main {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.yard-img-a { grid-column: 3; grid-row: 1; }
.yard-img-b { grid-column: 3; grid-row: 2; }
.yard-img-c { grid-column: 1; grid-row: 3; }
.yard-img-d { grid-column: 2 / span 2; grid-row: 3; }

.yard-signs-content .section-tag {
  text-align: left;
}

.yard-signs-content h2 {
  margin-bottom: 20px;
}

.yard-signs-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 16px;
}

.yard-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.yard-feature-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-text);
  font-weight: 500;
}

.yard-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: var(--radius-circle);
  background: var(--color-pink-bold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===================================
   FAQ — Cream background, accordion
   =================================== */
.faq {
  padding: var(--section-padding);
  background: var(--color-cream);
  position: relative;
}

/* Wavy top — sits below peach about */
.faq::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--color-peach-section);
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 2;
}

.faq-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decor-sparkle-f1 { top: 14%; left: 6%; animation-delay: 0.4s; fill: var(--color-coral); opacity: 0.35; }
.decor-sparkle-f2 { bottom: 22%; right: 7%; animation-delay: 1.8s; fill: var(--color-lavender-bold); opacity: 0.45; }
.decor-flower-f1 { bottom: 8%; left: 5%; animation-delay: 1.2s; fill: var(--color-pink-bold); opacity: 0.3; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-coral);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-pink-soft);
  color: var(--color-coral);
  border-radius: var(--radius-circle);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  background: var(--color-coral);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}

.faq-answer p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 80px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-image::before {
    top: -12px;
    right: -12px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .about-content,
  .yard-signs-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text,
  .yard-signs-content {
    text-align: center;
  }

  .yard-signs-content .section-tag {
    text-align: center;
  }

  .yard-feature-list {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .yard-signs-images {
    max-width: 640px;
    margin: 0 auto;
    grid-template-rows: repeat(3, 130px);
  }

  .about-text .section-tag {
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  /* Smaller wavy edges on mobile */
  .hero::after,
  .occasions::before,
  .yard-signs::before,
  .process::before,
  .gallery::before,
  .testimonials::before,
  .about::before,
  .faq::before,
  .contact::before,
  .footer::before {
    height: 30px;
  }

  /* Hide decorations on small screens for cleanliness */
  .hero-decor, .services-decor, .occasions-decor,
  .yard-signs-decor, .gallery-decor, .testimonials-decor,
  .about-decor, .faq-decor, .contact-decor {
    display: none;
  }

  /* Mobile yard-signs: main image full-width up top, then 2x2 grid of 4 below */
  .yard-signs-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 140px 140px;
    max-width: 480px;
    margin: 0 auto;
    gap: 10px;
  }

  .yard-img-main {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .yard-img-a { grid-column: 1; grid-row: 2; }
  .yard-img-b { grid-column: 2; grid-row: 2; }
  .yard-img-c { grid-column: 1; grid-row: 3; }
  .yard-img-d { grid-column: 2; grid-row: 3; }

  .faq-question {
    font-size: 0.95rem;
    padding: 18px 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  /* Side drawer — appended to <body> via JS to escape navbar's
     backdrop-filter stacking context */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: #ffffff;
    z-index: 1001;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 28px 48px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Dim backdrop behind the drawer */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .nav-backdrop.active {
    display: block;
    opacity: 1;
  }

  /* Close button row at top of drawer */
  .nav-close-item {
    display: flex;
    width: 100%;
    border: none !important;
    justify-content: flex-end;
    margin-bottom: 12px;
  }

  .nav-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--color-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
  }

  .nav-menu-close:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  }

  .nav-menu li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
  }

  .nav-link {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 18px 4px;
    width: 100%;
    text-align: left;
    border-radius: 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link::after {
    display: block;
    content: '›';
    font-size: 20px;
    color: var(--color-text-muted);
    font-weight: 300;
  }

  .nav-link.nav-cta::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 32px;
    font-size: 16px !important;
    padding: 16px 32px !important;
    text-align: center !important;
    justify-content: center !important;
    width: 100% !important;
    border-radius: var(--radius-pill) !important;
    border-top: none !important;
  }

  .nav-menu li:has(.nav-cta) {
    border: none;
  }

  /* Keep toggle button above the drawer overlay so it's always tappable */
  .nav-toggle {
    position: relative;
    z-index: 1002;
  }

  /* Mobile Toggle Animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-image img {
    height: 360px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-img {
    width: 140px;
    height: 140px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

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

  .about-stats {
    gap: 16px;
  }

  .stat {
    padding: 16px 12px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-image img {
    height: 280px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 14px 28px;
    font-size: 14px;
  }

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

  .occasion-tags {
    gap: 8px;
  }

  .occasion-tag {
    padding: 10px 20px;
    font-size: 13px;
  }

  .about-stats {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===================================
   Balloon Color Visualizer
   =================================== */

.color-visualizer {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.visualizer-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.decor-sparkle-cv1 { top: 12%; left: 6%; opacity: 0.35; color: var(--color-lavender-bold); animation: floatA 7s ease-in-out infinite; }
.decor-sparkle-cv2 { bottom: 20%; right: 8%; opacity: 0.3; color: var(--color-coral); animation: floatB 9s ease-in-out infinite; }
.decor-flower-cv1  { top: 55%; left: 92%; opacity: 0.18; color: var(--color-pink-bold); animation: floatA 11s ease-in-out infinite; }

/* Single centered card */
.visualizer-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Garland preview */
.garland-preview-box {
  background: var(--color-bg-alt);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.garland-svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: grab;
  touch-action: none; /* prevents page-scroll while drag-rotating on touch */
  user-select: none;
}

.garland-svg.grabbing {
  cursor: grabbing;
}

/* "Drag to rotate" hint — bottom-center pill, fades out after first drag */
.garland-drag-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-coral);
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  opacity: 1;
  transition: opacity 0.45s ease, transform 0.45s ease;
  /* Soft attention-pulse until first interaction */
  animation: dragHintPulse 2.2s ease-in-out infinite;
}

.garland-drag-hint.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
  animation: none;
}

.drag-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 18px;
  color: var(--color-coral);
}

.drag-hint-icon svg {
  width: 100%;
  height: 100%;
  /* The icon nudges left and right to demonstrate the drag motion */
  animation: dragHintSwipe 1.8s ease-in-out infinite;
}

@keyframes dragHintSwipe {
  0%, 100% { transform: translateX(-3px); }
  50%      { transform: translateX(3px); }
}

@keyframes dragHintPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10); }
  50%      { box-shadow: 0 6px 22px rgba(234, 99, 118, 0.30); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .garland-drag-hint,
  .drag-hint-icon svg {
    animation: none;
  }
}

/* Selected chips strip */
.selected-palette {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.selected-palette-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.palette-count {
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 32px;
  align-items: center;
}

.empty-chips-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.selected-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--color-bg-alt);
  border-radius: 20px;
  padding: 3px 8px 3px 5px;
  font-size: 0.72rem;
  font-family: var(--font-body);
  color: var(--color-text-light);
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.07);
  animation: fadeInUp 0.2s ease;
}

.chip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.chip-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1;
  padding: 0 0 0 2px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.chip-remove:hover { color: var(--color-coral); }

/* Color picker area */
.color-picker {
  padding: 16px 20px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Filter tabs */
.color-filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.color-filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  background: #f0e8f8;
  border-color: var(--color-lavender-bold);
}

.filter-tab.active {
  background: var(--color-coral);
  border-color: var(--color-coral);
  color: #fff;
}

/* Compact swatch grid */
.color-swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  position: relative;
  outline: none;
  flex-shrink: 0;
}

.color-swatch:hover {
  transform: scale(1.22);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.color-swatch.selected {
  border-color: var(--color-coral);
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(232, 108, 88, 0.28);
  transform: scale(1.15);
}

/* Tooltip on hover */
.color-swatch::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 20, 40, 0.85);
  color: #fff;
  font-size: 0.68rem;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  font-family: var(--font-body);
  z-index: 10;
}

.color-swatch:hover::after { opacity: 1; }

/* Action buttons */
.visualizer-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-clear-palette {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color 0.15s;
}

.btn-clear-palette:hover { color: var(--color-coral); }

/* Mobile */
@media (max-width: 600px) {
  .visualizer-card {
    border-radius: 16px;
  }

  .color-swatch {
    width: 38px;
    height: 38px;
  }

  .visualizer-actions .btn {
    width: 100%;
    text-align: center;
  }
}
