/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .service-item {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 250px;
    height: 250px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 5rem;
  }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
  /* Disable all animations on mobile */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transform: none !important;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    padding-top: 80px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  /* Hide decorative shapes on mobile */
  .hero-shape {
    display: none;
  }
  
  /* Section padding adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Service items mobile */
  .service-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  /* Price items mobile */
  .price-item {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* FAQ mobile */
  .faq-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Footer mobile */
  #footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .service-item {
    padding: 2rem;
  }
  
  .price-item {
    padding: 2.5rem 2rem;
  }
}

/* Print styles */
@media print {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  #header, #footer {
    display: none;
  }
  
  .btn, .navbar-toggler {
    display: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-charcoal: #000000;
    --light-charcoal: #333333;
    --primary-cream-white: #ffffff;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
  
  .service-item, .price-item, .review-item, .faq-item {
    border: 1px solid var(--primary-charcoal);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape, .service-item, .price-item, .gallery-image {
    transform: none !important;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Focus styles for accessibility */
.btn:focus, .form-control:focus, .nav-link:focus {
  outline: 2px solid var(--primary-sage-green);
  outline-offset: 2px;
}

/* Dark mode support (if browser supports) */

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 125px;
}