/* Custom styles for Christine R. Hibbard Medical Practice */

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

/* Ensure all links without underline class have none */
.no-underline {
    text-decoration: none;
}

/* Scroll reveal base styles */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Mobile navigation links */
.mobile-nav-link {
    display: block;
}

/* Navbar transparent state */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(13, 51, 18, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hero section */
#hero {
    position: relative;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1b5e20;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* Print styles */
@media print {
    header, footer, .scroll-reveal {
        opacity: 1 !important;
    }
    
    #hero {
        min-height: auto;
        page-break-after: avoid;
    }
}
