/* ========================================
   RESPONSIVE STYLES - MOBILE FIRST
   ======================================== */

/* Mobile First Base Styles (320px+) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card {
    min-height: 400px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  .container-xl {
    max-width: 1200px;
  }
}

/* Mobile-specific styles for Swiper */
@media (max-width: 767.98px) {
  .swiper {
    overflow: visible;
  }
  
  .swiper-slide {
    margin-bottom: 2rem;
  }
  
  /* Disable autoplay and effects on mobile */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
    transform: none !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide {
    transition: none !important;
  }
  
  .fade-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .bounce-in {
    animation: none !important;
  }
  
  .service-card:hover,
  .feature-item:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  body {
  overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #000000;
    --bg-light: #FFFFFF;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .service-card,
  .feature-item,
  .contact-form {
    border: 2px solid #000000;
  }
} 