/* Custom styles for The Lauren Younga Team website */

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

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(27, 4, 43, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card hover lift */
.service-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Testimonial card hover */
.testimonial-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* Floating animation for stat cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.floating-card-1 {
  animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
  animation: float 5s ease-in-out infinite 0.5s;
}

.floating-card-3 {
  animation: float 4.5s ease-in-out infinite 1s;
}

/* Fade-in animation for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

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

#mobile-menu.open {
  max-height: 400px;
}

/* Custom select dropdown arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Selection color */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #faf5ff;
}
