/* Milanos Pizza Whitney — Custom Styles */

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

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #c8963e40;
    border-radius: 3px;
}

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

/* Selection color */
::selection {
    background: #c8963e40;
    color: #ffffff;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 1px solid #c8963e;
    outline-offset: 4px;
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 150, 62, 0.1);
}

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

/* Hero image subtle zoom on load */
#hero img {
    animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

/* Menu card hover effects */
.group:hover .group-hover\\:border-gold-500\\/30 {
    border-color: rgba(200, 150, 62, 0.3);
}

/* Gallery hover */
.overflow-hidden {
    position: relative;
}

.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overflow-hidden:hover::after {
    opacity: 1;
}

/* Divider line animation */
.h-px.bg-gradient-to-r {
    transition: opacity 0.5s ease;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    #hero img {
        animation: none;
        transform: scale(1);
    }
    
    .overflow-hidden img {
        transition: none;
    }
    
    .overflow-hidden img:hover {
        transform: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.15;
    }
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    .overflow-hidden img,
    iframe {
        display: none !important;
    }
    
    body {
        background: white;
        color: #1a1a1a;
    }
    
    .text-white,
    .text-white\\/70,
    .text-white\\/50,
    .text-white\\/40,
    .text-white\\/30 {
        color: #1a1a1a !important;
    }
    
    .text-gold-400,
    .text-gold-400\\/90,
    .text-gold-400\\/60,
    .text-gold-400\\/80 {
        color: #8b6914 !important;
    }
}
