/* Custom styles that complement Tailwind */

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

/* Ensure hero images don't cause layout shift */
.hero-grid img,
section img {
    will-change: transform;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Selection color */
::selection {
    background-color: #8fbf8f;
    color: #142814;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #5fa35f;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-overlay { display: none; }
    .hero-grid { min-height: auto; }
    body { color: #000; background: #fff; }
}

/* 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;
    }
    html { scroll-behavior: auto; }
    .fade-in-up, .fade-in-left, .fade-in-right {
        opacity: 1;
        transform: none;
    }
    .blob { animation: none; }
    .service-card:hover { transform: none; }
    .img-reveal::after { display: none; }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .hero-grid {
        min-height: auto;
    }
}

/* Large screen adjustments */
@media (min-width: 1280px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
