/* Custom Styles for Heart & Peripheral Vascular Consultants */

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

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

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

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b55;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 85, 0.3);
    color: #fff;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 85, 0.1);
}

/* Condition card hover */
.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 107, 85, 0.08);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 85, 0.1);
}

/* Mobile menu active state */
.mobile-menu-open .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Prevent content flash on load */
body {
    opacity: 1;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #ff6b55;
    outline-offset: 2px;
}

/* Gold accent line animation */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Pulse animation for the heartbeat indicator */
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}
