/* Red Bank Coffee Club — Custom Styles */

/* Base reset and typography enhancements */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Selection color for better UX */
::selection {
    background-color: #f9d0d0;
    color: #3a0a0a;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #931f1f;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    header, footer, .animate-on-scroll {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* 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;
    }
    
    .img-zoom {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card-lift {
        border: 2px solid currentColor;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .font-display {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
}

/* Small screen adjustments */
@media (max-width: 360px) {
    .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

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

/* Touch device optimizations */
@media (hover: none) {
    .card-lift:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(60, 10, 10, 0.08);
    }
    
    .img-zoom:hover {
        transform: none;
    }
}
