/* Additional custom styles for Vinnie's Little Acre */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background-color: #3c5b27;
    color: #faf9f6;
}

/* Focus visible styles for accessibility */
:focus-visible {
    outline: 3px solid #3c5b27;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, 
    #contact,
    .btn-primary,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .font-display {
        color: #000 !important;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .feature-card {
        border: 1px solid currentColor;
    }
}

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

/* Landscape orientation on mobile */
@media (max-width: 640px) and (orientation: landscape) {
    .mobile-menu {
        max-height: 300px;
    }
}

/* Tablet adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
    .feature-card {
        padding: 2rem;
    }
}

/* Large screen optimizations */
@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .feature-card:hover {
        transform: none;
    }
    
    .btn-primary:hover::before {
        left: -100%;
    }
}

/* Dark mode support (if system prefers) */
@media (prefers-color-scheme: dark) {
    :root {
        --forest-50: #1a2e12;
        --forest-100: #243a1a;
        --cream-50: #1a1a1a;
        --cream-100: #2a2a2a;
    }
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Utility classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #3c5b27 0%, #527534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass morphism effect */
.glass {
    background: rgba(250, 249, 246, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Shadow utilities */
.shadow-forest {
    box-shadow: 0 10px 40px -10px rgba(60, 91, 39, 0.2);
}

.shadow-forest-lg {
    box-shadow: 0 20px 60px -15px rgba(60, 91, 39, 0.3);
}
