/* Fix for dark text on dark backgrounds (A04) */
body {
    color: #ffffff;
    background-color: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Ensure headings are readable */
h1, h2, h3, h4, h5, h6, 
.elementor-heading-title, 
.wd-title {
    color: #ffffff !important;
}

/* Fix header overlap and alignment (A04, SEO12) */
.whb-header {
    position: relative !important;
    margin-bottom: 0 !important;
}

.whb-overcontent .whb-header {
    position: absolute !important;
}

/* Ensure main content is pushed down so header doesn't clip it */
.main-page-wrapper {
    padding-top: 40px;
}

/* Fix text legibility inside Elementor text editors */
.elementor-text-editor {
    color: #e0e0e0;
}

/* Accessibility: Ensure visible focus */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #0056b3 !important;
    outline-offset: 2px;
}

/* Ensure viewport allows scaling (A15) - applied via PHP meta tag normally, but adding safety bounds here */
html {
    touch-action: manipulation;
}
