/* Custom styles beyond Tailwind */

/* Smooth scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Scroll reveal base — always visible by default for progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animate on scroll when JS is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.animate {
        opacity: 1;
        transform: translateY(0);
    }
    .scroll-reveal:not(.animate) {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar scrolled state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Custom selection color */
::selection {
    background: #ff6b3f;
    color: white;
}

/* Remove select arrow styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23717880' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Subtle gradient on hero text accent */
.text-gradient {
    background: linear-gradient(135deg, #ffb89e 0%, #ff6b3f 50%, #f54d1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow */
.group:hover .group-hover\:bg-coral-500 {
    background-color: #ff6b3f;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}
