/* Custom styles for Khurram Khan Medical Practice */

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

/* Prevent flash of unstyled content */
body {
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f2;
}
::-webkit-scrollbar-thumb {
    background: #d4b57a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c75d37;
}

/* Selection color */
::selection {
    background: #c75d37;
    color: white;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    ::-webkit-scrollbar-thumb {
        background: #d4b57a;
    }
}

/* Print styles */
@media print {
    nav, #contact, .cta-banner, footer {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
