/* Custom Styles & Utility Overrides */

html {
    scroll-behavior: smooth;
}

body {
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf4f6;
}
::-webkit-scrollbar-thumb {
    background: #db7683;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a83242;
}

/* Animation Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar Transition */
#navbar.scrolled #nav-bg {
    opacity: 1;
}

/* Button Ripple Effect (Optional Polish) */
button, a {
    -webkit-tap-highlight-color: transparent;
}
