/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .hero-decorative {
    display: none;
  }
  
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-image {
    height: 200px;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Reduced animations on small devices */
  .service-card:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
  
  #hero {
    min-height: 85vh;
  }
  
  .team-image {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }
  
  .team-image {
    height: 240px;
  }
}

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

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1400px;
  }
  
  section {
    padding: 5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .hero-decorative {
    display: none !important;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2d5016;
    --primary-brown: #3d2914;
    --primary-cream: #ffffff;
    --dark-brown: #000000;
    --light-cream: #ffffff;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid #000000;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  #gallery img:hover {
    transform: none;
  }
  
  .hero-decorative {
    animation: none;
  }
} 

body {
    overflow-x: hidden;
}