/* Custom styles to supplement Tailwind */

html {
    scroll-behavior: smooth;
}

body {
    /* Subtle texture for warmth */
    background-image: radial-gradient(#e7e5e4 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Reveal Animation Setup */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

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