/* Custom styles for Rhonda's Elite Tax */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
  background: #1c3858;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #274a72;
}

/* Reveal animations - progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: none;
  }
}

/* Navbar scroll effect */
nav.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Floating card animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Pulse animation for hero badge */
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Ensure all text is readable */
@media (prefers-contrast: high) {
  .text-midnight-200 {
    color: #d4dfe8 !important;
  }
  .text-midnight-300 {
    color: #a8bcd4 !important;
  }
}

/* Print styles */
@media print {
  nav, #mobile-menu, .reveal {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
}
