/* Responsive CSS - Mobile First Approach */

/* Mobile devices (up to 576px) */
@media (max-width: 575.98px) {
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Section padding mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Cards mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Price values mobile */
  .price-value {
    font-size: 2.5rem;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  /* Restore animations for larger screens */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover .gallery-image {
    transform: scale(1.05);
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  /* Hero section desktop */
  #hero {
    min-height: 100vh;
  }
  
  /* Section padding desktop */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Enhanced hover effects for desktop */
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.15);
  }
  
  .price-card:hover {
    transform: translateY(-10px);
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
  
  .price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  /* Enhanced spacing for very large screens */
  .section-padding {
    padding: 7rem 0;
  }
  
  .contact-form {
    padding: 4rem;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .hero-shape,
  .gallery-item,
  #contact,
  #blog {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --eco-primary: #000;
    --eco-primary-light: #333;
    --eco-primary-dark: #000;
    --eco-secondary: #666;
    --eco-secondary-light: #999;
    --eco-secondary-dark: #333;
    --eco-accent: #fff;
    --eco-accent-light: #f5f5f5;
    --eco-accent-dark: #e0e0e0;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    border: 2px solid #000;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-shape {
    display: none;
  }
  
  .gallery-item:hover .gallery-image,
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: none;
  }
}

/* Focus styles for better accessibility */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 3px solid var(--eco-primary);
    outline-offset: 2px;
  }
}

/* Dark mode support */

.hero-content {
    padding-top: 275px;
}