/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #6B2D5B 0%, #9B2D6A 30%, #C44489 60%, #E86BB0 80%, #F5A623 100%);
  min-height: 100vh;
}

/* Decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #F5A623;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #E86BB0;
  bottom: 10%;
  right: -50px;
  animation-delay: -3s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: #FFD96E;
  top: 40%;
  left: 15%;
  animation-delay: -5s;
}

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

/* Navbar scrolled state */
.nav-scrolled {
  background: rgba(253, 242, 250, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(107, 45, 91, 0.08);
}

.nav-scrolled .nav-link {
  color: #6B2D5B;
}

.nav-scrolled .font-display,
.nav-scrolled .text-plum-800 {
  color: #4A1D3E;
}

/* Service cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F5A623, #E86BB0);
  border-radius: 4px 4px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Testimonial cards */
.testimonial-card {
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(245, 166, 35, 0.1);
  pointer-events: none;
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Staggered children */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* Mobile menu */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#mobileMenu.open {
  max-height: 500px;
}

/* Back to top */
#backToTop {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop.hide {
  opacity: 0;
  pointer-events: none;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

/* Selection color */
::selection {
  background: rgba(245, 166, 35, 0.3);
  color: #4A1D3E;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FDF2FA;
}
::-webkit-scrollbar-thumb {
  background: #E86BB0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C44489;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-gradient {
    min-height: auto;
    padding: 120px 0 80px;
  }
}
