/* Custom styles for Myers Farms */

html {
    scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafaf5;
}
::-webkit-scrollbar-thumb {
    background: #d4a574;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8864a;
}

/* Selection */
::selection {
    background: #f5d9a8;
    color: #6c3918;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #e55522;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Prevent layout shift on reveal */
.reveal {
    will-change: opacity, transform;
}

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

/* Map hover */
iframe:hover {
    filter: brightness(0.97);
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-4px);
}

/* Hero text glow */
h1 span {
    text-shadow: 0 2px 20px rgba(245, 217, 168, 0.3);
}
