/* Custom styles that complement Tailwind */

/* Ensure smooth rendering on all devices */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Mobile menu transitions */
.mobile-menu {
    will-change: transform;
}

/* Navbar transition */
#navbar {
    will-change: background;
}

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

/* Selection color */
::selection {
    background-color: #FFD0B8;
    color: #1A1A17;
}

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

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    nav, .mobile-menu, #menuOverlay {
        display: none !important;
    }
}
