/* Custom styles — extends Tailwind */

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

/* Selection color */
::selection {
    background-color: rgba(160, 85, 150, 0.2);
    color: #271128;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #9c5596;
    outline-offset: 2px;
}

/* Subtle image hover */
img {
    transition: transform 0.5s ease;
}

/* Scroll reveal base — content is visible by default */
.reveal {
    opacity: 1;
    transform: none;
}

/* Scroll reveal — applied via JS only */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 1px 0 rgba(160, 85, 150, 0.1);
}

/* Subtle gradient overlay for hero */
.hero-gradient {
    background: linear-gradient(180deg, rgba(39, 17, 40, 0) 0%, rgba(39, 17, 40, 0.4) 100%);
}
</style>
