/* Custom styles for Omaha Donuts */

/* Base smooth scroll and selection */
::selection {
    background-color: rgba(147, 51, 234, 0.2);
    color: #3b0764;
}

/* Navbar transition states */
.nav-scrolled {
    background: rgba(250, 245, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(88, 28, 135, 0.08);
}

.nav-scrolled .nav-logo-text {
    color: #581c87 !important;
}

.nav-scrolled .nav-link {
    color: #6b21a8 !important;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

/* Reduce 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;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    .float-anim,
    .float-anim-reverse {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
