/* Custom styles that extend beyond Tailwind */

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

/* Selection color */
::selection {
    background-color: rgba(77, 128, 88, 0.3);
    color: #1e3525;
}

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

/* Subtle gradient border effect for cards */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #faf8f2, #f5f0e4);
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Shimmer effect for premium feel */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Image hover container */
.product-card .relative {
    will-change: transform;
}

/* 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;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
