/* Custom Styles for Tree Monkeys */

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

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

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #cc3636;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a82222;
}

/* Selection color */
::selection {
    background: #f07171;
    color: white;
}

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

/* Form input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(204, 54, 54, 0.1);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image optimization */
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;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-burgundy-600 {
        background-color: ButtonText;
    }
    
    .text-burgundy-900 {
        color: ButtonText;
    }
}
