/* Baker County Farmer's Market — Custom Styles */

/* Base reset and typography refinements */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #f2fbf7;
}

/* Selection color */
::selection {
    background-color: #3aad6a;
    color: white;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #3aad6a;
    outline-offset: 2px;
}

/* Smooth image loading */
img {
    display: block;
    max-width: 100%;
}

/* Prevent overscroll bounce on iOS */
html, body {
    overscroll-behavior: none;
}

/* Subtle page transition */
@media (prefers-reduced-motion: no-preference) {
    body {
        animation: fadeInPage 0.5s ease forwards;
    }
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ensure all interactive elements are keyboard accessible */
a:focus, button:focus {
    outline: none;
}

/* Print styles */
@media print {
    .hero-gradient, .float-shape, .pulse-dot {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
