/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #fbbf24;
  color: #3b0764;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}
.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #581c87;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  border: 2px solid #d8b4fe;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #f3e8ff;
  border-color: #a855f7;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #7e22ce;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #c084fc;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn-outline:hover {
  background: #f3e8ff;
  border-color: #9333ea;
  transform: translateY(-2px);
}

/* ─── HERO BLOBS ─── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: #e9d5ff;
  top: -100px;
  left: -100px;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: #fde68a;
  bottom: -50px;
  right: 10%;
}
.blob-3 {
  width: 250px;
  height: 250px;
  background: #d8b4fe;
  top: 40%;
  right: -50px;
}

/* ─── FLOATING CARDS ─── */
.floating-card {
  animation: float 4s ease-in-out infinite;
}
.card-float-1 { animation-delay: 0s; }
.card-float-2 { animation-delay: 1.3s; }
.card-float-3 { animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ─── SERVICE CARDS ─── */
.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 33, 168, 0.12);
}

/* ─── GALLERY ─── */
.gallery-item {
  aspect-ratio: auto;
  overflow: hidden;
}
.gallery-item:nth-child(1),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5) {
  aspect-ratio: 4/5;
}
.gallery-item:nth-child(2),
.gallery-item:nth-child(4),
.gallery-item:nth-child(6) {
  aspect-ratio: 1;
}

/* ─── FAQ ─── */
.faq-item {
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 4px 20px rgba(107, 33, 168, 0.08);
}
.faq-btn:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: -2px;
  border-radius: 0.5rem;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content.open {
  max-height: 300px;
}

/* ─── SCROLL REVEAL (below fold only) ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}

/* ─── MOBILE MENU ─── */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ─── NAV SCROLL STATE ─── */
#site-header.scrolled {
  background: rgba(250, 245, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(107, 33, 168, 0.08);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 200px; height: 200px; }
  .blob-3 { display: none; }
  .floating-card.card-float-3 { display: none; }
}
