/* Custom styles for Theresa Gillis — Medical & Health */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f4;
}
::-webkit-scrollbar-thumb {
    background: #d9a8b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c22746;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6e162e;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 251, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(132, 22, 50, 0.08);
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover lift */
button, a {
    transition: all 0.3s ease;
}

/* Image aspect ratio helpers */
img {
    max-width: 100%;
    height: auto;
}
