/* Custom styles for Joebella Coffee SLO Downtown */

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

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Custom focus styles */
input:focus, textarea:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.2);
}

/* Ensure proper font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 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 {
    .cta-glow {
        animation: none;
    }
    
    .gold-shimmer {
        animation: none;
        background: none;
        -webkit-text-fill-color: #fbbf24;
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .font-serif {
        line-height: 1.2;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-charcoal-800 {
        background-color: #000000 !important;
    }
    
    .border-charcoal-700 {
        border-color: #ffffff !important;
    }
}

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

/* Better touch targets on mobile */
@media (hover: none) and (pointer: coarse) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}
