/* Accessibility Improvements */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #ff7b25;
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #ff7b25;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  body {
    background: #000;
    color: #fff;
  }
  
  .header-main {
    background: #000;
  }
  
  .logo {
    color: #fff;
  }
  
  .logo span {
    color: #ff7b25;
  }
  
  .main-nav {
    background: #333;
  }
  
  .main-nav a {
    color: #fff;
  }
  
  .product-card {
    background: #333;
    color: #fff;
  }
  
  .product-title {
    color: #fff;
  }
  
  .btn-buy-whatsapp,
  .btn-add-to-cart,
  .btn-read-more {
    background: #fff;
    color: #000;
  }
}

/* Reduced motion for users with motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero video {
    display: none;
  }
  
  .hero {
    background: url('https://images.unsplash.com/photo-1597174785358-67310e6a0508?ixlib=rb-4.0.3') center/cover;
  }
}

/* Larger text for users with low vision */
@media (prefers-font-size: large) {
  body {
    font-size: 1.2em;
  }
  
  h1 {
    font-size: 2.5em;
  }
  
  h2 {
    font-size: 2em;
  }
  
  h3 {
    font-size: 1.7em;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background: #121212;
    color: #e0e0e0;
  }
  
  .header-main {
    background: #1e1e1e;
  }
  
  .logo {
    color: #e0e0e0;
  }
  
  .search-bar input {
    background: #333;
    border-color: #555;
    color: #fff;
  }
  
  .user-actions a {
    color: #e0e0e0;
  }
  
  .product-card {
    background: #1e1e1e;
  }
  
  .product-title {
    color: #e0e0e0;
  }
  
  .product-category {
    color: #ff7b25;
  }
  
  .section-title h2 {
    color: #e0e0e0;
  }
  
  .about-section {
    background: #1e1e1e;
    color: #e0e0e0;
  }
}