/* Custom styles for Helping Many Lives Home Care Agency */

:root {
    --plum-600: #7c3aed;
    --plum-700: #6d28d9;
    --plum-950: #2e1065;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f3e8ff;
}
::-webkit-scrollbar-thumb {
    background: #c084fc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7c3aed;
}

/* Floating animation for hero cards */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float-slow {
    animation: float-slow 4s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 3s ease-in-out infinite;
}

/* Nav shadow on scroll */
#site-header.scrolled {
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    #site-header,
    #mobile-menu-btn,
    .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
