/* Accessibility improvements for index.html */

/* Hidden class for screen readers */
.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;
}

/* Hidden class for visual hiding */
.hidden {
    display: none;
}

/* Skip link for keyboard navigation */
.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;
}

/* Better focus indicators */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Improved button accessibility */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
    }
    
    .btn-secondary {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pulse-ring {
        animation: none;
    }
    
    .typing-indicator span {
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Large text support */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Color contrast improvements */
.business-type-item:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: #007cba;
}

/* Touch target improvements */
@media (max-width: 768px) {
    .action-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    .btn {
        min-height: 44px;
    }
}