/* Custom styles for Bijur Health */

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

/* Selection color */
::selection {
    background-color: #D4A017;
    color: #220c22;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile menu animations */
#mobileMenu.open {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Hamburger animation */
#menuToggle.active #bar1 {
    transform: translateY(4px) rotate(45deg);
}

#menuToggle.active #bar2 {
    opacity: 0;
}

#menuToggle.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* Subtle hover lift on cards */
.group:hover {
    transform: translateY(-2px);
}

/* Prevent layout shift on images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

::-webkit-scrollbar-track {
    background: #faf5fa;
}

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

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

/* Print styles */
@media print {
    header, footer, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
