/* Custom styles beyond Tailwind */

/* Ensure smooth rendering */
img {
    -webkit-font-smoothing: antialiased;
}

/* Selection color */
::selection {
    background-color: rgba(56, 163, 85, 0.2);
    color: #113a1e;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #5ec576;
    outline-offset: 2px;
}

/* Subtle parallax-like effect for hero image */
@supports (background-attachment: fixed) {
    .hero-bg {
        background-attachment: fixed;
    }
}

/* Reduced motion preference */
@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;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    button,
    form {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
