/* Additional custom styles for Style Inn Shoes */

/* Smooth scroll padding for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: #ff6b35;
    color: #ffffff;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Image loading optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #backToTop, .reveal, .reveal-left, .reveal-right {
        display: none !important;
    }
    
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .bg-charcoal-950, .bg-charcoal-900 {
        background: #ffffff !important;
    }
    
    .text-white, .text-charcoal-100, .text-charcoal-200, .text-charcoal-300 {
        color: #000000 !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}

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

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Ensure all interactive elements are touch-friendly on mobile */
@media (hover: none) and (pointer: coarse) {
    .card-hover:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-charcoal:hover {
        transform: none;
    }
}
