/* Custom Styles for Con's Weed Control Service */

:root {
  --color-coral-500: #f97316;
  --color-coral-600: #ea580c;
  --color-coral-700: #c2410c;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #171717; /* neutral-900 */
  color: #e5e5e5; /* neutral-200 */
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* Navbar Scroll Effect */
#navbar.scrolled {
  background-color: rgba(23, 23, 23, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

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

::-webkit-scrollbar-thumb {
  background: #ea580c;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f97316;
}

/* Text Selection */
::selection {
  background-color: #ea580c;
  color: white;
}

/* Mobile Menu Transitions */
#mobile-menu {
  transition: opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

#mobile-menu:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

/* Button Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

/* Image Loading Placeholder */
img {
  background-color: #262626;
  min-height: 1em;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    transition: none;
  }
}
