/* Custom styles for Novak's Noshery */

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

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

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

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

::-webkit-scrollbar-thumb {
    background: #FF7F73;
    border-radius: 5px;
}

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

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

/* Button hover animations */
button, a {
    transition: all 0.3s ease;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, button, a {
        transition: none;
    }
    
    .transform:hover {
        transform: none;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.active {
    max-height: 500px;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
