/* Custom styles that complement Tailwind */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b45309;
}

/* Selection color */
::selection {
    background: #fbbf24;
    color: #0f172a;
}

/* Focus styles */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[src] {
    animation: none;
    background: none;
}

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

/* Touch device optimization */
@media (hover: none) {
    .menu-card:hover {
        transform: none;
    }
    
    .menu-card:active {
        transform: translateY(-4px);
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    #mobile-overlay {
        display: none !important;
    }
    
    .hero-overlay {
        background: none !important;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid #000 !important;
        background: none !important;
        color: #000 !important;
    }
}
