/* Mobile First Responsive Design */

/* Mobile Styles (up to 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .service-card, .price-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container {
    --swiper-navigation-color: var(--primary-orange);
    --swiper-pagination-color: var(--primary-orange);
  }
}

/* Small tablets (576px to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card, .price-card {
    padding: 2rem;
  }
}

/* Medium tablets (768px to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Large tablets and small desktops (992px to 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
}

/* Extra large screens (1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Specific mobile optimizations */
@media (max-width: 767.98px) {
  /* Stack cards vertically on mobile */
  .service-card, .price-card, .feature-card {
    margin-bottom: 1.5rem;
  }
  
  /* Adjust team grid for mobile */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Mobile-friendly contact form */
  .contact-form {
    margin: 1rem;
    border-radius: 10px;
  }
  
  /* Mobile navigation */
  .navbar-collapse {
    background: rgba(44, 95, 65, 0.98);
    border-radius: 10px;
    margin-top: 10px;
    padding: 1rem;
  }
  
  /* Disable complex animations on mobile */
  .service-card:hover, .price-card:hover, .feature-card:hover {
    transform: none;
  }
  
  /* Gallery mobile optimization */
  .gallery-item img {
    height: 200px;
  }
  
  /* Blog cards mobile */
  .blog-card img {
    height: 150px;
  }
  
  /* Process steps mobile */
  .process-step, .timeline-item {
    padding: 1.5rem;
  }
  
  .process-step::before, .timeline-item::before {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
    display: inline-flex;
  }
}

/* Print styles */
@media print {
  .navbar, .footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-orange: #cc5500;
    --primary-teal: #004d00;
    --primary-charcoal: #000000;
    --primary-cream: #ffffff;
  }
  
  .btn-primary {
    border: 2px solid var(--primary-charcoal);
  }
  
  .form-control {
    border-width: 3px;
  }
} 