/* ─── BASE ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #7D4B8F 0%, #6B3F6B 100%);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 63, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 63, 107, 0.4);
  background: linear-gradient(135deg, #965FA8 0%, #7D4B8F 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #6B3F6B;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 12px;
  border: 2px solid #D8BFE0;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #EDE0F0;
  border-color: #C49DD0;
  transform: translateY(-2px);
}

/* ─── BADGES ─── */
.badge-plum {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7D4B8F;
  background: #EDE0F0;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.badge-amber {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B07808;
  background: #FFE8B8;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

/* ─── INPUTS ─── */
.input-field {
  appearance: none;
  background: #fff;
  border: 1.5px solid #E8D8EC;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #3D2442;
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
}

.input-field::placeholder {
  color: #B09AB8;
}

.input-field:focus {
  border-color: #965FA8;
  box-shadow: 0 0 0 3px rgba(150, 95, 168, 0.12);
}

.input-field:hover:not(:focus) {
  border-color: #D8BFE0;
}

/* ─── NAV ─── */
#site-header {
  background: rgba(255, 249, 238, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 191, 224, 0.3);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(61, 36, 66, 0.06);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #F5B001, #D4940A);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ─── HERO BLOBS ─── */
.hero-blob {
  animation: blob-float 8s ease-in-out infinite;
}

.blob-2 {
  animation-delay: -3s;
  animation-duration: 10s;
}

.blob-3 {
  animation-delay: -5s;
  animation-duration: 12s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ─── FLOATING CARDS ─── */
.animate-float {
  animation: float-card 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-card 4s ease-in-out infinite;
  animation-delay: -1.5s;
}

.animate-float-delayed-2 {
  animation: float-card 5s ease-in-out infinite;
  animation-delay: -3s;
}

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

/* ─── SERVICE CARDS ─── */
.service-card {
  opacity: 1;
}

/* ─── GALLERY ─── */
.gallery-item {
  cursor: pointer;
}

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

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

/* ─── FAQ ─── */
.faq-item {
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(107, 63, 107, 0.08);
}

.faq-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

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

.faq-content.open {
  max-height: 300px;
}

/* ─── SCROLL REVEAL ─── */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-blob,
  .animate-float,
  .animate-float-delayed,
  .animate-float-delayed-2 {
    animation: none;
  }

  .gallery-item img {
    transition: none;
  }

  .scroll-reveal {
    transition: none;
  }
}

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

.mobile-link {
  transition: color 0.2s ease;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .font-display {
    line-height: 1.1;
  }

  #site-header {
    background: rgba(255, 249, 238, 0.95);
  }
}
