/* Custom styles for Michael Leary Medical */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f1e;
}
::-webkit-scrollbar-thumb {
    background: #c9952e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* Selection color */
::selection {
    background: rgba(201, 149, 46, 0.3);
    color: #ffffff;
}

/* Gold gradient text utility */
.gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #c9952e 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle shimmer animation for gold elements */
@keyframes shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Fade-in animation for scroll reveals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Base reveal state - visible by default for accessibility */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Progressively enhanced reveal - only applies when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal.animated {
        animation: fadeInUp 0.6s ease forwards;
    }
}

/* Reduced motion - no animations */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.animated {
        animation: none;
        transition: none;
    }
}

/* Navbar transition states */
.navbar-scrolled {
    background: rgba(10, 15, 30, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

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

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

/* Hero image parallax effect */
#hero .absolute.inset-0 img {
    will-change: transform;
}

/* Card hover lift effect */
.group:hover {
    transform: translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
