/* Custom styles for Arthur's New York Bagel Fctry */

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

/* Selection colors */
::selection {
    background-color: rgba(240, 96, 64, 0.3);
    color: #f6f6f7;
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(18, 19, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Hero image hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Craft cards */
.craft-card {
    opacity: 1;
}

.craft-card .group-hover\:scale-105 {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Selection items */
.selection-item {
    border-radius: 4px;
    padding: 4px;
    margin: 0 -4px;
}

.selection-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Subtle gradient overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(30, 32, 37, 0.95) 0%, rgba(44, 47, 53, 0.85) 100%);
}

/* Button hover effects */
a {
    text-decoration: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .group-hover\:scale-105,
    .group-hover\:translate-x-1 {
        transition: none;
        transform: none;
    }

    #mobile-menu {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #f06040;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Image lazy loading placeholder */
img {
    background-color: #2c2f35;
}

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

::-webkit-scrollbar-track {
    background: #1e2025;
}

::-webkit-scrollbar-thumb {
    background: #4a4e56;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5f646d;
}

/* Mobile navigation link spacing */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
}

/* Map container */
iframe {
    border-radius: 4px;
}
