/* Virtual Home Staging Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navbar brand even more conservative on mobile */
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section padding adjustments */
  .section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
  
  /* Service cards stack properly */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  /* Price cards adjustments */
  .price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .price-card.featured {
    transform: none; /* Remove scale on mobile */
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team photo size adjustment */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process number smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery items margin */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Case study cards */
  .case-study-card {
    margin-bottom: 2rem;
  }
  
  .case-study-card img {
    height: 200px;
  }
  
  /* Blog cards */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  /* Remove hover animations on mobile to respect reduced motion */
  .service-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery items in 2 columns */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  /* Blog cards */
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero-section {
    min-height: 95vh;
  }
  
  /* Typography slightly larger */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Service cards in 2 columns, then 3 on larger tablets */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2.75rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  /* Process numbers */
  .process-number {
    width: 55px;
    height: 55px;
    font-size: 1.375rem;
  }
  
  /* Gallery items in 3 columns */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Case study and blog cards */
  .case-study-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .case-study-card img,
  .blog-card img {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full hero height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Service cards in 3 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team layout */
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery in 4 columns */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  /* Blog and case study cards */
  .blog-card,
  .case-study-card {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container max width */
  .container {
    max-width: 1200px;
  }
  
  /* Hero section full height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Service cards optimal spacing */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards with featured scaling */
  .price-card.featured {
    transform: scale(1.05);
  }
  
  /* Gallery optimal layout */
  .gallery-item {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Optimal card heights */
  .blog-card img,
  .case-study-card img {
    height: 220px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 80vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-sm {
    padding: 1.5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  /* Ensure crisp images and icons */
  .feature-icon,
  .process-number {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .btn,
  .contact-form {
    display: none;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}
  
  .container {
    width: 100%;
    max-width: none;
  }
  
  /* Remove shadows and effects */
  .service-card,
  .price-card,
  .review-card,
  .case-study-card,
  .blog-card,
  .faq-card,
  .coreinfo-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  /* Ensure page breaks */
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-high-contrast: high) {
  /* High contrast mode adjustments */
  .service-card,
  .price-card,
  .review-card,
  .case-study-card,
  .blog-card,
  .faq-card,
  .coreinfo-card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Reduced transparency for better accessibility */
@media (prefers-reduced-transparency: reduce) {
  .hero-decorative {
    opacity: 1;
  }
  
  /* Remove any transparency effects */
  * {
    opacity: 1 !important;
  }
}

/* Focus management for keyboard navigation */
@media (any-hover: none) {
  /* Touch devices - remove hover effects */
  .service-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark mode support (basic) */

.hero-content {
    padding-top: 225px;
}