/* Custom styles for Ashley's Home Care Agency */

:root {
    --color-bg: #0a0610;
    --color-bg-elevated: #12081e;
    --color-plum-deep: #500724;
    --color-plum-mid: #831443;
    --color-amber: #fbbf24;
    --color-amber-light: #fcd34d;
    --color-amber-dark: #d97706;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: #ffffff;
    overflow-x: hidden;
}

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

/* Selection color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #ffffff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(251, 191, 36, 0.5);
}

/* Navbar transition */
#navbar {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-amber);
    outline-offset: 2px;
}

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

/* Select dropdown styling */
select option {
    background-color: #1a0a2e;
    color: #ffffff;
}
