/* Contrast Fixes for PageSpeed Insights */

/* Cookie Consent Banner - Fix contrast issues */
#cookieConsent {
    background: #1a1a1a !important; /* Darker background for better contrast */
    color: #ffffff !important;
}

#cookieConsent p {
    color: #ffffff !important;
}

#cookieConsent button {
    font-weight: 600 !important;
    min-height: 44px !important; /* Accessibility requirement */
}

#cookieConsent a {
    color: #e0e0e0 !important; /* Better contrast for links */
    text-decoration: underline !important;
}

/* Header navigation links - Improve contrast */
.header-top .nav-link {
    color: #ffffff !important;
}

.header-top .nav-link:hover,
.header-top .nav-link:focus {
    color: #e0e0e0 !important;
}

/* Phone number link in header */
.header-top a[href^="tel:"] {
    color: #ffffff !important;
}

.header-top a[href^="tel:"]:hover,
.header-top a[href^="tel:"]:focus {
    color: #e0e0e0 !important;
}

/* Breadcrumb improvements */
.breadcrumb-item {
    color: #333333 !important;
}

.breadcrumb-item a {
    color: #0066cc !important;
}

.breadcrumb-item.active {
    color: #666666 !important;
}

/* Alert info box improvements */
.alert-info {
    background-color: #e7f3ff !important;
    border-color: #b3d9ff !important;
    color: #0c5aa6 !important;
}

.alert-info strong {
    color: #0c5aa6 !important;
}

/* Alert warning box improvements */
.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
    color: #856404 !important;
}

.alert-warning strong {
    color: #856404 !important;
}

/* Card header improvements */
.card-header.bg-secondary {
    background-color: #495057 !important;
    color: #ffffff !important;
}

/* Table improvements */
table th {
    color: #333333 !important;
}

table td a {
    color: #0066cc !important;
}

/* Button improvements */
.btn-primary {
    background-color: #0066cc !important;
    border-color: #0066cc !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: #0066cc !important;
    border-color: #0066cc !important;
}

/* Text color improvements */
.text-muted {
    color: #666666 !important;
}

.text-primary {
    color: #0066cc !important;
}

/* Sub-title improvements */
.sub-title {
    color: #333333 !important;
}

/* Ensure all text has sufficient contrast */
p, span, div {
    color: inherit;
}

/* Strong text improvements */
strong {
    font-weight: 600;
}

/* Link improvements */
a {
    color: #0066cc;
}

a:hover,
a:focus {
    color: #004499;
}