/* Custom styles complementing Tailwind */

html {
    scroll-behavior: smooth;
}

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

/* Ensure reveal animations respect prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-visible.reveal-hidden {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu overlay */
#mobile-overlay {
    backdrop-filter: blur(4px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9b4c4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c08aa8;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Selection color */
::selection {
    background: rgba(202, 138, 4, 0.3);
    color: #2a1622;
}
