/* Additional custom styles beyond Tailwind */

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu {
        display: none;
    }
    
    body {
        background: 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;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary, .terracotta-gradient {
        border: 2px solid ButtonText;
    }
}

/* Ensure text is readable on all backgrounds */
.bg-cream, .bg-white {
    color: #2d2a27;
}

.text-terracotta-600, .text-terracotta-700 {
    color: #cc4a13;
}

.text-warmGray-600, .text-warmGray-700 {
    color: #5c574f;
}

/* Mobile menu backdrop */
.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* Ensure mobile menu is above content */
.mobile-menu {
    position: fixed;
    z-index: 60;
}
