/* Responsive Styles - Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
    padding-top: 275px;
}
  
  .hero-section .col-md-6:first-child {
    order: 2;
  }
  
  .hero-section .col-md-6:last-child {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card .card-body {
    padding: 1.5rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .contact-form .btn {
    width: 100%;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    padding-top: 275px;
}
  
  .service-card .card-body {
    padding: 1.75rem;
  }
  
  .team-photo {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .hero-section h1 {
    font-size: 1.875rem;
    padding-top: 275px;
}
  
  .team-photo {
    height: 240px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Print Styles */
@media print {
  .hero-section::before {
    display: none;
  }
  
  .btn, .navbar, .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card, .team-card, .testimonial-card, .faq-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img, .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Dark Mode Support */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .service-card, .gallery-item img {
    transition: none;
  }
  
  .service-card:hover, .gallery-item:hover img {
    transform: none;
  }
} 