/* Custom styles — Sidney's Sweet Shop */

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Smooth scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f4ff; }
::-webkit-scrollbar-thumb { background: #1e3aff; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #0b1dff; }

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 163, 0.08);
}

nav.scrolled .nav-link { color: #0b1dff; }
nav.scrolled .nav-link:hover { color: #0000a3; }
nav.scrolled .nav-link::after { background: #10b981; }

/* Hero stat cards */
.stat-card {
    box-shadow: 0 8px 32px rgba(0, 0, 163, 0.12);
}

/* Service cards */
.service-card {
    box-shadow: 0 4px 16px rgba(0, 0, 163, 0.06);
}

/* Button focus */
button:focus-visible, a:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 2px;
    border-radius: 8px;
}

/* Selection */
::selection {
    background: #34d399;
    color: #0000a3;
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown .3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print */
@media print {
    nav, .geo-shape, .float-1, .float-2, .float-3 { display: none; }
    body { color: #000; background: #fff; }
}
