/* Custom styles for Faith and Family Tree Farm */

/* Smooth focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #2bc084;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #a8b8cc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7c94b2;
}

/* Ensure hero content is always visible */
#top {
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f4f0 40%, #f8fafc 100%);
}

/* Reduce motion preference support for all animations */
@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;
    }
    
    .float-animation {
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, #form-success {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .service-card, .bg-midnight-50 {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

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

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-img-container {
        border-radius: 20px;
    }
}

/* Small phone adjustments */
@media (max-width: 360px) {
    .font-serif {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
}
