/* Custom styles for Smokey's — editorial bakery & grocery site */

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

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal delays */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 247, 244, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Custom selection color */
::selection {
    background: #E07A5F;
    color: white;
}

/* Subtle hover lift on cards */
.group:hover {
    transform: translateY(-2px);
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.15);
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .group:hover img {
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, #contact-form, #mobile-menu {
        display: none;
    }
    body {
        color: #1A1A1A;
        background: white;
    }
}
