/* Custom styles beyond Tailwind */

/* Ensure smooth rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #2D5A3D;
    color: white;
}

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

/* Image loading placeholder */
img {
    background-color: #dce8df;
}

/* Subtle pattern for cream sections */
.bg-cream-50::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(45, 90, 61, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

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

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .leaf-float,
    .leaf-float-delay {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    nav, .hero-gradient, #mobile-menu, button {
        display: none !important;
    }

    body {
        color: #1f3d29;
        background: white;
    }

    a {
        color: #2D5A3D;
    }
}
