/* Additional Custom Styles */

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

img[data-src] {
    opacity: 0;
}

/* Custom selection color */
::selection {
    background-color: #d4a373;
    color: white;
}

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

/* Print styles */
@media print {
    nav,
    #mobile-menu,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #1c1917;
        background: white;
    }
    
    .bg-sand-50,
    .bg-sand-100 {
        background: white !important;
    }
}

/* 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;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-bounce {
        animation: none !important;
    }
}

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

/* Tablet adjustments */
@media (max-width: 768px) {
    .lg\:col-span-2 {
        grid-column: span 2;
    }
}

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