/* Accessibility Improvements */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #ca1515;
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Improved form styling */
form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Better contrast for links */
a {
    color: #ca1515;
}

a:hover,
a:focus {
    color: #a01212;
    text-decoration: underline;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error states */
.error {
    border: 2px solid #dc3545;
    background-color: #f8d7da;
}

.error-message {
    color: #721c24;
    font-size: 14px;
    margin-top: 5px;
}

/* Success states */
.success {
    border: 2px solid #28a745;
    background-color: #d4edda;
}

.success-message {
    color: #155724;
    font-size: 14px;
    margin-top: 5px;
}

/* Mobile improvements */
@media (max-width: 768px) {
    .header__logo a {
        font-size: 24px !important;
    }
    
    .offcanvas__logo a {
        font-size: 20px !important;
    }
    
    .footer__logo a {
        font-size: 20px !important;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .offcanvas-menu-wrapper,
    .search-model {
        display: none;
    }
}