/* Custom styles that complement Tailwind */

/* Base reset & smooth scrolling handled in HTML head */

/* Ensure all interactive elements have good touch targets on mobile */
@media (max-width: 767px) {
    nav a, nav button, footer a {
        min-height: 44px;
        min-width: 44px;
    }
}

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

/* Selection color */
::selection {
    background-color: #357035;
    color: #fdfcfa;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Prevent layout shift on images */
img {
    object-fit: cover;
}

/* Subtle pattern overlay for dark sections */
section.bg-forest-800::before,
section.bg-forest-900::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}
