/* Custom styles for Discard Services LLC */

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

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Navbar scroll effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

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

.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}

.mobile-link:last-child {
  border-bottom: none;
}

.mobile-link:hover {
  color: #0d9488;
}

/* Active nav link */
nav a.active {
  color: #0d9488;
}

/* Form focus styles */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Selection color */
::selection {
  background: #99f6e4;
  color: #134e4a;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Button hover micro-interaction */
button, a {
  transition: all 0.2s ease;
}

/* Image aspect ratio preservation */
img {
  max-width: 100%;
  height: auto;
}
