/* Responsive Design - Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    text-align: center;
  }
  
  /* Hero section */
  #hero {
    min-height: 90vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  #hero .hero-content {
  padding-top: 100px !important;
    max-width: 100%;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  /* Services */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .contact-info p {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .contact-info p i {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-policies a {
    display: block;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-secondary,
  .submit-btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem;
  }
  
  .faq-answer.show {
    padding: 1rem 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  /* Hero */
  #hero {
    min-height: 95vh;
  }
  
  /* Sections */
  section {
    padding: 4rem 0;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Contact */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* About features */
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* About features */
  .about-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile-specific adjustments for Swiper */
@media (max-width: 768px) {
  /* Disable autoplay and effects on mobile as required */
  .swiper-slide {
    transition: none !important;
  }
  
  .reviews-slider .swiper-slide {
    margin: 0.5rem;
  }
  
  .review-card {
    padding: 2rem 1.5rem;
    margin: 0.5rem;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .breadcrumb,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
  overflow-x: hidden !important;
    background: white !important;
    color: black !important;
  }
  
  section {
    padding: 2rem 0 !important;
    break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .review-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #2d4a22;
    --primary-earth: #8b6914;
    --primary-sunset: #a8341a;
    --primary-ocean: #1a365d;
    --primary-cream: #ffffff;
  }
  
  .service-card,
  .about-feature,
  .contact-form {
    border: 2px solid var(--primary-ocean) !important;
  }
}

/* Focus indicators for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus,
  .faq-question:focus {
    outline: 3px solid var(--primary-earth);
    outline-offset: 2px;
  }
} 