/* Thrive Body — shared motion & card styles */

/* Scroll-reveal (only when JS is active and the user allows motion) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1),
                transform .7s cubic-bezier(.22,.61,.36,1);
  }
  html.js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Card depth + hover lift */
.thrive-card {
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  box-shadow: 0 2px 18px -12px rgba(58, 40, 32, .28);
}
.thrive-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px -26px rgba(58, 40, 32, .5);
}

/* Image zoom helper — zooms on its own hover, or with a parent .thrive-card */
.thrive-zoom { overflow: hidden; }
.thrive-zoom img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.thrive-zoom:hover img,
.thrive-card:hover .thrive-zoom img { transform: scale(1.05); }

/* CTA button lift */
a.bg-brown, a.bg-gold {
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
a.bg-brown:hover, a.bg-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(140, 115, 88, .6);
}

@media (prefers-reduced-motion: reduce) {
  .thrive-card, .thrive-card:hover,
  a.bg-brown:hover, a.bg-gold:hover { transform: none; }
}
