/* Zero-Emission Delivery Service - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  #hero h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .service-card,
  .price-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  #hero h1 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .gallery-item {
    margin-bottom: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content {
    padding-right: 2rem;
    padding-top: 225px;
}
  
  .hero-image {
    padding-left: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Print Styles */
@media print {
  #header,
  #footer {
    display: none !important;
  }
  
  section {
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
    overflow-x: hidden;
}
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #000000;
    --primary-green-light: #333333;
    --primary-green-dark: #000000;
    --neutral-gray: #000000;
    --neutral-gray-light: #666666;
    --neutral-gray-dark: #000000;
    --clean-white: #ffffff;
    --soft-black: #000000;
  }
  
  .btn-primary {
    background-color: #000000;
    border: 2px solid #000000;
    color: #ffffff;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .contact-form {
    border: 2px solid #000000;
  }
}

/* Dark Mode Support */

/* Focus Management */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: var(--clean-white);
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Keyboard Navigation */
.nav-link:focus,
.btn:focus,
.form-control:focus {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

/* Hover States for Touch Devices */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .team-card:hover,
  .gallery-item:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  .feature-card:hover {
    transform: none;
    box-shadow: inherit;
  }
} 