/* Responsive Styles for Remote Reality-Capture Construction Services */
/* Mobile-First Approach with No Mobile Scroll Animations */

/* Base Mobile Styles */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.25rem;
  }
  
  h2 {
    font-size: 1.125rem;
  }
  
  h3 {
    font-size: 1rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding: 1rem 0;
    padding-top: 100px;
}
  
  .hero-decoration {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section spacing for mobile */
  .section {
    padding: 2rem 0;
  }
  
  /* Card spacing adjustments */
  .service-card,
  .feature-card,
  .team-card,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  /* Gallery grid adjustments */
  .gallery-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* NO ANIMATIONS ON MOBILE - Override any animation libraries */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .service-card:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
}

/* Small Tablets */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-decoration {
    width: 150px;
    height: 150px;
  }
}

/* Medium Tablets and Small Laptops */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-content {
    padding: 2rem 0;
    padding-top: 100px;
}
}

/* Large Tablets and Laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-decoration {
    width: 250px;
    height: 250px;
  }
}

/* Print Styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    color: #000 !important;
    background: #fff !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .hero-decoration {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Skip Link for Screen Readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--gray-900);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Utility Classes for Responsive Display */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
  }
}

/* Landscape Phone Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Reduce Motion Enhancements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .gallery-item img,
  .btn,
  .form-control {
    transition: none !important;
  }
  
  .hero-section {
    background: var(--blue-light) !important;
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
