/* Mobile First Responsive Design */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile */
  .hero-shape,
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-image:hover,
  .btn-primary:hover {
    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;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
    margin-top: 2rem;
    padding-top: 175px;
}
  
  .hero-image {
    order: 1;
  }
  
  /* Section spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards spacing */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem;
  }
  
  /* Process steps */
  .process-step {
    margin-bottom: 1.5rem;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }
  
  /* No animations on small devices */
  .hero-shape,
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-image:hover {
    transform: none !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet specific adjustments */
  .hero-content,
  .hero-image {
    text-align: center;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Desktop specific styles */
  .hero-content {
    padding-right: 2rem;
    padding-top: 175px;
}
  
  .service-card,
  .feature-card,
  .team-card {
    margin-bottom: 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content {
    padding-right: 3rem;
    padding-top: 175px;
}
}

/* Print styles */
@media print {
  .navbar,
  #footer {
    display: none;
  }
  
  .section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  body {
    background: #fff;
    color: #000;
    overflow-x: hidden;
}
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2e7d32;
    --primary-earth: #3e2723;
    --primary-sky: #1b5e20;
    --primary-cream: #fff;
    --primary-forest: #000;
  }
  
  .card,
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card {
    border: 2px solid #000;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 90vh;
  }
  
  .section {
    padding: 2rem 0;
  }
} 