/* ─── Custom Styles ─── */

html {
  scroll-behavior: smooth;
}

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

/* ─── Scroll Animations ─── */
.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

  .scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Navbar ─── */
#navbar.scrolled {
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

/* ─── Mobile Menu ─── */
.mobile-link {
  display: block;
}

/* ─── Custom Select Arrow ─── */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B2D3B' stroke-width='2.5' 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 1rem center;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
}

/* ─── Subtle hover gradient on hero CTA ─── */
#hero a[href^="tel"] {
  position: relative;
  overflow: hidden;
}

#hero a[href^="tel"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── Image hover zoom ─── */
.rounded-2xl.overflow-hidden img,
.rounded-3xl.overflow-hidden img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rounded-2xl.overflow-hidden:hover img,
.rounded-3xl.overflow-hidden:hover img {
  transform: scale(1.03);
}

/* ─── Service card icon transition ─── */
.group:hover .group-hover\:text-white {
  transition: color 0.3s ease;
}

/* ─── Selection color ─── */
::selection {
  background: rgba(123, 45, 59, 0.15);
  color: #5c1f2b;
}
