/* ============================================================
   Tim Capps Fuel Oil Co. — Scroll Reveal Animations
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Stagger delays for grid items */
.reveal-1 { transition-delay: 0.05s; }
.reveal-2 { transition-delay: 0.15s; }
.reveal-3 { transition-delay: 0.25s; }
.reveal-4 { transition-delay: 0.35s; }
.reveal-5 { transition-delay: 0.45s; }
.reveal-6 { transition-delay: 0.55s; }

/* Pulse animation for phone CTA */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(182,10,44,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(182,10,44,0); }
  100% { box-shadow: 0 0 0 0 rgba(182,10,44,0); }
}

.btn-pulse {
  animation: pulse-ring 2.2s ease-out infinite;
}

/* Fade in hero content */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp 0.7s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.5s; }
.hero-content > *:nth-child(5) { animation-delay: 0.6s; }
