/* Responsive CSS - Mobile First Approach */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 100px 0;
  }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
}

/* Small Devices (576px to 767px) - Mobile Restrictions Apply */
@media (max-width: 767px) {
  /* Mobile Swiper Restrictions */
  .swiper-container {
    overflow: visible !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }
  
  /* Disable autoplay effects on mobile */
  .swiper-container[data-autoplay] {
    pointer-events: auto !important;
  }
  
  /* Typography adjustments */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Layout adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .testimonial-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section {
    padding: 30px 0;
  }
  
  .service-card,
  .contact-form {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1.125rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-icon {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .testimonial-rating {
    font-size: 1.25rem;
  }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 30px 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .swiper-container {
    display: none !important;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3 {
    color: black;
    page-break-after: avoid;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-gray: #e2e8f0;
    --light-gray: #a0aec0;
  }
  
  body {
    background-color: #1a202c;
    color: #e2e8f0;
  }
  
  .service-card,
  .contact-form,
  .testimonial-card,
  .faq-item,
  .process-step,
  .timeline-item {
    background: #2d3748;
    color: #e2e8f0;
  }
  
  .faq-answer {
    background: #4a5568;
  }
} 