/* Custom styles for Dickman Legacy Ranch */

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

/* Ensure reveal animations respect reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .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);
    }

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

/* Always-visible fallback for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ecfdf5;
}

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Navbar active state */
nav a.active {
    color: #059669;
}

/* Subtle pulse for CTA buttons */
@keyframes soft-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
}

.bg-emerald-600:hover {
    animation: soft-pulse 2s infinite;
}

/* Map container border radius fix */
iframe {
    border-radius: 1.5rem;
}
