/* Custom styles for Longview Donut Shop */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1a2a;
}

::-webkit-scrollbar-thumb {
    background: #d49a1a;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #d49a1a;
    color: #0f1a2a;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button focus states */
button:focus, a:focus {
    outline: 2px solid #f2c957;
    outline-offset: 2px;
}

/* Mobile menu backdrop */
.mobile-menu::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open::before {
    opacity: 1;
}

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

/* Print styles */
@media print {
    .geometric-shape,
    .float-animation,
    .rotate-slow,
    .marquee {
        display: none;
    }
}
