/* Custom styles for Parker & Mitchell HVAC */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Selection color */
::selection {
  background: #ff6b35;
  color: white;
}

/* Service cards - ensure consistent hover */
.service-card {
  position: relative;
}

/* Subtle entrance animations for below-fold content */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
}

/* Form select dropdown styling */
select option {
  background: #1a1a1a;
  color: #e5e5e5;
}

/* Navbar scroll state */
.navbar-scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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