/* Custom styles for Dr. Ruth C. Prevor, Ph.D. */

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

/* Selection color */
::selection {
    background-color: #2c5f2c;
    color: #faf9f6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #b9d1b9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #89b489;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    #site-header,
    #mobile-menu,
    #contact-form,
    .scroll-indicator {
        display: none !important;
    }
    body {
        color: #1c3b1c;
        background: white;
    }
    a {
        color: #2c5f2c;
    }
}
