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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f0e0;
}
::-webkit-scrollbar-thumb {
  background: #3d7a40;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2d5f30;
}

/* Selection */
::selection {
  background: #3d7a40;
  color: #fdfcf7;
}

/* Scroll Reveal (progressive enhancement — content visible without JS) */
@media (prefers-reduced-motion: no-preference) {
  .about-reveal,
  .product-reveal,
  .value-reveal,
  .visit-reveal,
  .cta-reveal,
  .contact-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .about-reveal { transform: translateY(30px); }
  .product-reveal { transform: translateY(40px); }
  .value-reveal { transform: translateY(20px); }
  .visit-reveal { transform: translateY(30px); }
  .cta-reveal { transform: translateY(25px); }
  .contact-reveal { transform: translateY(25px); }

  .about-reveal.revealed,
  .product-reveal.revealed,
  .value-reveal.revealed,
  .visit-reveal.revealed,
  .cta-reveal.revealed,
  .contact-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar active state */
nav a.active {
  color: #3d7a40;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #3d7a40;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Print styles */
@media print {
  nav, #contact-form, .animate-bounce { display: none; }
  body { color: #000; background: #fff; }
}
