/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

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

/* Scroll Reveal — progressive enhancement, hidden by default */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#mobileMenu.open {
    max-height: 400px;
    opacity: 1;
}

/* Navbar shadow on scroll */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(80, 34, 55, 0.08);
}

/* Subtle pulse on CTA buttons */
@keyframes softPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35); }
    50% { box-shadow: 0 4px 24px rgba(245, 158, 11, 0.55); }
}

a.bg-amber-400:hover {
    animation: none;
}

/* Floating decoration animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.floating-delay {
    animation: float 4s ease-in-out 1.5s infinite;
}
</style>
