/* Custom styles for Baptist DeSoto Hospital Gift Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1D23;
}
::-webkit-scrollbar-thumb {
    background: #3A3D45;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6644;
}

/* Selection color */
::selection {
    background: rgba(255, 102, 68, 0.3);
    color: #fff;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(26, 29, 35, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(58, 61, 69, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #2A2D35 0%, #3A3D45 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* Form input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1A1D23 inset !important;
    -webkit-text-fill-color: #fff !important;
}
