/* Custom styles that extend beyond Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f0;
}
::-webkit-scrollbar-thumb {
    background: #9dba7a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #729a4a;
}

/* Selection color */
::selection {
    background: #c6d9b0;
    color: #1f2d14;
}

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

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion for accessibility */
@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;
    }

    .gallery-item img {
        transform: none !important;
    }

    .service-card {
        transform: none !important;
    }

    .service-card:hover {
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .geo-circle, .geo-square, .geo-triangle, .geo-rect, .petal {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-gradient {
        background: #30481e !important;
    }
}
