/* Custom styles — overrides and additions beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #551d61;
}

/* Navbar scroll effect */
header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
}

/* Service card hover glow */
.group:hover .group-hover\:bg-amber-200 {
  background-color: #ffefaa;
}

/* Selection color */
::selection {
  background: #F5C518;
  color: #7B2D8E;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5eef8;
}
::-webkit-scrollbar-thumb {
  background: #d4b7e0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b889cc;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-menu.open {
  max-height: 400px;
}

/* Input focus ring */
input:focus, select:focus, textarea:focus {
  outline: none;
}
