/* Scroll reveal styles */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(250, 250, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #a1c27d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #558430;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    border-color: #558430 !important;
    box-shadow: 0 0 0 3px rgba(85, 132, 48, 0.15) !important;
}

/* Pulse animation for hero badge */
@keyframes soft-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-pulse {
    animation: soft-pulse 2s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #558430, #a1c27d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
