/* ============================================
   RESPONSIVE CSS - Mobile First Approach
   Bootstrap 5 Compatible Responsive Design
   ============================================ */

/* Mobile First - Base Styles (up to 576px) */
@media (max-width: 575.98px) {
  
  /* Disable animations on mobile for reduced motion */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Section padding */
  .section {
    padding: 2rem 0;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Card spacing */
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team member images */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery images */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Process steps */
  .process-number {
    position: static;
    margin: 0 auto 1rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    margin-left: 0;
  }
  
  .timeline-item::before {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  
  /* Section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 85vh;
  }
  
  /* Gallery images */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  /* Section padding */
  .section {
    padding: 3.5rem 0;
  }
  
  /* Hero adjustments */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Gallery images */
  .gallery-item img {
    height: 230px;
  }
  
  /* Team member spacing */
  .team-member {
    margin-bottom: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  /* Full section padding */
  .section {
    padding: 4rem 0;
  }
  
  /* Hero full height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Gallery images */
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
  /* Full section padding */
  .section {
    padding: 4rem 0;
  }
  
  /* Hero full height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Gallery images */
  .gallery-item img {
    height: 250px;
  }
  
  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }
}

/* Orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before,
  .hero-section::after {
    opacity: 0.2;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    border: 1px solid #000;
    break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
}

/* Dark mode support (respects system preference) */

/* Focus management for keyboard navigation */
.navbar-nav .nav-link:focus,
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 2px;
}

/* Better touch targets for mobile */
@media (max-width: 767.98px) {
  .navbar-nav .nav-link,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-content {
    padding-top: 250px;
}