/* Custom styles that extend Tailwind */

/* Ensure smooth rendering on all devices */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fafafa;
}
::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

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

/* Base typography refinements */
h1, h2, h3, h4 {
    font-weight: 400;
}

/* Thin decorative line utility */
.line-accent {
    width: 60px;
    height: 1px;
    background: #ff6b35;
}

/* Mobile menu overlay */
#menu-overlay {
    opacity: 0;
    transition: opacity 0.35s ease;
}
#menu-overlay.show {
    opacity: 1;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Reduced motion */
@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;
    }
}
