/* Custom styles for SmootH CutS */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll reveal base — content is visible by default, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .scroll-reveal:not(.revealed) {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Gold accent underline on hover for nav links */
#nav-links a:not(.bg-gold-500):hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    margin-top: 2px;
    opacity: 0.3;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #0f172a !important;
}

/* Selection color */
::selection {
    background: #d4a017;
    color: #0a1628;
}
