/* Additional responsive design styles for VLS One Scoops website */

/* Ensure images are responsive across all devices */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Improve mobile menu behavior */
@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: var(--white-color);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    transition: left 0.3s ease;
    z-index: 1000;
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 0;
    text-align: center;
    padding: 12px 0;
  }
  
  .header-container {
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1.5rem;
  }
}

/* Tablet optimizations */
@media screen and (max-width: 992px) and (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    flex: 0 0 calc(50% - 30px);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
}

/* Small mobile optimizations */
@media screen and (max-width: 576px) {
  .hero {
    padding: 100px 20px 80px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex: 0 0 100%;
  }
  
  .footer-col {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .contact-form {
    margin-top: 40px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Print styles */
@media print {
  header, footer, .hero, .btn, form, .social-links {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  
  h1, h2, h3, h4 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  p, li {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  z-index: 1002;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #f5f5f5;
    --light-color: #333333;
    --white-color: #222222;
  }
  
  body {
    color: var(--dark-color);
    background-color: var(--white-color);
  }
  
  .header-container, .feature-card, .form-control {
    background-color: #2a2a2a;
  }
  
  .form-control {
    border-color: #444;
    color: #f5f5f5;
  }
  
  .logo, h1, h2, h3, h4, h5, h6, nav ul li a {
    color: var(--dark-color);
  }
  
  footer {
    background-color: #111;
  }
}
