/* Scroll reveal animations */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Service card hover effects */
.service-card {
  perspective: 1000px;
}

.service-card > div {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover > div {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(194, 112, 78, 0.12);
}

/* Navbar transition */
#navbar.scrolled {
  background: rgba(253, 249, 244, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF0E4;
}
::-webkit-scrollbar-thumb {
  background: #D89460;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C2704E;
}

/* Hero badge animation */
.hero-badge {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu animations */
#mobile-menu.open {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hamburger animation */
.menu-line:last-child {
  transition: width 0.3s ease, margin 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu-btn.active .menu-line:nth-child(3) {
  width: 24px;
  margin: 0;
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Testimonial card hover */
.bg-white\/10:hover {
  transform: translateY(-4px);
}
