/* Additional custom styles */

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

/* Custom focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(224, 84, 24, 0.1);
}

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

/* Print styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    .bg-cream, .bg-white {
        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;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .text-terracotta-500 {
        color: #c74110;
    }
    
    .bg-terracotta-500 {
        background-color: #c74110;
    }
}

/* Ensure all text meets WCAG AA contrast ratios */
.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-gray-900 {
    color: #111827;
}

/* Ensure buttons have sufficient contrast */
.btn-primary {
    background-color: #e05418;
    color: #ffffff;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #c74110;
}

/* Card shadows */
.card-hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Ensure proper spacing on mobile */
@media (max-width: 768px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
