/* Mobile First Responsive Design */

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  /* Hero section adjustments */
  #hero h1 {
    font-size: 2.5rem;
  }
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  /* Hero section full layout */
  #hero h1 {
    font-size: 3rem;
  }
  
  /* Service cards in 3 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team cards in row */
  .team-card {
    margin-bottom: 2rem;
  }
}

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

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

/* Mobile specific styles (up to 767px) */
@media (max-width: 767px) {
  /* Disable animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Section padding reduction */
  section {
    padding: 2.5rem 0;
  }
  
  /* Card spacing adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
}

/* Tablet specific styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  /* Hero adjustments for tablet */
  #hero {
    min-height: 90vh;
  }
  
  /* Service cards 2 per row on tablet */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 220px;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and decorative elements */
  #header,
  #footer,
  .hero-decorative,
  .btn {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    background: white !important;
    color: black !important;
  }
  
  /* Ensure proper page breaks */
  section {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #2D4A22;
    --primary-cream: #FFFFFF;
    --primary-terracotta: #8B4513;
    --primary-forest: #000000;
    --primary-lavender: #4B0082;
  }
  
  .btn-primary {
    border: 2px solid var(--forest-dark);
  }
  
  .form-control {
    border: 2px solid var(--forest-dark);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects that depend on transforms */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Dark mode support (if user prefers) */

body {
    overflow-x: hidden;
}

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