/* Custom Styles for Opal Campbell, M.D. */

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

/* Typography Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
}

p, li, span, a, button, input, textarea {
    font-family: 'Lato', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5EEAD4;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Image Aspect Ratios */
img {
    max-width: 100%;
    height: auto;
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
}
