/* Custom styles for Waypoint Counseling */

/* Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #065F46;
    border-radius: 3px;
}

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

/* Fade-in for reveal elements */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
#mobileMenu.open {
    opacity: 1;
    pointer-events: auto;
}

/* Form transitions */
#contactForm input,
#contactForm textarea {
    transition: border-color 0.3s ease;
}

/* Smooth section transitions */
section {
    position: relative;
}

/* Hero image subtle parallax on scroll */
@media (prefers-reduced-motion: no-preference) {
    .hero-image {
        will-change: transform;
    }
}
