/* Custom styles for Victory Cuts */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Scroll reveal base — content is visible by default */
.scroll-reveal {
    /* default state: fully visible */
}

.scroll-reveal.revealed {
    animation: fadeUp 0.7s ease-out forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal.revealed {
        animation: none;
        opacity: 1;
    }
    .animate-bounce {
        animation: none;
    }
    .animate-pulse {
        animation: none;
    }
}

/* Navbar glass effect on scroll */
nav.scrolled {
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(31, 67, 41, 0.08);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #faf8f0 inset !important;
}
