/* Custom styles for The Brasada Ranch */

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

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

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

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

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

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

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

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

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

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

/* Mobile menu transitions */
#mobileMenu {
    transition: transform 0.3s ease-in-out;
}

/* Form input focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 63, 0.1);
}

/* Button hover effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

/* Image loading placeholder */
img {
    background-color: #f6f6f7;
}

/* Print styles */
@media print {
    header,
    footer,
    #contactForm,
    .no-print {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-coral-500 {
        background-color: #e03e18;
    }
    
    .text-coral-600 {
        color: #e03e18;
    }
}

/* Landscape mode on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
        padding: 4rem 0;
    }
}
