/* Custom styles for Valley Health Shenandoah Hospital Family Practice */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #85c485;
}

/* Selection color */
::selection {
    background: #dcefe0;
    color: #1a3f1a;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #2a632a;
    outline-offset: 2px;
}

/* Leaf pattern background for sections */
.leaf-pattern {
    background-color: #f0f7f0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 Q45 20 30 35 Q15 20 30 5' fill='%232a632a' fill-opacity='0.03'/%3E%3C/svg%3E");
}

/* Ensure all images have smooth rendering */
img {
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
