/* Responsive CSS for Remote Property Photography Service Template */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.125rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
  }

  /* Hero section */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }

  /* Section padding */
  .section-padding,
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contact,
  #blog,
  #faq,
  #gallery {
    padding: 2.5rem 0;
  }

  /* Cards adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }

  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
    margin: 0 1rem;
  }
  
  .form-control {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }

  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }

  /* Process numbers */
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  /* Gallery images */
  .gallery-image {
    height: 200px;
  }

  /* Price cards */
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .price-value {
    font-size: 2rem;
  }

  /* Service images */
  .service-image {
    height: 150px;
  }

  /* Blog and case study images */
  .blog-image,
  .case-image {
    height: 150px;
  }

  /* Timeline items */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }

  /* Section padding */
  .section-padding,
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contact,
  #blog,
  #faq,
  #gallery {
    padding: 3rem 0;
  }

  /* Contact form */
  .contact-form {
    padding: 2.5rem 2rem;
  }

  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }

  /* Process numbers */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  /* Gallery images */
  .gallery-image {
    height: 220px;
  }

  /* Price cards */
  .price-card.featured {
    transform: none;
  }

  /* Service images */
  .service-image {
    height: 180px;
  }

  /* Blog and case study images */
  .blog-image,
  .case-image {
    height: 180px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }

  /* Section padding */
  .section-padding,
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contact,
  #blog,
  #faq,
  #gallery {
    padding: 4rem 0;
  }

  /* Hero section */
  #hero {
    min-height: 90vh;
  }

  /* Cards adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    padding: 1.75rem;
  }

  /* Contact form */
  .contact-form {
    padding: 2.75rem 2.25rem;
  }

  /* Team photos */
  .team-photo {
    width: 130px;
    height: 130px;
  }

  /* Gallery images */
  .gallery-image {
    height: 230px;
  }

  /* Price cards - reduced featured scaling */
  .price-card.featured {
    transform: scale(1.02);
  }

  /* Service images */
  .service-image {
    height: 190px;
  }

  /* Blog and case study images */
  .blog-image,
  .case-image {
    height: 190px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section */
  #hero {
    min-height: 95vh;
  }

  /* Cards adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    padding: 2rem;
  }

  /* Team photos */
  .team-photo {
    width: 140px;
    height: 140px;
  }

  /* Gallery images */
  .gallery-image {
    height: 240px;
  }

  /* Price cards */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container max-width override for better spacing */
  .container {
    max-width: 1140px;
  }

  /* Hero section */
  #hero {
    min-height: 100vh;
  }

  /* Full padding for sections */
  .section-padding,
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contact,
  #blog,
  #faq,
  #gallery {
    padding: 5rem 0;
  }

  /* Cards full padding */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    padding: 2.5rem;
  }

  /* Contact form */
  .contact-form {
    padding: 3rem;
  }

  /* Team photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }

  /* Gallery images */
  .gallery-image {
    height: 250px;
  }

  /* Price cards */
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .blog-image,
  .case-image,
  .gallery-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  #header,
  #footer,
  .btn,
  .navbar,
  .hero-decorative {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}
  
  .container {
    max-width: 100%;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  .card,
  .feature-card,
  .service-card,
  .review-card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* Focus management for accessibility */
@media (max-width: 767.98px) {
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  }
  
  .btn:focus,
  .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .case-card:hover,
  .career-card:hover,
  .price-card:hover,
  .gallery-image:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Dark mode preferences (basic support) */