/* Custom styles for William T. Baird Jr Medical Practice */

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2140;
    --navy-700: #142d54;
    --navy-600: #1a3a6b;
    --gold-500: #c8a44e;
    --gold-400: #d4b366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--navy-900);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--navy-600);
}

/* Service card hover animation */
.service-card {
    transform: translateY(0);
}
.service-card:hover {
    transform: translateY(-4px);
}

/* Subtle pulse for hero CTA */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 164, 78, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(200, 164, 78, 0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
}

/* Header scroll state */
header.scrolled {
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.1);
}

/* Fade-in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(20px);
    }
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
